aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-03-30 08:06:57 -0400
committerShawn Guo <shawn.guo@linaro.org>2015-03-30 08:57:42 -0400
commit8e047c120fb2ccb7b7aba8f5e9224e463f86bebc (patch)
treeb55e0317fd77c21ce008805924e59167421ffbc3 /arch/arm
parent5c5506bdaf9a2ce79855eb4fd535b6399dcbfed4 (diff)
ARM: dts: hummingboard: add sgtl5000 support for Hummingboard Pro
Add the DT description for the SGTL5000 found on the Hummingboard Pro model. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/imx6qdl-hummingboard.dtsi43
1 files changed, 43 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi
index 7ee95223bf3d..151a3db2aea9 100644
--- a/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi
@@ -88,6 +88,19 @@
88 }; 88 };
89 }; 89 };
90 90
91 sound-sgtl5000 {
92 audio-codec = <&sgtl5000>;
93 audio-routing =
94 "MIC_IN", "Mic Jack",
95 "Mic Jack", "Mic Bias",
96 "Headphone Jack", "HP_OUT";
97 compatible = "fsl,imx-audio-sgtl5000";
98 model = "On-board Codec";
99 mux-ext-port = <5>;
100 mux-int-port = <1>;
101 ssi-controller = <&ssi1>;
102 };
103
91 sound-spdif { 104 sound-spdif {
92 compatible = "fsl,imx-audio-spdif"; 105 compatible = "fsl,imx-audio-spdif";
93 model = "On-board SPDIF"; 106 model = "On-board SPDIF";
@@ -97,6 +110,10 @@
97 }; 110 };
98}; 111};
99 112
113&audmux {
114 status = "okay";
115};
116
100&can1 { 117&can1 {
101 pinctrl-names = "default"; 118 pinctrl-names = "default";
102 pinctrl-0 = <&pinctrl_hummingboard_flexcan1>; 119 pinctrl-0 = <&pinctrl_hummingboard_flexcan1>;
@@ -120,6 +137,17 @@
120 compatible = "nxp,pcf8523"; 137 compatible = "nxp,pcf8523";
121 reg = <0x68>; 138 reg = <0x68>;
122 }; 139 };
140
141 /* Pro baseboard model */
142 sgtl5000: sgtl5000@0a {
143 clocks = <&clks IMX6QDL_CLK_CKO>;
144 compatible = "fsl,sgtl5000";
145 pinctrl-names = "default";
146 pinctrl-0 = <&pinctrl_hummingboard_sgtl5000>;
147 reg = <0x0a>;
148 VDDA-supply = <&reg_3p3v>;
149 VDDIO-supply = <&reg_3p3v>;
150 };
123}; 151};
124 152
125&i2c2 { 153&i2c2 {
@@ -168,6 +196,16 @@
168 fsl,pins = <MX6QDL_PAD_DISP0_DAT8__PWM1_OUT 0x1b0b1>; 196 fsl,pins = <MX6QDL_PAD_DISP0_DAT8__PWM1_OUT 0x1b0b1>;
169 }; 197 };
170 198
199 pinctrl_hummingboard_sgtl5000: hummingboard-sgtl5000 {
200 fsl,pins = <
201 MX6QDL_PAD_DISP0_DAT19__AUD5_RXD 0x130b0
202 MX6QDL_PAD_KEY_COL0__AUD5_TXC 0x130b0
203 MX6QDL_PAD_KEY_ROW0__AUD5_TXD 0x110b0
204 MX6QDL_PAD_KEY_COL1__AUD5_TXFS 0x130b0
205 MX6QDL_PAD_GPIO_5__CCM_CLKO1 0x130b0
206 >;
207 };
208
171 pinctrl_hummingboard_spdif: hummingboard-spdif { 209 pinctrl_hummingboard_spdif: hummingboard-spdif {
172 fsl,pins = <MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x13091>; 210 fsl,pins = <MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x13091>;
173 }; 211 };
@@ -224,6 +262,11 @@
224 status = "okay"; 262 status = "okay";
225}; 263};
226 264
265&ssi1 {
266 fsl,mode = "i2s-slave";
267 status = "okay";
268};
269
227&usbh1 { 270&usbh1 {
228 disable-over-current; 271 disable-over-current;
229 vbus-supply = <&reg_usbh1_vbus>; 272 vbus-supply = <&reg_usbh1_vbus>;