arm64: dts: rockchip: add the saradc for rk3399
authorCaesar Wang <wxt@rock-chips.com>
Wed, 27 Jul 2016 14:24:05 +0000 (22:24 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 24 Aug 2016 09:29:07 +0000 (11:29 +0200)
This patch adds saradc needed information on rk3399 SoCs.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index 62d4509..bc86e8c 100644 (file)
                };
        };
 
+       saradc: saradc@ff100000 {
+               compatible = "rockchip,rk3399-saradc";
+               reg = <0x0 0xff100000 0x0 0x100>;
+               interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
+               #io-channel-cells = <1>;
+               clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
+               clock-names = "saradc", "apb_pclk";
+               resets = <&cru SRST_P_SARADC>;
+               reset-names = "saradc-apb";
+               status = "disabled";
+       };
+
        i2c1: i2c@ff110000 {
                compatible = "rockchip,rk3399-i2c";
                reg = <0x0 0xff110000 0x0 0x1000>;