Advertisement
Guest User

Untitled

a guest
Apr 19th, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. /dts-v1/;
  2. /plugin/;
  3.  
  4. / {
  5.  
  6. fragment@0 {
  7. target = <&gpio>;
  8. __overlay__ {
  9. pistomachine_pins: pistomachine_pins {
  10. brcm,pins = <2 3 4 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27>;
  11. brcm,function = <0>; /* in */
  12. brcm,pull = <1>; /* up */
  13. };
  14. };
  15. };
  16.  
  17. fragment@1 {
  18. target-path = "/soc";
  19. __overlay__ {
  20. pistomachine: pistomachine {
  21. compatible = "gpio-keys";
  22. #address-cells = <1>;
  23. #size-cells = <0>;
  24. pinctrl-names = "default";
  25. pinctrl-0 = <&pistomachine_pins>;
  26. status = "okay";
  27. autorepeat;
  28. };
  29. };
  30. };
  31.  
  32. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement