ARM: dts: at91: sama5d4_xplained: add onewire connector for LCD eeprom
authorEugen Hristev <eugen.hristev@microchip.com>
Tue, 18 Sep 2018 07:35:57 +0000 (10:35 +0300)
committerTom Rini <trini@konsulko.com>
Sat, 29 Sep 2018 00:22:44 +0000 (20:22 -0400)
Add onewire node in device tree for TM series LCDs

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
arch/arm/dts/at91-sama5d4_xplained.dts
arch/arm/dts/sama5d4.dtsi

index ea35dc21b6fe61e692302de7465b84c525d2ff35..58a0e60d184dd67edd884c7e03852e9559af4a65 100644 (file)
                stdout-path = &usart3;
        };
 
+       onewire_tm: onewire {
+               gpios = <&pioE 15 GPIO_ACTIVE_LOW>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_onewire_tm_default>;
+               status = "okay";
+
+               w1_eeprom: w1_eeprom@0 {
+                       compatible = "maxim,ds24b33";
+                       status = "okay";
+               };
+       };
+
        memory {
                reg = <0x20000000 0x20000000>;
        };
                                                atmel,pins =
                                                        <AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
                                        };
+                                       pinctrl_onewire_tm_default: onewire_tm_default {
+                                               atmel,pins =
+                                                       <AT91_PIOE 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
+                                       };
                                };
                        };
                };
index 8072b8a4f23a037169abc32803eb178d9df65815..8875d7ba769149c0bf966679365d631c00a67b8f 100644 (file)
                        };
                };
        };
+
+       onewire_tm: onewire {
+               compatible = "w1-gpio";
+               status = "disabled";
+       };
 };