From 2b238c6cdbe4be9ddf2dec126e8a09a6c99d5b37 Mon Sep 17 00:00:00 2001 From: Eugen Hristev Date: Tue, 18 Sep 2018 10:35:54 +0300 Subject: [PATCH] ARM: dts: at91: sama5d3_xplained: add onewire connector for LCD eeprom Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d3_xplained.dts | 17 +++++++++++++++++ arch/arm/dts/sama5d3.dtsi | 5 +++++ 2 files changed, 22 insertions(+) diff --git a/arch/arm/dts/at91-sama5d3_xplained.dts b/arch/arm/dts/at91-sama5d3_xplained.dts index 69597102fb..20fba5f067 100644 --- a/arch/arm/dts/at91-sama5d3_xplained.dts +++ b/arch/arm/dts/at91-sama5d3_xplained.dts @@ -36,6 +36,18 @@ }; }; + onewire_tm: onewire { + gpios = <&pioE 23 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_onewire_tm_default>; + status = "okay"; + + w1_eeprom: w1_eeprom@0 { + compatible = "maxim,ds24b33"; + status = "okay"; + }; + }; + ahb { apb { mmc0: mmc@f0000000 { @@ -243,6 +255,11 @@ atmel,pins = ; /* PE9, conflicts with A9 */ }; + + pinctrl_onewire_tm_default: onewire_tm_default { + atmel,pins = + ; + }; }; }; }; diff --git a/arch/arm/dts/sama5d3.dtsi b/arch/arm/dts/sama5d3.dtsi index ba707b0ddf..7db66c5d50 100644 --- a/arch/arm/dts/sama5d3.dtsi +++ b/arch/arm/dts/sama5d3.dtsi @@ -1534,4 +1534,9 @@ }; }; }; + + onewire_tm: onewire { + compatible = "w1-gpio"; + status = "disabled"; + }; }; -- 2.25.1