aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-04-17 14:46:44 +0200
committerOlof Johansson <olof@lixom.net>2017-04-19 07:08:22 -0700
commit28a59b6166d39a527fe6b4cbfec8db3a47801f6e (patch)
treec63abd74c2ff28bf1d9e0616a0320f1fb0854f3a
parentarm: spear6xx: remove unneeded pinctrl properties in spear600-evb (diff)
downloadlinux-dev-28a59b6166d39a527fe6b4cbfec8db3a47801f6e.tar.xz
linux-dev-28a59b6166d39a527fe6b4cbfec8db3a47801f6e.zip
arm: spear6xx: add DT description of the ADC on SPEAr600
The SPEAr600 has a built-in ADC, which already has a Device Tree binding described in Documentation/devicetree/bindings/staging/iio/adc/spear-adc.txt. This commit adds the description in the SPEAr600 Device Tree of this ADC device. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r--arch/arm/boot/dts/spear600.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/spear600.dtsi b/arch/arm/boot/dts/spear600.dtsi
index 8459286def26..6b32d20acc9f 100644
--- a/arch/arm/boot/dts/spear600.dtsi
+++ b/arch/arm/boot/dts/spear600.dtsi
@@ -204,6 +204,14 @@
interrupt-parent = <&vic0>;
interrupts = <16>;
};
+
+ adc: adc@d820b000 {
+ compatible = "st,spear600-adc";
+ reg = <0xd820b000 0x1000>;
+ interrupt-parent = <&vic1>;
+ interrupts = <6>;
+ status = "disabled";
+ };
};
};
};