ARM: dts: at91: sama5d2_ptc: add onewire connector for LCD eeprom
authorEugen Hristev <eugen.hristev@microchip.com>
Tue, 18 Sep 2018 07:35:56 +0000 (10:35 +0300)
committerTom Rini <trini@konsulko.com>
Sat, 29 Sep 2018 00:22:43 +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-sama5d2_ptc_ek.dts

index ab5ab21895d3670674e4650ad379f987f92f0f10..068a117585f4bb5dce208cb7b924504ecd810063 100644 (file)
                stdout-path = &uart0;
        };
 
+       onewire_tm: onewire {
+               gpios = <&pioA PIN_PB31 0>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_onewire_tm_default>;
+               status = "okay";
+
+               w1_eeprom: w1_eeprom@0 {
+                       compatible = "maxim,ds24b33";
+                       status = "okay";
+               };
+       };
+
        ahb {
                usb0: gadget@00300000 {
                        atmel,vbus-gpio = <&pioA PIN_PA27 GPIO_ACTIVE_HIGH>;
                                                pinmux = <PIN_PB11__GPIO>;
                                                bias-disable;
                                        };
+
+                                       pinctrl_onewire_tm_default: onewire_tm_default {
+                                               pinmux = <PIN_PB31__GPIO>;
+                                               bias-pull-up;
+                                       };
                                };
                        };
                };