Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e6ff96f authored by Andy Yan's avatar Andy Yan Committed by Heiko Stuebner
Browse files

ARM: dts: rockchip: add saradc support for rv1108



Add saradc device tree node for rv1108 soc

Signed-off-by: default avatarAndy Yan <andy.yan@rock-chips.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 5584b967
Loading
Loading
Loading
Loading
+11 −0
Original line number Original line Diff line number Diff line
@@ -214,6 +214,17 @@
		status = "disabled";
		status = "disabled";
	};
	};


	adc: adc@1038c000 {
		compatible = "rockchip,rv1108-saradc", "rockchip,rk3399-saradc";
		reg = <0x1038c000 0x100>;
		interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
		#io-channel-cells = <1>;
		clock-frequency = <1000000>;
		clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
		clock-names = "saradc", "apb_pclk";
		status = "disabled";
	};

	i2c0: i2c@20000000 {
	i2c0: i2c@20000000 {
		compatible = "rockchip,rv1108-i2c";
		compatible = "rockchip,rv1108-i2c";
		reg = <0x20000000 0x1000>;
		reg = <0x20000000 0x1000>;