Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@alarm ~]# cat nocape-dual-w1-00A0.dts
- /*
- * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
- /dts-v1/;
- /plugin/;
- / {
- compatible = "ti,beaglebone", "ti,beaglebone-black";
- part-number = "BB-BONE-2W1";
- version = "00A0";
- fragment@0 {
- target = <&am33xx_pinmux>;
- __overlay__ {
- nocape_w1_0_pins: pinmux_nocape_w1_0_pins {
- pinctrl-single,pins = <
- 0x34 0x37 /* gpmc_ad13.gpio1_13, OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE7 - w1-gpio */
- >;
- };
- nocape_w1_1_pins: pinmux_nocape_w1_1_pins {
- pinctrl-single,pins = <
- 0x30 0x37 /* gpmc_ad13.gpio1_12, OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE7 - w1-gpio */
- >;
- };
- };
- };
- fragment@1 {
- target = <&ocp>;
- __overlay__ {
- onewire@0 {
- compatible = "w1-gpio";
- pinctrl-names = "default";
- pinctrl-0 = <&nocape_w1_0_pins>;
- status = "okay";
- gpios = <&gpio2 13 0>;
- };
- onewire@1 {
- compatible = "w1-gpio";
- pinctrl-names = "default";
- pinctrl-0 = <&nocape_w1_1_pins>;
- status = "okay";
- gpios = <&gpio2 12 0>;
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement