ARM: dts: rockchip: rk3229-evb: add internal sound card

Change-Id: I60fe52867a60548dbe2d476b2fc161fc13ec8fc1
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
This commit is contained in:
Sugar Zhang 2018-02-06 14:31:36 +08:00 committed by Tao Huang
parent 4d4dfc7e3c
commit 245adad7ad

View File

@ -84,6 +84,19 @@ power_key: power-key {
};
};
sound {
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,mclk-fs = <256>;
simple-audio-card,name = "rockchip,rk3229";
simple-audio-card,cpu {
sound-dai = <&i2s1>;
};
simple-audio-card,codec {
sound-dai = <&codec>;
};
};
hdmi_sound: hdmi-sound {
status = "okay";
compatible = "simple-audio-card";
@ -266,6 +279,16 @@ &i2s0 {
#sound-dai-cells = <0>;
};
&i2s1 {
#sound-dai-cells = <0>;
status = "okay";
};
&codec {
#sound-dai-cells = <0>;
status = "okay";
};
&pinctrl {
keys {
pwr_key: pwr-key {