Commit 8128c4f3 authored by Xiubo Li's avatar Xiubo Li Committed by Shawn Guo

ARM: dts: vf610-twr: Add simple-card support.

This patch adds and enables simple-card support in DT node.
Signed-off-by: default avatarXiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent c5d571e7
...@@ -48,6 +48,35 @@ reg_3p3v: regulator@0 { ...@@ -48,6 +48,35 @@ reg_3p3v: regulator@0 {
regulator-always-on; regulator-always-on;
}; };
}; };
sound {
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,widgets =
"Microphone", "Microphone Jack",
"Headphone", "Headphone Jack",
"Speaker", "Speaker Ext",
"Line", "Line In Jack";
simple-audio-card,routing =
"MIC_IN", "Microphone Jack",
"Microphone Jack", "Mic Bias",
"LINE_IN", "Line In Jack",
"Headphone Jack", "HP_OUT",
"Speaker Ext", "LINE_OUT";
simple-audio-card,cpu {
sound-dai = <&sai2>;
master-clkdir-out;
frame-master;
bitclock-master;
};
simple-audio-card,codec {
sound-dai = <&codec>;
frame-master;
bitclock-master;
};
};
}; };
&dspi0 { &dspi0 {
...@@ -88,6 +117,7 @@ &i2c0 { ...@@ -88,6 +117,7 @@ &i2c0 {
status = "okay"; status = "okay";
codec: sgtl5000@0a { codec: sgtl5000@0a {
#sound-dai-cells = <0>;
compatible = "fsl,sgtl5000"; compatible = "fsl,sgtl5000";
reg = <0x0a>; reg = <0x0a>;
VDDA-supply = <&reg_3p3v>; VDDA-supply = <&reg_3p3v>;
...@@ -165,6 +195,7 @@ VF610_PAD_PTB5__UART1_RX 0x21a1 ...@@ -165,6 +195,7 @@ VF610_PAD_PTB5__UART1_RX 0x21a1
}; };
&sai2 { &sai2 {
#sound-dai-cells = <0>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sai2>; pinctrl-0 = <&pinctrl_sai2>;
status = "okay"; status = "okay";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment