arm64: dts: rockchip: add saradc node for rk3568
authorSimon Xue <xxm@rock-chips.com>
Mon, 5 Jul 2021 01:26:10 +0000 (09:26 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 15 Sep 2021 15:50:18 +0000 (17:50 +0200)
Add the core dt-node for the rk3568's saradc.

Signed-off-by: Simon Xue <xxm@rock-chips.com>
Link: https://lore.kernel.org/r/20210705012610.3831-1-xxm@rock-chips.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3568.dtsi

index 6188491..1182590 100644 (file)
                status = "disabled";
        };
 
+       saradc: saradc@fe720000 {
+               compatible = "rockchip,rk3568-saradc", "rockchip,rk3399-saradc";
+               reg = <0x0 0xfe720000 0x0 0x100>;
+               interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&cru CLK_SARADC>, <&cru PCLK_SARADC>;
+               clock-names = "saradc", "apb_pclk";
+               resets = <&cru SRST_P_SARADC>;
+               reset-names = "saradc-apb";
+               #io-channel-cells = <1>;
+               status = "disabled";
+       };
+
        pinctrl: pinctrl {
                compatible = "rockchip,rk3568-pinctrl";
                rockchip,grf = <&grf>;