]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: at91: sama5d27_som1_ek: add onewire connector for LCD eeprom
authorEugen Hristev <eugen.hristev@microchip.com>
Tue, 18 Sep 2018 07:35:55 +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-sama5d27_som1_ek.dts

index 5e62d4af714f7a8d6ef725dc2c2b53e5ea29284d..4cd6db66fe543f2856a9b47491f053d8ae3d2afc 100644 (file)
                stdout-path = &uart1;
        };
 
+       onewire_tm: onewire {
+               gpios = <&pioA 17 0>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_onewire_tm_default>;
+               status = "okay";
+
+               w1_eeprom: w1_eeprom@0 {
+                       compatible = "maxim,ds24b33";
+                       status = "okay";
+               };
+       };
+
        ahb {
                usb1: ohci@00400000 {
                        num-ports = <3>;
                                                pinmux = <PIN_PA31__GPIO>;
                                                bias-disable;
                                        };
+
+                                       pinctrl_onewire_tm_default: onewire_tm_default {
+                                               pinmux = <PIN_PA17__GPIO>;
+                                               bias-pull-up;
+                                       };
                                };
                        };
                };