Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /dts-v1/;
- /plugin/;
- / {
- compatible = "ti,beaglebone", "ti,beaglebone-black";
- part-number = "BB-W1";
- version = "00A0";
- exclusive-use = "P9.15";
- fragment@0 {
- target = <&am33xx_pinmux>;
- __overlay__ {
- bb_w1_pins: pinmux_bb_w1_pins {
- pinctrl-single,pins = <
- 0x040 0x37 /*pin P9_15 input with pullup mode 7 - w1-gpio */
- >;
- };
- };
- };
- fragment@1 {
- target = <&ocp>;
- __overlay__ {
- onewire@0 {
- status = "okay";
- compatible = "w1-gpio";
- pinctrl-names = "default";
- pinctrl-0 = <&bb_w1_pins>;
- gpios = <&gpio1 16 0>; /*grrr I think this means gpio1_16 (using 1 to 4 instread of 0-3)*/
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment