Commit 30d72458 authored by Luca Ceresoli's avatar Luca Ceresoli Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: add the internal audio codec on rk3308



The RK3308 has a built-in audio codec that connects internally to i2s_8ch_2
or i2s_8ch_3.

Signed-off-by: default avatarLuca Ceresoli <luca.ceresoli@bootlin.com>
Link: https://lore.kernel.org/r/20240305-rk3308-audio-codec-v4-7-312acdbe628f@bootlin.com


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent b5ffc424
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -803,6 +803,20 @@ cru: clock-controller@ff500000 {
		assigned-clock-rates = <32768>;
	};

	codec: codec@ff560000 {
		compatible = "rockchip,rk3308-codec";
		reg = <0x0 0xff560000 0x0 0x10000>;
		rockchip,grf = <&grf>;
		clock-names = "mclk_tx", "mclk_rx", "hclk";
		clocks = <&cru SCLK_I2S2_8CH_TX_OUT>,
			 <&cru SCLK_I2S2_8CH_RX_OUT>,
			 <&cru PCLK_ACODEC>;
		reset-names = "codec-reset";
		resets = <&cru SRST_ACODEC_P>;
		#sound-dai-cells = <0>;
		status = "disabled";
	};

	gic: interrupt-controller@ff580000 {
		compatible = "arm,gic-400";
		reg = <0x0 0xff581000 0x0 0x1000>,