ARM: dts: sunxi: Add R_LRADC support for A83T
authorZiping Chen <techping.chan@gmail.com>
Wed, 27 Mar 2019 02:33:38 +0000 (03:33 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 9 Apr 2019 07:42:55 +0000 (09:42 +0200)
Allwinner A83T SoC has a low res adc like the one in Allwinner A10 SoC.
Now the driver has been modified to support it.

Add support for it.

Signed-off-by: Ziping Chen <techping.chan@gmail.com>
Signed-off-by: Ondrej Jirman <megous@megous.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun8i-a83t.dtsi

index f739b88efb533fbc933603040f5632330e187756..60859c19270f1eec0a518d42b8c743233b04a156 100644 (file)
                        status = "disabled";
                };
 
+               r_lradc: lradc@1f03c00 {
+                       compatible = "allwinner,sun8i-a83t-r-lradc";
+                       reg = <0x01f03c00 0x100>;
+                       interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
+                       status = "disabled";
+               };
+
                r_pio: pinctrl@1f02c00 {
                        compatible = "allwinner,sun8i-a83t-r-pinctrl";
                        reg = <0x01f02c00 0x400>;