Advertisement
Guest User

Untitled

a guest
Feb 19th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. /dts-v1/;
  2. /plugin/;
  3.  
  4. / {
  5. compatible = "brcm,bcm2708", "brcm,bcm2709";
  6.  
  7. fragment@0 {
  8. target = <&gpio>;
  9. __overlay__ {
  10. pinctrl-names = "default";
  11. pinctrl-0 = <&my_pins>;
  12.  
  13. my_pins: my_pins {
  14. brcm,pins = <40>; /* GPIO7 */
  15. brcm,function = <1>; /* Output */
  16. brcm,pull =<2>; /* pullup */
  17. };
  18. };
  19. };
  20. };
  21. 20 1,1 All
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement