Update dts for Orange Pi 5

This commit is contained in:
baiywt 2023-11-09 15:49:41 +08:00
parent 1121651f8c
commit 60066c9a45
2 changed files with 20 additions and 7 deletions

View File

@ -25,10 +25,10 @@
};
};
hdmiin_dc: hdmiin-dc {
/* hdmiin_dc: hdmiin-dc {
compatible = "rockchip,dummy-codec";
#sound-dai-cells = <0>;
};
};*/
es8388_sound: es8388-sound {
status = "okay";
@ -67,7 +67,7 @@
};
};
hdmiin-sound {
/* hdmiin-sound {
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,name = "rockchip,hdmiin";
@ -80,6 +80,18 @@
dailink0_master: simple-audio-card,codec {
sound-dai = <&hdmiin_dc>;
};
};*/
hdmiin-sound {
compatible = "rockchip,hdmi";
rockchip,mclk-fs = <128>;
rockchip,format = "i2s";
rockchip,bitclock-master = <&hdmirx_ctrler>;
rockchip,frame-master = <&hdmirx_ctrler>;
rockchip,card-name = "rockchip,hdmiin";
rockchip,cpu = <&i2s7_8ch>;
rockchip,codec = <&hdmirx_ctrler 0>;
rockchip,jack-det;
};
pcie20_avdd0v85: pcie20-avdd0v85 {
@ -382,6 +394,7 @@
&hdmirx_ctrler {
status = "disabled";
#sound-dai-cells = <1>;
/* Effective level used to trigger HPD: 0-low, 1-high */
hpd-trigger-level = <1>;
hdmirx-det-gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_LOW>;
@ -555,9 +568,9 @@
#sound-dai-cells = <0>;
compatible = "everest,es8388", "everest,es8323";
reg = <0x11>;
clocks = <&cru I2S0_8CH_MCLKOUT>;
clocks = <&mclkout_i2s0>;
clock-names = "mclk";
assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
assigned-clocks = <&mclkout_i2s0>;
assigned-clock-rates = <12288000>;
pinctrl-names = "default";
pinctrl-0 = <&i2s0_mclk>;

View File

@ -161,9 +161,9 @@
#sound-dai-cells = <0>;
compatible = "everest,es8388", "everest,es8323";
reg = <0x10>;
clocks = <&cru I2S1_8CH_MCLKOUT>;
clocks = <&mclkout_i2s1>;
clock-names = "mclk";
assigned-clocks = <&cru I2S1_8CH_MCLKOUT>;
assigned-clocks = <&mclkout_i2s1>;
assigned-clock-rates = <12288000>;
pinctrl-names = "default";
pinctrl-0 = <&i2s1m0_mclk>;