Commit ffc505c0 authored by Shawn Guo's avatar Shawn Guo

ARM: dts: imx53-qsb: enable audio support

Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent a15d9f89
...@@ -29,6 +29,11 @@ esdhc@50004000 { /* ESDHC1 */ ...@@ -29,6 +29,11 @@ esdhc@50004000 { /* ESDHC1 */
status = "okay"; status = "okay";
}; };
ssi2: ssi@50014000 {
fsl,mode = "i2s-slave";
status = "okay";
};
esdhc@50020000 { /* ESDHC3 */ esdhc@50020000 { /* ESDHC3 */
cd-gpios = <&gpio3 11 0>; cd-gpios = <&gpio3 11 0>;
wp-gpios = <&gpio3 12 0>; wp-gpios = <&gpio3 12 0>;
...@@ -58,9 +63,11 @@ sdma@63fb0000 { ...@@ -58,9 +63,11 @@ sdma@63fb0000 {
i2c@63fc4000 { /* I2C2 */ i2c@63fc4000 { /* I2C2 */
status = "okay"; status = "okay";
codec: sgtl5000@0a { sgtl5000: codec@0a {
compatible = "fsl,sgtl5000"; compatible = "fsl,sgtl5000";
reg = <0x0a>; reg = <0x0a>;
VDDA-supply = <&reg_3p2v>;
VDDIO-supply = <&reg_3p2v>;
}; };
}; };
...@@ -150,6 +157,10 @@ ldo13 { ...@@ -150,6 +157,10 @@ ldo13 {
}; };
}; };
audmux@63fd0000 {
status = "okay";
};
ethernet@63fec000 { ethernet@63fec000 {
phy-mode = "rmii"; phy-mode = "rmii";
phy-reset-gpios = <&gpio7 6 0>; phy-reset-gpios = <&gpio7 6 0>;
...@@ -190,4 +201,30 @@ user { ...@@ -190,4 +201,30 @@ user {
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
}; };
regulators {
compatible = "simple-bus";
reg_3p2v: 3p2v {
compatible = "regulator-fixed";
regulator-name = "3P2V";
regulator-min-microvolt = <3200000>;
regulator-max-microvolt = <3200000>;
regulator-always-on;
};
};
sound {
compatible = "fsl,imx53-qsb-sgtl5000",
"fsl,imx-audio-sgtl5000";
model = "imx53-qsb-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 = <5>;
};
}; };
...@@ -104,6 +104,15 @@ ecspi@50010000 { /* ECSPI1 */ ...@@ -104,6 +104,15 @@ ecspi@50010000 { /* ECSPI1 */
status = "disabled"; status = "disabled";
}; };
ssi2: ssi@50014000 {
compatible = "fsl,imx53-ssi", "fsl,imx21-ssi";
reg = <0x50014000 0x4000>;
interrupts = <30>;
fsl,fifo-depth = <15>;
fsl,ssi-dma-events = <25 24 23 22>; /* TX0 RX0 TX1 RX1 */
status = "disabled";
};
esdhc@50020000 { /* ESDHC3 */ esdhc@50020000 { /* ESDHC3 */
compatible = "fsl,imx53-esdhc"; compatible = "fsl,imx53-esdhc";
reg = <0x50020000 0x4000>; reg = <0x50020000 0x4000>;
...@@ -290,6 +299,30 @@ i2c@63fc8000 { /* I2C1 */ ...@@ -290,6 +299,30 @@ i2c@63fc8000 { /* I2C1 */
status = "disabled"; status = "disabled";
}; };
ssi1: ssi@63fcc000 {
compatible = "fsl,imx53-ssi", "fsl,imx21-ssi";
reg = <0x63fcc000 0x4000>;
interrupts = <29>;
fsl,fifo-depth = <15>;
fsl,ssi-dma-events = <29 28 27 26>; /* TX0 RX0 TX1 RX1 */
status = "disabled";
};
audmux@63fd0000 {
compatible = "fsl,imx53-audmux", "fsl,imx31-audmux";
reg = <0x63fd0000 0x4000>;
status = "disabled";
};
ssi3: ssi@63fe8000 {
compatible = "fsl,imx53-ssi", "fsl,imx21-ssi";
reg = <0x63fe8000 0x4000>;
interrupts = <96>;
fsl,fifo-depth = <15>;
fsl,ssi-dma-events = <47 46 45 44>; /* TX0 RX0 TX1 RX1 */
status = "disabled";
};
ethernet@63fec000 { ethernet@63fec000 {
compatible = "fsl,imx53-fec", "fsl,imx25-fec"; compatible = "fsl,imx53-fec", "fsl,imx25-fec";
reg = <0x63fec000 0x4000>; reg = <0x63fec000 0x4000>;
......
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