summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/lpc18xx.dtsi
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2016-02-28 20:20:54 +0100
committerJoachim Eastwood <manabian@gmail.com>2016-03-29 21:55:59 +0200
commite162f9c2c65f8178420abb70ebbfc19ea0c51b52 (patch)
tree5f919f39aacc22707d6b2d19357091983f2df810 /arch/arm/boot/dts/lpc18xx.dtsi
parent246fee6cb7a1d2a283e1e16e77e783300574d0b5 (diff)
downloadlinux-e162f9c2c65f8178420abb70ebbfc19ea0c51b52.tar.bz2
ARM: dts: lpc18xx: add adc nodes
Add nodes for the two 10-bit ADCs found on all lpc18xx SoCs. Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/lpc18xx.dtsi')
-rw-r--r--arch/arm/boot/dts/lpc18xx.dtsi18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi
index e27029425d18..88d27ae32dfb 100644
--- a/arch/arm/boot/dts/lpc18xx.dtsi
+++ b/arch/arm/boot/dts/lpc18xx.dtsi
@@ -453,6 +453,24 @@
status = "disabled";
};
+ adc0: adc@400e3000 {
+ compatible = "nxp,lpc1850-adc";
+ reg = <0x400e3000 0x1000>;
+ interrupts = <17>;
+ clocks = <&ccu1 CLK_APB3_ADC0>;
+ resets = <&rgu 40>;
+ status = "disabled";
+ };
+
+ adc1: adc@400e4000 {
+ compatible = "nxp,lpc1850-adc";
+ reg = <0x400e4000 0x1000>;
+ interrupts = <21>;
+ clocks = <&ccu1 CLK_APB3_ADC1>;
+ resets = <&rgu 41>;
+ status = "disabled";
+ };
+
gpio: gpio@400f4000 {
compatible = "nxp,lpc1850-gpio";
reg = <0x400f4000 0x4000>;