mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
arm64: dts: rk3308-evb-v11: add tas5731 sound
Change-Id: Iaae192f89119875885e2bf649365ad8bac0972e8 Signed-off-by: Xiaotan Luo <lxt@rock-chips.com>
This commit is contained in:
@@ -132,6 +132,20 @@
|
||||
};
|
||||
};
|
||||
|
||||
tas5731_sound: tas5731-sound {
|
||||
status = "disabled";
|
||||
compatible = "simple-audio-card";
|
||||
simple-audio-card,format = "i2s";
|
||||
simple-audio-card,name = "rockchip,tas5731";
|
||||
simple-audio-card,mclk-fs = <256>;
|
||||
simple-audio-card,cpu {
|
||||
sound-dai = <&i2s_8ch_1>;
|
||||
};
|
||||
simple-audio-card,codec {
|
||||
sound-dai = <&tas5731>;
|
||||
};
|
||||
};
|
||||
|
||||
vdd_core: vdd-core {
|
||||
compatible = "pwm-regulator";
|
||||
pwms = <&pwm0 0 5000 1>;
|
||||
@@ -335,6 +349,18 @@
|
||||
clock-frequency = <400000>;
|
||||
status = "okay";
|
||||
|
||||
tas5731: tas5731@1a {
|
||||
#sound-dai-cells = <0>;
|
||||
compatible = "ti,tas5731";
|
||||
reg = <0x1a>;
|
||||
clocks = <&cru SCLK_I2S1_8CH_TX_OUT>;
|
||||
clock-names = "mclk";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2s_8ch_1_m0_mclk>;
|
||||
pdn-gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
|
||||
reset-gpios = <&gpio1 RK_PA1 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
is31fl3236: led-controller@3c {
|
||||
compatible = "issi,is31fl3236";
|
||||
reg = <0x3c>;
|
||||
@@ -669,6 +695,16 @@
|
||||
};
|
||||
};
|
||||
|
||||
&i2s_8ch_1 {
|
||||
status = "disabled";
|
||||
#sound-dai-cells = <0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2s_8ch_1_m0_sclktx
|
||||
&i2s_8ch_1_m0_lrcktx
|
||||
&i2s_8ch_1_m0_sdo0
|
||||
&i2s_8ch_1_m0_mclk>;
|
||||
};
|
||||
|
||||
&i2s_8ch_2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user