ARM: dts: rockchip: rv1103-evb-v10: add support acodec sound

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: I8b3b31b96120c14c5757c9123bcec76dd6be8fbf
This commit is contained in:
Xing Zheng
2022-04-01 20:38:18 +08:00
committed by Tao Huang
parent 8742dacb51
commit 2cf5810f2f

View File

@@ -9,6 +9,25 @@
chosen {
bootargs = "earlycon=uart8250,mmio32,0xff4c0000 console=ttyFIQ0 root=/dev/mmcblk0p5 rootfstype=ext4 rootwait snd_soc_core.prealloc_buffer_size_kbytes=16";
};
acodec_sound: acodec-sound {
compatible = "simple-audio-card";
simple-audio-card,name = "rv1103-acodec";
simple-audio-card,format = "i2s";
simple-audio-card,mclk-fs = <256>;
simple-audio-card,cpu {
sound-dai = <&i2s0_8ch>;
};
simple-audio-card,codec {
sound-dai = <&acodec>;
};
};
};
&acodec {
#sound-dai-cells = <0>;
pa-ctl-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
status = "okay";
};
&emmc {
@@ -28,3 +47,8 @@
pinctrl-names = "default";
pinctrl-0 = <&i2c4m2_xfer>;
};
&i2s0_8ch {
#sound-dai-cells = <0>;
status = "okay";
};