Linux Audio

Check our new training course

Loading...
v4.17
  1/*
  2 * Copyright (C) 2013,2014 Russell King
  3 *
  4 * This file is dual-licensed: you can use it either under the terms
  5 * of the GPL or the X11 license, at your option. Note that this dual
  6 * licensing only applies to this file, and not this project as a
  7 * whole.
  8 *
  9 *  a) This file is free software; you can redistribute it and/or
 10 *     modify it under the terms of the GNU General Public License
 11 *     version 2 as published by the Free Software Foundation.
 12 *
 13 *     This file is distributed in the hope that it will be useful,
 14 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 15 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 16 *     GNU General Public License for more details.
 17 *
 18 * Or, alternatively,
 19 *
 20 *  b) Permission is hereby granted, free of charge, to any person
 21 *     obtaining a copy of this software and associated documentation
 22 *     files (the "Software"), to deal in the Software without
 23 *     restriction, including without limitation the rights to use,
 24 *     copy, modify, merge, publish, distribute, sublicense, and/or
 25 *     sell copies of the Software, and to permit persons to whom the
 26 *     Software is furnished to do so, subject to the following
 27 *     conditions:
 28 *
 29 *     The above copyright notice and this permission notice shall be
 30 *     included in all copies or substantial portions of the Software.
 31 *
 32 *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 33 *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 34 *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 35 *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 36 *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 37 *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 38 *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 39 *     OTHER DEALINGS IN THE SOFTWARE.
 40 */
 
 41
 42/ {
 43	/* Will be filled by the bootloader */
 44	memory@10000000 {
 
 45		reg = <0x10000000 0>;
 46	};
 47
 48	chosen {
 49		stdout-path = &uart1;
 50	};
 51
 52	ir_recv: ir-receiver {
 53		compatible = "gpio-ir-receiver";
 54		gpios = <&gpio3 5 GPIO_ACTIVE_LOW>;
 55		pinctrl-names = "default";
 56		pinctrl-0 = <&pinctrl_hummingboard_gpio3_5>;
 57	};
 58
 59	v_3v2: regulator-v-3v2 {
 60		compatible = "regulator-fixed";
 61		regulator-always-on;
 62		regulator-max-microvolt = <3300000>;
 63		regulator-min-microvolt = <3300000>;
 64		regulator-name = "v_3v2";
 65		vin-supply = <&v_5v0>;
 66	};
 67
 68	v_5v0: regulator-v-5v0 {
 69		compatible = "regulator-fixed";
 70		regulator-always-on;
 71		regulator-max-microvolt = <5000000>;
 72		regulator-min-microvolt = <5000000>;
 73		regulator-name = "v_5v0";
 74	};
 75
 76	v_sd: regulator-v-sd {
 77		compatible = "regulator-fixed";
 78		gpio = <&gpio4 30 GPIO_ACTIVE_HIGH>;
 79		pinctrl-names = "default";
 80		pinctrl-0 = <&pinctrl_hummingboard_vmmc>;
 81		regulator-boot-on;
 82		regulator-max-microvolt = <3300000>;
 83		regulator-min-microvolt = <3300000>;
 84		regulator-name = "v_sd";
 85		startup-delay-us = <1000>;
 86		vin-supply = <&v_3v2>;
 87	};
 88
 89	v_usb2: regulator-v-usb2 {
 90		compatible = "regulator-fixed";
 91		enable-active-high;
 92		gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
 93		pinctrl-names = "default";
 94		pinctrl-0 = <&pinctrl_hummingboard_usbh1_vbus>;
 95		regulator-max-microvolt = <5000000>;
 96		regulator-min-microvolt = <5000000>;
 97		regulator-name = "v_usb2";
 98		vin-supply = <&v_5v0>;
 99	};
100
101	v_usb1: regulator-v-usb1 {
102		compatible = "regulator-fixed";
103		enable-active-high;
104		gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
105		pinctrl-names = "default";
106		pinctrl-0 = <&pinctrl_hummingboard_usbotg_vbus>;
107		regulator-max-microvolt = <5000000>;
108		regulator-min-microvolt = <5000000>;
109		regulator-name = "v_usb1";
110		vin-supply = <&v_5v0>;
111	};
112
113	sound-sgtl5000 {
114		audio-codec = <&sgtl5000>;
115		audio-routing =
116			"MIC_IN", "Mic Jack",
117			"Mic Jack", "Mic Bias",
 
 
 
 
 
 
 
118			"Headphone Jack", "HP_OUT";
119		compatible = "fsl,imx-audio-sgtl5000";
120		model = "On-board Codec";
121		mux-ext-port = <5>;
122		mux-int-port = <1>;
123		ssi-controller = <&ssi1>;
 
 
 
124	};
125
126	sound-spdif {
127		compatible = "fsl,imx-audio-spdif";
128		model = "On-board SPDIF";
129		/* IMX6 doesn't implement this yet */
130		spdif-controller = <&spdif>;
131		spdif-out;
132	};
133};
134
135&audmux {
136	status = "okay";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137};
138
139&can1 {
140	pinctrl-names = "default";
141	pinctrl-0 = <&pinctrl_hummingboard_flexcan1>;
142	status = "okay";
143};
144
145&hdmi {
146	pinctrl-names = "default";
147	pinctrl-0 = <&pinctrl_hummingboard_hdmi>;
148	ddc-i2c-bus = <&i2c2>;
149	status = "okay";
150};
151
152&i2c1 {
153	pinctrl-names = "default";
154	pinctrl-0 = <&pinctrl_hummingboard_i2c1>;
155	status = "okay";
156
157	/* Pro baseboard model */
158	rtc@68 {
159		compatible = "nxp,pcf8523";
160		reg = <0x68>;
161	};
162
163	/* Pro baseboard model */
164	sgtl5000: codec@a {
165		clocks = <&clks IMX6QDL_CLK_CKO>;
166		compatible = "fsl,sgtl5000";
167		pinctrl-names = "default";
168		pinctrl-0 = <&pinctrl_hummingboard_sgtl5000>;
 
169		reg = <0x0a>;
170		VDDA-supply = <&v_3v2>;
171		VDDIO-supply = <&v_3v2>;
172	};
173};
174
175&i2c2 {
176	clock-frequency = <100000>;
177	pinctrl-names = "default";
178	pinctrl-0 = <&pinctrl_hummingboard_i2c2>;
179	status = "okay";
180};
181
182&iomuxc {
183	hummingboard {
184		pinctrl_hummingboard_flexcan1: hummingboard-flexcan1 {
185			fsl,pins = <
186				MX6QDL_PAD_SD3_CLK__FLEXCAN1_RX 0x80000000
187				MX6QDL_PAD_SD3_CMD__FLEXCAN1_TX 0x80000000
188			>;
189		};
190
191		pinctrl_hummingboard_gpio3_5: hummingboard-gpio3_5 {
192			fsl,pins = <
193				MX6QDL_PAD_EIM_DA5__GPIO3_IO05 0x1b0b1
194			>;
195		};
196
197		pinctrl_hummingboard_hdmi: hummingboard-hdmi {
198			fsl,pins = <
199				MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE 0x1f8b0
200			>;
201		};
202
203		pinctrl_hummingboard_i2c1: hummingboard-i2c1 {
204			fsl,pins = <
205				MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
206				MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
207			>;
208		};
209
210		pinctrl_hummingboard_i2c2: hummingboard-i2c2 {
211			fsl,pins = <
212				MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
213				MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
214			>;
215		};
216
217		pinctrl_hummingboard_pcie_reset: hummingboard-pcie-reset {
218			fsl,pins = <
219				MX6QDL_PAD_EIM_DA4__GPIO3_IO04 0x1b0b1
220			>;
221		};
222
223		pinctrl_hummingboard_pwm1: pwm1grp {
224			fsl,pins = <MX6QDL_PAD_DISP0_DAT8__PWM1_OUT 0x1b0b1>;
225		};
226
227		pinctrl_hummingboard_sgtl5000: hummingboard-sgtl5000 {
228			fsl,pins = <
229				MX6QDL_PAD_DISP0_DAT19__AUD5_RXD 0x130b0
230				MX6QDL_PAD_KEY_COL0__AUD5_TXC 0x130b0
231				MX6QDL_PAD_KEY_ROW0__AUD5_TXD 0x110b0
232				MX6QDL_PAD_KEY_COL1__AUD5_TXFS 0x130b0
233				MX6QDL_PAD_GPIO_5__CCM_CLKO1 0x130b0
234			>;
235		};
236
237		pinctrl_hummingboard_spdif: hummingboard-spdif {
238			fsl,pins = <MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x13091>;
239		};
240
241		pinctrl_hummingboard_usbh1_vbus: hummingboard-usbh1-vbus {
242			fsl,pins = <MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0>;
243		};
244
245		pinctrl_hummingboard_usbotg_id: hummingboard-usbotg-id {
246			/*
247			 * We want it pulled down for a fixed host connection.
248			 */
249			fsl,pins = <MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x13059>;
250		};
251
252		pinctrl_hummingboard_usbotg_vbus: hummingboard-usbotg-vbus {
253			fsl,pins = <MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0>;
254		};
255
256		pinctrl_hummingboard_usdhc2_aux: hummingboard-usdhc2-aux {
257			fsl,pins = <
258				MX6QDL_PAD_GPIO_4__GPIO1_IO04    0x1f071
259			>;
260		};
261
262		pinctrl_hummingboard_usdhc2: hummingboard-usdhc2 {
263			fsl,pins = <
264				MX6QDL_PAD_SD2_CMD__SD2_CMD    0x17059
265				MX6QDL_PAD_SD2_CLK__SD2_CLK    0x10059
266				MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059
267				MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059
268				MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059
269				MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x13059
270			>;
271		};
272		pinctrl_hummingboard_vmmc: hummingboard-vmmc {
273			fsl,pins = <
274				MX6QDL_PAD_DISP0_DAT9__GPIO4_IO30 0x1b0b0
275			>;
276		};
277	};
278};
279
280&pcie {
281	pinctrl-names = "default";
282	pinctrl-0 = <&pinctrl_hummingboard_pcie_reset>;
283	reset-gpio = <&gpio3 4 GPIO_ACTIVE_LOW>;
284	status = "okay";
285};
286
287&pwm1 {
288	 pinctrl-names = "default";
289	 pinctrl-0 = <&pinctrl_hummingboard_pwm1>;
290	 status = "okay";
291};
292
293&pwm2 {
294	 pinctrl-names = "default";
295	 status = "okay";
296};
297
298&spdif {
299	pinctrl-names = "default";
300	pinctrl-0 = <&pinctrl_hummingboard_spdif>;
301	status = "okay";
302};
303
304&ssi1 {
305	status = "okay";
306};
307
308&usbh1 {
309	disable-over-current;
310	vbus-supply = <&v_usb2>;
311	status = "okay";
312};
313
314&usbotg {
315	disable-over-current;
316	pinctrl-names = "default";
317	pinctrl-0 = <&pinctrl_hummingboard_usbotg_id>;
318	vbus-supply = <&v_usb1>;
319	status = "okay";
320};
321
322&usdhc2 {
323	pinctrl-names = "default";
324	pinctrl-0 = <
325		&pinctrl_hummingboard_usdhc2_aux
326		&pinctrl_hummingboard_usdhc2
327	>;
328	vmmc-supply = <&v_sd>;
329	cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
330	status = "okay";
331};
332
333&vcc_3v3 {
334	vin-supply = <&v_3v2>;
335};
v6.2
  1/*
  2 * Copyright (C) 2013,2014 Russell King
  3 *
  4 * This file is dual-licensed: you can use it either under the terms
  5 * of the GPL or the X11 license, at your option. Note that this dual
  6 * licensing only applies to this file, and not this project as a
  7 * whole.
  8 *
  9 *  a) This file is free software; you can redistribute it and/or
 10 *     modify it under the terms of the GNU General Public License
 11 *     version 2 as published by the Free Software Foundation.
 12 *
 13 *     This file is distributed in the hope that it will be useful,
 14 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 15 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 16 *     GNU General Public License for more details.
 17 *
 18 * Or, alternatively,
 19 *
 20 *  b) Permission is hereby granted, free of charge, to any person
 21 *     obtaining a copy of this software and associated documentation
 22 *     files (the "Software"), to deal in the Software without
 23 *     restriction, including without limitation the rights to use,
 24 *     copy, modify, merge, publish, distribute, sublicense, and/or
 25 *     sell copies of the Software, and to permit persons to whom the
 26 *     Software is furnished to do so, subject to the following
 27 *     conditions:
 28 *
 29 *     The above copyright notice and this permission notice shall be
 30 *     included in all copies or substantial portions of the Software.
 31 *
 32 *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 33 *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 34 *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 35 *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 36 *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 37 *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 38 *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 39 *     OTHER DEALINGS IN THE SOFTWARE.
 40 */
 41#include <dt-bindings/sound/fsl-imx-audmux.h>
 42
 43/ {
 44	/* Will be filled by the bootloader */
 45	memory@10000000 {
 46		device_type = "memory";
 47		reg = <0x10000000 0>;
 48	};
 49
 50	chosen {
 51		stdout-path = &uart1;
 52	};
 53
 54	ir_recv: ir-receiver {
 55		compatible = "gpio-ir-receiver";
 56		gpios = <&gpio3 5 GPIO_ACTIVE_LOW>;
 57		pinctrl-names = "default";
 58		pinctrl-0 = <&pinctrl_hummingboard_gpio3_5>;
 59	};
 60
 61	v_3v2: regulator-v-3v2 {
 62		compatible = "regulator-fixed";
 63		regulator-always-on;
 64		regulator-max-microvolt = <3300000>;
 65		regulator-min-microvolt = <3300000>;
 66		regulator-name = "v_3v2";
 67		vin-supply = <&v_5v0>;
 68	};
 69
 70	v_5v0: regulator-v-5v0 {
 71		compatible = "regulator-fixed";
 72		regulator-always-on;
 73		regulator-max-microvolt = <5000000>;
 74		regulator-min-microvolt = <5000000>;
 75		regulator-name = "v_5v0";
 76	};
 77
 78	v_sd: regulator-v-sd {
 79		compatible = "regulator-fixed";
 80		gpio = <&gpio4 30 GPIO_ACTIVE_HIGH>;
 81		pinctrl-names = "default";
 82		pinctrl-0 = <&pinctrl_hummingboard_vmmc>;
 83		regulator-boot-on;
 84		regulator-max-microvolt = <3300000>;
 85		regulator-min-microvolt = <3300000>;
 86		regulator-name = "v_sd";
 87		startup-delay-us = <1000>;
 88		vin-supply = <&v_3v2>;
 89	};
 90
 91	v_usb2: regulator-v-usb2 {
 92		compatible = "regulator-fixed";
 93		enable-active-high;
 94		gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
 95		pinctrl-names = "default";
 96		pinctrl-0 = <&pinctrl_hummingboard_usbh1_vbus>;
 97		regulator-max-microvolt = <5000000>;
 98		regulator-min-microvolt = <5000000>;
 99		regulator-name = "v_usb2";
100		vin-supply = <&v_5v0>;
101	};
102
103	v_usb1: regulator-v-usb1 {
104		compatible = "regulator-fixed";
105		enable-active-high;
106		gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
107		pinctrl-names = "default";
108		pinctrl-0 = <&pinctrl_hummingboard_usbotg_vbus>;
109		regulator-max-microvolt = <5000000>;
110		regulator-min-microvolt = <5000000>;
111		regulator-name = "v_usb1";
112		vin-supply = <&v_5v0>;
113	};
114
115	audio: sound-sgtl5000 {
116		compatible = "simple-audio-card";
117		simple-audio-card,name = "On-board Codec";
118		simple-audio-card,format = "i2s";
119		simple-audio-card,bitclock-master = <&sound_codec>;
120		simple-audio-card,frame-master = <&sound_codec>;
121		simple-audio-card,widgets =
122			"Microphone", "Headphone Jack",
123			"Headphone", "Headphone Jack";
124		simple-audio-card,routing =
125			"MIC_IN", "Headphone Jack",
126			"Headphone Jack", "Mic Bias",
127			"Headphone Jack", "HP_OUT";
128
129		sound_cpu: simple-audio-card,cpu {
130			sound-dai = <&ssi1>;
131		};
132
133		sound_codec: simple-audio-card,codec {
134			sound-dai = <&sgtl5000>;
135		};
136	};
137
138	sound-spdif {
139		compatible = "fsl,imx-audio-spdif";
140		model = "On-board SPDIF";
141		/* IMX6 doesn't implement this yet */
142		spdif-controller = <&spdif>;
143		spdif-out;
144	};
145};
146
147&audmux {
148	status = "okay";
149
150	ssi1 {
151		fsl,audmux-port = <0>;
152		fsl,port-config = <
153			(IMX_AUDMUX_V2_PTCR_SYN |
154			 IMX_AUDMUX_V2_PTCR_TFSEL(4) |
155			 IMX_AUDMUX_V2_PTCR_TCSEL(4) |
156			 IMX_AUDMUX_V2_PTCR_TFSDIR |
157			 IMX_AUDMUX_V2_PTCR_TCLKDIR)
158			 IMX_AUDMUX_V2_PDCR_RXDSEL(4)
159		>;
160	};
161
162	pins5 {
163		fsl,audmux-port = <4>;
164		fsl,port-config = <
165			IMX_AUDMUX_V2_PTCR_SYN
166			IMX_AUDMUX_V2_PDCR_RXDSEL(0)
167		>;
168	};
169};
170
171&can1 {
172	pinctrl-names = "default";
173	pinctrl-0 = <&pinctrl_hummingboard_flexcan1>;
174	status = "okay";
175};
176
177&hdmi {
178	pinctrl-names = "default";
179	pinctrl-0 = <&pinctrl_hummingboard_hdmi>;
180	ddc-i2c-bus = <&i2c2>;
181	status = "okay";
182};
183
184&i2c1 {
185	pinctrl-names = "default";
186	pinctrl-0 = <&pinctrl_hummingboard_i2c1>;
187	status = "okay";
188
189	/* Pro baseboard model */
190	rtc@68 {
191		compatible = "nxp,pcf8523";
192		reg = <0x68>;
193	};
194
195	/* Pro baseboard model */
196	sgtl5000: codec@a {
197		clocks = <&clks IMX6QDL_CLK_CKO>;
198		compatible = "fsl,sgtl5000";
199		pinctrl-names = "default";
200		pinctrl-0 = <&pinctrl_hummingboard_sgtl5000>;
201		#sound-dai-cells = <0>;
202		reg = <0x0a>;
203		VDDA-supply = <&v_3v2>;
204		VDDIO-supply = <&v_3v2>;
205	};
206};
207
208&i2c2 {
209	clock-frequency = <100000>;
210	pinctrl-names = "default";
211	pinctrl-0 = <&pinctrl_hummingboard_i2c2>;
212	status = "okay";
213};
214
215&iomuxc {
216	hummingboard {
217		pinctrl_hummingboard_flexcan1: hummingboard-flexcan1 {
218			fsl,pins = <
219				MX6QDL_PAD_SD3_CLK__FLEXCAN1_RX 0x80000000
220				MX6QDL_PAD_SD3_CMD__FLEXCAN1_TX 0x80000000
221			>;
222		};
223
224		pinctrl_hummingboard_gpio3_5: hummingboard-gpio3_5 {
225			fsl,pins = <
226				MX6QDL_PAD_EIM_DA5__GPIO3_IO05 0x1b0b1
227			>;
228		};
229
230		pinctrl_hummingboard_hdmi: hummingboard-hdmi {
231			fsl,pins = <
232				MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE 0x1f8b0
233			>;
234		};
235
236		pinctrl_hummingboard_i2c1: hummingboard-i2c1 {
237			fsl,pins = <
238				MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
239				MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
240			>;
241		};
242
243		pinctrl_hummingboard_i2c2: hummingboard-i2c2 {
244			fsl,pins = <
245				MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
246				MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
247			>;
248		};
249
250		pinctrl_hummingboard_pcie_reset: hummingboard-pcie-reset {
251			fsl,pins = <
252				MX6QDL_PAD_EIM_DA4__GPIO3_IO04 0x1b0b1
253			>;
254		};
255
256		pinctrl_hummingboard_pwm1: pwm1grp {
257			fsl,pins = <MX6QDL_PAD_DISP0_DAT8__PWM1_OUT 0x1b0b1>;
258		};
259
260		pinctrl_hummingboard_sgtl5000: hummingboard-sgtl5000 {
261			fsl,pins = <
262				MX6QDL_PAD_DISP0_DAT19__AUD5_RXD 0x130b0
263				MX6QDL_PAD_KEY_COL0__AUD5_TXC 0x130b0
264				MX6QDL_PAD_KEY_ROW0__AUD5_TXD 0x110b0
265				MX6QDL_PAD_KEY_COL1__AUD5_TXFS 0x130b0
266				MX6QDL_PAD_GPIO_5__CCM_CLKO1 0x130b0
267			>;
268		};
269
270		pinctrl_hummingboard_spdif: hummingboard-spdif {
271			fsl,pins = <MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x13091>;
272		};
273
274		pinctrl_hummingboard_usbh1_vbus: hummingboard-usbh1-vbus {
275			fsl,pins = <MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0>;
276		};
277
278		pinctrl_hummingboard_usbotg_id: hummingboard-usbotg-id {
279			/*
280			 * We want it pulled down for a fixed host connection.
281			 */
282			fsl,pins = <MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x13059>;
283		};
284
285		pinctrl_hummingboard_usbotg_vbus: hummingboard-usbotg-vbus {
286			fsl,pins = <MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0>;
287		};
288
289		pinctrl_hummingboard_usdhc2_aux: hummingboard-usdhc2-aux {
290			fsl,pins = <
291				MX6QDL_PAD_GPIO_4__GPIO1_IO04    0x1f071
292			>;
293		};
294
295		pinctrl_hummingboard_usdhc2: hummingboard-usdhc2 {
296			fsl,pins = <
297				MX6QDL_PAD_SD2_CMD__SD2_CMD    0x17059
298				MX6QDL_PAD_SD2_CLK__SD2_CLK    0x10059
299				MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059
300				MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059
301				MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059
302				MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x13059
303			>;
304		};
305		pinctrl_hummingboard_vmmc: hummingboard-vmmc {
306			fsl,pins = <
307				MX6QDL_PAD_DISP0_DAT9__GPIO4_IO30 0x1b0b0
308			>;
309		};
310	};
311};
312
313&pcie {
314	pinctrl-names = "default";
315	pinctrl-0 = <&pinctrl_hummingboard_pcie_reset>;
316	reset-gpio = <&gpio3 4 GPIO_ACTIVE_LOW>;
317	status = "okay";
318};
319
320&pwm1 {
321	 pinctrl-names = "default";
322	 pinctrl-0 = <&pinctrl_hummingboard_pwm1>;
323	 status = "okay";
324};
325
326&pwm2 {
327	 pinctrl-names = "default";
328	 status = "okay";
329};
330
331&spdif {
332	pinctrl-names = "default";
333	pinctrl-0 = <&pinctrl_hummingboard_spdif>;
334	status = "okay";
335};
336
337&ssi1 {
338	status = "okay";
339};
340
341&usbh1 {
342	disable-over-current;
343	vbus-supply = <&v_usb2>;
344	status = "okay";
345};
346
347&usbotg {
348	disable-over-current;
349	pinctrl-names = "default";
350	pinctrl-0 = <&pinctrl_hummingboard_usbotg_id>;
351	vbus-supply = <&v_usb1>;
352	status = "okay";
353};
354
355&usdhc2 {
356	pinctrl-names = "default";
357	pinctrl-0 = <
358		&pinctrl_hummingboard_usdhc2_aux
359		&pinctrl_hummingboard_usdhc2
360	>;
361	vmmc-supply = <&v_sd>;
362	cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
363	status = "okay";
364};
365
366&vcc_3v3 {
367	vin-supply = <&v_3v2>;
368};