diff options
author | Luca Ceresoli <luca.ceresoli@bootlin.com> | 2024-03-05 15:36:34 +0100 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2024-03-26 17:50:56 +0100 |
commit | 30d72458624bb1ba7bab1c7a1d5f4c42f512010c (patch) | |
tree | efc3b7f3ecef7572530c17bfdd3fc21c21f23c92 /arch/arm64/boot/dts/rockchip/rk3308.dtsi | |
parent | b5ffc424360eaced41f405f0e38bcabe61fecf39 (diff) | |
download | linux-stable-30d72458624bb1ba7bab1c7a1d5f4c42f512010c.tar.gz linux-stable-30d72458624bb1ba7bab1c7a1d5f4c42f512010c.tar.bz2 linux-stable-30d72458624bb1ba7bab1c7a1d5f4c42f512010c.zip |
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: Luca Ceresoli <luca.ceresoli@bootlin.com>
Link: https://lore.kernel.org/r/20240305-rk3308-audio-codec-v4-7-312acdbe628f@bootlin.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3308.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3308.dtsi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3308.dtsi b/arch/arm64/boot/dts/rockchip/rk3308.dtsi index 662c55fe9b77..962ea893999b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3308.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3308.dtsi @@ -803,6 +803,20 @@ 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>, |