summaryrefslogtreecommitdiff
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorEugen Hristev <eugen.hristev@microchip.com>2019-09-30 07:28:59 +0000
committerEugen Hristev <eugen.hristev@microchip.com>2019-10-08 09:16:11 +0300
commitc69ce8029aea72d1e9d603ddf7762d2aba8cc72e (patch)
tree68bf78962cda0c9eaaa4df0f6851f1ebd230d32c /arch/arm/dts
parent223cab5efb72f5ca01cf808aed7ef7e203c85fa2 (diff)
ARM: dts: at91: sam9x60ek: add onewire support
Add support for onewire memory. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/sam9x60ek.dts17
1 files changed, 17 insertions, 0 deletions
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 =
+ <AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
+ };
+
};
};
};