diff options
author | Durai Manickam KR | 2022-07-07 16:40:56 +0530 |
---|---|---|
committer | Eugen Hristev | 2022-09-19 09:50:17 +0300 |
commit | 353467220079932d8e62e9e2d462e382b83a4598 (patch) | |
tree | 9cd5144bf7638a3e04efc38f29efd1cec85acfea | |
parent | af64b436b15120da177b2c42c6860d3b361f065a (diff) |
ARM: dts: at91: sam9x60_curiosity: add onewire support
Add support for onewire memory.
Signed-off-by: Durai Manickam KR <durai.manickamkr@microchip.com>
-rw-r--r-- | arch/arm/dts/at91-sam9x60_curiosity.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/dts/at91-sam9x60_curiosity.dts b/arch/arm/dts/at91-sam9x60_curiosity.dts index 2e7ccb0ffb8..7c5b6ae2b87 100644 --- a/arch/arm/dts/at91-sam9x60_curiosity.dts +++ b/arch/arm/dts/at91-sam9x60_curiosity.dts @@ -44,6 +44,11 @@ <AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE AT91_PIOA 1 AT91_PERIPH_A AT91_PINCTRL_NONE>; }; + + pinctrl_onewire_tm_default: onewire_tm_default { + atmel,pins = + <AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; + }; }; }; }; @@ -66,6 +71,18 @@ memory { reg = <0x20000000 0x8000000>; }; + + onewire_tm: onewire { + gpios = <&pioD 14 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_onewire_tm_default>; + status = "okay"; + + w1_eeprom: w1_eeprom@0 { + compatible = "maxim,ds24b33"; + status = "okay"; + }; + }; }; &macb0 { |