Guest User

Untitled

a guest
Jul 7th, 2014
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. /dts-v1/;
  2. /plugin/;
  3.  
  4. / {
  5. compatible = "ti,beaglebone", "ti,beaglebone-black";
  6. part-number = "BB-W1";
  7. version = "00A0";
  8.  
  9. exclusive-use = "P9.15";
  10. fragment@0 {
  11. target = <&am33xx_pinmux>;
  12. __overlay__ {
  13. bb_w1_pins: pinmux_bb_w1_pins {
  14. pinctrl-single,pins = <
  15. 0x040 0x37 /*pin P9_15 input with pullup mode 7 - w1-gpio */
  16. >;
  17. };
  18. };
  19. };
  20.  
  21. fragment@1 {
  22. target = <&ocp>;
  23. __overlay__ {
  24. onewire@0 {
  25. status = "okay";
  26. compatible = "w1-gpio";
  27. pinctrl-names = "default";
  28. pinctrl-0 = <&bb_w1_pins>;
  29.  
  30. gpios = <&gpio1 16 0>; /*grrr I think this means gpio1_16 (using 1 to 4 instread of 0-3)*/
  31. };
  32. };
  33. };
  34. };
Advertisement
Add Comment
Please, Sign In to add comment