From: Eugen Hristev Date: Tue, 18 Sep 2018 07:35:57 +0000 (+0300) Subject: ARM: dts: at91: sama5d4_xplained: add onewire connector for LCD eeprom X-Git-Tag: v2018.11-rc1~41 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=57fb8b4654a1ca81af38085de411af7a09be911a;p=oweals%2Fu-boot.git ARM: dts: at91: sama5d4_xplained: add onewire connector for LCD eeprom Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- diff --git a/arch/arm/dts/at91-sama5d4_xplained.dts b/arch/arm/dts/at91-sama5d4_xplained.dts index ea35dc21b6..58a0e60d18 100644 --- a/arch/arm/dts/at91-sama5d4_xplained.dts +++ b/arch/arm/dts/at91-sama5d4_xplained.dts @@ -58,6 +58,18 @@ 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>; }; @@ -199,6 +211,10 @@ atmel,pins = ; }; + pinctrl_onewire_tm_default: onewire_tm_default { + atmel,pins = + ; + }; }; }; }; diff --git a/arch/arm/dts/sama5d4.dtsi b/arch/arm/dts/sama5d4.dtsi index 8072b8a4f2..8875d7ba76 100644 --- a/arch/arm/dts/sama5d4.dtsi +++ b/arch/arm/dts/sama5d4.dtsi @@ -1913,4 +1913,9 @@ }; }; }; + + onewire_tm: onewire { + compatible = "w1-gpio"; + status = "disabled"; + }; };