ARM: dts: lpc18xx: add adc nodes
authorJoachim Eastwood <manabian@gmail.com>
Sun, 28 Feb 2016 19:20:54 +0000 (20:20 +0100)
committerJoachim Eastwood <manabian@gmail.com>
Tue, 29 Mar 2016 19:55:59 +0000 (21:55 +0200)
Add nodes for the two 10-bit ADCs found on all lpc18xx SoCs.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
arch/arm/boot/dts/lpc18xx.dtsi

index e27029425d18d9e810a9a87872ae0c854919cb4e..88d27ae32dfb8a0dca97f381bae43e1c0e645b49 100644 (file)
                        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>;