arm64: dts: rockchip: rk3528-evb: support es7243 sound

Use es7243e to record sound. This support in evb1 and evb4.

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Iecb118a1b4030c3e2973047455914c81d209625b
This commit is contained in:
Jason Zhu 2023-03-13 17:58:11 +08:00 committed by Tao Huang
parent 221a84e78a
commit 8fcc8f437c
2 changed files with 51 additions and 0 deletions

View File

@ -48,6 +48,21 @@
regulator-max-microvolt = <12000000>;
};
es7243_sound: es7243-sound {
status = "disabled";
compatible = "simple-audio-card";
simple-audio-card,name = "rockchip,es7243";
simple-audio-card,format = "i2s";
simple-audio-card,mclk-fs = <256>;
simple-audio-card,cpu {
sound-dai = <&sai1>;
};
simple-audio-card,codec {
sound-dai = <&es7243e>;
};
};
hdmi_sound: hdmi-sound {
compatible = "rockchip,hdmi";
rockchip,mclk-fs = <128>;
@ -280,6 +295,30 @@
status = "okay";
};
&i2c6 {
status = "disabled";
es7243e: es7243e@10 {
status = "okay";
#sound-dai-cells = <0>;
compatible = "ES7243E_MicArray_0";
reg = <0x10>;
};
es7243e_11: es7243e@11 {
status = "okay";
#sound-dai-cells = <0>;
compatible = "ES7243E_MicArray_1";
reg = <0x11>;
};
es7243e_12: es7243e@12 {
status = "okay";
#sound-dai-cells = <0>;
compatible = "ES7243E_MicArray_2";
reg = <0x12>;
};
};
&iep {
status = "okay";
};

View File

@ -45,6 +45,14 @@
};
&es7243_sound {
status = "okay";
};
&i2c6 {
status = "okay";
};
&gmac1 {
/* Use rgmii-rxid mode to disable rx delay inside Soc */
phy-mode = "rgmii-rxid";
@ -76,6 +84,10 @@
};
};
&sai1 {
status = "okay";
};
&sdio0 {
max-frequency = <200000000>;
no-sd;