summaryrefslogtreecommitdiff
path: root/arch/arm/dts/sam9x60.dtsi
diff options
context:
space:
mode:
authorEugen Hristev <eugen.hristev@microchip.com>2019-09-30 07:28:58 +0000
committerEugen Hristev <eugen.hristev@microchip.com>2019-10-08 09:16:11 +0300
commit223cab5efb72f5ca01cf808aed7ef7e203c85fa2 (patch)
tree342897a722d09d7ab0c61960846c222bf40a3ab6 /arch/arm/dts/sam9x60.dtsi
parenteadb0db982f172cc719f06e2b43fbf67df0cf012 (diff)
ARM: dts: at91: sam9x60: add onewire node
Add onewire node for w1 support. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Diffstat (limited to 'arch/arm/dts/sam9x60.dtsi')
-rw-r--r--arch/arm/dts/sam9x60.dtsi19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi
index 9c16ba1e6a..e01539e5ce 100644
--- a/arch/arm/dts/sam9x60.dtsi
+++ b/arch/arm/dts/sam9x60.dtsi
@@ -22,6 +22,7 @@
serial0 = &dbgu;
gpio0 = &pioA;
gpio1 = &pioB;
+ gpio3 = &pioD;
spi0 = &qspi;
};
@@ -155,6 +156,14 @@
clocks = <&pioB_clk>;
};
+ pioD: gpio@fffffa00 {
+ compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
+ reg = <0xfffffa00 0x200>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ clocks = <&pioD_clk>;
+ };
+
pmc: pmc@fffffc00 {
compatible = "atmel,at91sam9x5-pmc";
reg = <0xfffffc00 0x200>;
@@ -212,6 +221,11 @@
reg = <3>;
};
+ pioD_clk: pioD_clk {
+ #clock-cells = <0>;
+ reg = <44>;
+ };
+
sdhci0_clk: sdhci0_clk {
#clock-cells = <0>;
reg = <12>;
@@ -282,4 +296,9 @@
};
};
};
+
+ onewire_tm: onewire {
+ compatible = "w1-gpio";
+ status = "disabled";
+ };
};