From c69ce8029aea72d1e9d603ddf7762d2aba8cc72e Mon Sep 17 00:00:00 2001 From: Eugen Hristev Date: Mon, 30 Sep 2019 07:28:59 +0000 Subject: [PATCH] ARM: dts: at91: sam9x60ek: add onewire support Add support for onewire memory. Signed-off-by: Eugen Hristev --- arch/arm/dts/sam9x60ek.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/dts/sam9x60ek.dts b/arch/arm/dts/sam9x60ek.dts index 63904272f0..bed59f3da2 100644 --- a/arch/arm/dts/sam9x60ek.dts +++ b/arch/arm/dts/sam9x60ek.dts @@ -17,6 +17,18 @@ stdout-path = &dbgu; }; + onewire_tm: onewire { + gpios = <&pioD 14 0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_onewire_tm_default>; + status = "okay"; + + w1_eeprom: w1_eeprom@0 { + compatible = "maxim,ds24b33"; + status = "okay"; + }; + }; + ahb { apb { qspi: spi@f0014000 { @@ -44,6 +56,11 @@ AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; }; + pinctrl_onewire_tm_default: onewire_tm_default { + atmel,pins = + ; + }; + }; }; }; -- 2.34.1