Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2013
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. /dts-v1/;
  2. /plugin/;
  3.  
  4. / {
  5. compatible = "ti,beaglebone", "ti,beaglebone-black";
  6.  
  7. part-number = "BB-W1";
  8. version = "00A0";
  9.  
  10. /* state the resources this cape uses */
  11. exclusive-use =
  12. /* the pin header uses */
  13. "P9.22",
  14. /* the hardware IP uses */
  15. "gpio0_2";
  16.  
  17. fragment@0 {
  18. target = <&am33xx_pinmux>;
  19. __overlay__ {
  20. dallas_w1_pins: pinmux_dallas_w1_pins {
  21. pinctrl-single,pins = < 0x150 0x37 >;
  22. };
  23. };
  24. };
  25.  
  26. fragment@1 {
  27. target = <&ocp>;
  28. __overlay__ {
  29. onewire@0 {
  30. compatible = "w1-gpio";
  31. pinctrl-names = "default";
  32. pinctrl-0 = <&dallas_w1_pins>;
  33. status = "okay";
  34.  
  35. gpios = <&gpio1 2 0>;
  36. };
  37. };
  38. };
  39. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement