/dts-v1/; /plugin/; / { compatible = "ti,beaglebone", "ti,beaglebone-black"; /* identification */ part-number = "DD-TEMP"; version = "00A0"; /* state the resources this cape uses */ exclusive-use = /* the pin header uses */ "P8.11", /* GPIO_45 */ /* the hardware ip uses */ "gpio1_13"; /* note: counting starts at 0 */ fragment@0 { target = <&am33xx_pinmux>; __overlay__ { temp_w1_pins: pinmux_temp_w1_pins { pinctrl-single,pins = < 0x34 0x37 /* gpmc_ad13.gpio1_13, OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE7 */ >; }; }; }; fragment@1 { target = <&ocp>; __overlay__ { onewire@0 { status = "okay"; compatible = "w1-gpio"; pinctrl-names = "default"; pinctrl-0 = <&temp_w1_pins>; gpios = <&gpio2 13 0>; /* note: counting starts at 1 */ }; }; }; };