summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/spear600.dtsi
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-04-17 15:46:44 +0300
committerOlof Johansson <olof@lixom.net>2017-04-19 17:08:22 +0300
commit28a59b6166d39a527fe6b4cbfec8db3a47801f6e (patch)
treec63abd74c2ff28bf1d9e0616a0320f1fb0854f3a /arch/arm/boot/dts/spear600.dtsi
parent8590b4e0180bc33461805a8cd80d4d0564fa38e3 (diff)
downloadlinux-28a59b6166d39a527fe6b4cbfec8db3a47801f6e.tar.xz
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>
Diffstat (limited to 'arch/arm/boot/dts/spear600.dtsi')
-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";
+ };
};
};
};