summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx51-babbage.dts
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-05-11 13:08:46 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-05-11 17:21:23 +0800
commita15d9f8986a3984255f8ea75e8e03cc771855e7e (patch)
treeb3341fb51c7c04ae118846f492ad9a28bb2ef985 /arch/arm/boot/dts/imx51-babbage.dts
parent394025ef422bc4a6c4e5040abb41260749e662be (diff)
ARM: dts: imx51-babbage: enable audio support
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx51-babbage.dts')
-rw-r--r--arch/arm/boot/dts/imx51-babbage.dts28
1 files changed, 27 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx51-babbage.dts b/arch/arm/boot/dts/imx51-babbage.dts
index d42a404c0cef..de065b5976e6 100644
--- a/arch/arm/boot/dts/imx51-babbage.dts
+++ b/arch/arm/boot/dts/imx51-babbage.dts
@@ -162,6 +162,11 @@
};
};
};
+
+ ssi2: ssi@70014000 {
+ fsl,mode = "i2s-slave";
+ status = "okay";
+ };
};
wdog@73f98000 { /* WDOG1 */
@@ -191,12 +196,19 @@
i2c@83fc4000 { /* I2C2 */
status = "okay";
- codec: sgtl5000@0a {
+ sgtl5000: codec@0a {
compatible = "fsl,sgtl5000";
reg = <0x0a>;
+ clock-frequency = <26000000>;
+ VDDA-supply = <&vdig_reg>;
+ VDDIO-supply = <&vvideo_reg>;
};
};
+ audmux@83fd0000 {
+ status = "okay";
+ };
+
ethernet@83fec000 {
phy-mode = "mii";
status = "okay";
@@ -214,4 +226,18 @@
gpio-key,wakeup;
};
};
+
+ sound {
+ compatible = "fsl,imx51-babbage-sgtl5000",
+ "fsl,imx-audio-sgtl5000";
+ model = "imx51-babbage-sgtl5000";
+ ssi-controller = <&ssi2>;
+ audio-codec = <&sgtl5000>;
+ audio-routing =
+ "MIC_IN", "Mic Jack",
+ "Mic Jack", "Mic Bias",
+ "Headphone Jack", "HP_OUT";
+ mux-int-port = <2>;
+ mux-ext-port = <3>;
+ };
};