aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugen Hristev2018-09-18 10:35:55 +0300
committerTom Rini2018-09-28 20:22:43 -0400
commitd65687537207b2bbec1fccfa79ebaa5a240867bd (patch)
tree0be83029430ed1fa1e90d704b216ab8687026855
parent2b238c6cdbe4be9ddf2dec126e8a09a6c99d5b37 (diff)
ARM: dts: at91: sama5d27_som1_ek: add onewire connector for LCD eeprom
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
-rw-r--r--arch/arm/dts/at91-sama5d27_som1_ek.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/dts/at91-sama5d27_som1_ek.dts b/arch/arm/dts/at91-sama5d27_som1_ek.dts
index 5e62d4af714..4cd6db66fe5 100644
--- a/arch/arm/dts/at91-sama5d27_som1_ek.dts
+++ b/arch/arm/dts/at91-sama5d27_som1_ek.dts
@@ -54,6 +54,18 @@
stdout-path = &uart1;
};
+ onewire_tm: onewire {
+ gpios = <&pioA 17 0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_onewire_tm_default>;
+ status = "okay";
+
+ w1_eeprom: w1_eeprom@0 {
+ compatible = "maxim,ds24b33";
+ status = "okay";
+ };
+ };
+
ahb {
usb1: ohci@00400000 {
num-ports = <3>;
@@ -208,6 +220,11 @@
pinmux = <PIN_PA31__GPIO>;
bias-disable;
};
+
+ pinctrl_onewire_tm_default: onewire_tm_default {
+ pinmux = <PIN_PA17__GPIO>;
+ bias-pull-up;
+ };
};
};
};