diff options
author | Joachim Eastwood <manabian@gmail.com> | 2016-02-28 20:20:54 +0100 |
---|---|---|
committer | Joachim Eastwood <manabian@gmail.com> | 2016-03-29 21:55:59 +0200 |
commit | e162f9c2c65f8178420abb70ebbfc19ea0c51b52 (patch) | |
tree | 5f919f39aacc22707d6b2d19357091983f2df810 | |
parent | ARM: dts: lpc18xx: add rtc node (diff) | |
download | linux-e162f9c2c65f8178420abb70ebbfc19ea0c51b52.tar.xz linux-e162f9c2c65f8178420abb70ebbfc19ea0c51b52.zip |
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>
-rw-r--r-- | arch/arm/boot/dts/lpc18xx.dtsi | 18 |
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>; |