diff options
-rw-r--r-- | arch/arm/boot/dts/at91sam9x5cm.dtsi | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9x5cm.dtsi b/arch/arm/boot/dts/at91sam9x5cm.dtsi index 4027ac7e4502..347a74a857f6 100644 --- a/arch/arm/boot/dts/at91sam9x5cm.dtsi +++ b/arch/arm/boot/dts/at91sam9x5cm.dtsi | |||
@@ -24,6 +24,16 @@ | |||
24 | }; | 24 | }; |
25 | 25 | ||
26 | ahb { | 26 | ahb { |
27 | apb { | ||
28 | pinctrl@fffff400 { | ||
29 | 1wire_cm { | ||
30 | pinctrl_1wire_cm: 1wire_cm-0 { | ||
31 | atmel,pins = <1 18 0x0 0x2>; /* PB18 multidrive, conflicts with led */ | ||
32 | }; | ||
33 | }; | ||
34 | }; | ||
35 | }; | ||
36 | |||
27 | nand0: nand@40000000 { | 37 | nand0: nand@40000000 { |
28 | nand-bus-width = <8>; | 38 | nand-bus-width = <8>; |
29 | nand-ecc-mode = "hw"; | 39 | nand-ecc-mode = "hw"; |
@@ -74,4 +84,14 @@ | |||
74 | gpios = <&pioD 21 0>; | 84 | gpios = <&pioD 21 0>; |
75 | }; | 85 | }; |
76 | }; | 86 | }; |
87 | |||
88 | 1wire_cm { | ||
89 | compatible = "w1-gpio"; | ||
90 | gpios = <&pioB 18 0>; | ||
91 | linux,open-drain; | ||
92 | pinctrl-names = "default"; | ||
93 | pinctrl-0 = <&pinctrl_1wire_cm>; | ||
94 | status = "okay"; | ||
95 | }; | ||
96 | |||
77 | }; | 97 | }; |