1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright 2013 Freescale Semiconductor, Inc.
5 * Author: Fabio Estevam <fabio.estevam@freescale.com>
8 #include <dt-bindings/gpio/gpio.h>
12 compatible = "fsl,imx6-wandboard-sgtl5000",
13 "fsl,imx-audio-sgtl5000";
14 model = "imx6-wandboard-sgtl5000";
15 ssi-controller = <&ssi1>;
16 audio-codec = <&codec>;
19 "Mic Jack", "Mic Bias",
20 "Headphone Jack", "HP_OUT";
26 compatible = "fsl,imx-audio-spdif";
28 spdif-controller = <&spdif>;
32 reg_2p5v: regulator-2p5v {
33 compatible = "regulator-fixed";
34 regulator-name = "2P5V";
35 regulator-min-microvolt = <2500000>;
36 regulator-max-microvolt = <2500000>;
40 reg_3p3v: regulator-3p3v {
41 compatible = "regulator-fixed";
42 regulator-name = "3P3V";
43 regulator-min-microvolt = <3300000>;
44 regulator-max-microvolt = <3300000>;
48 reg_usb_otg_vbus: regulator-usbotgvbus {
49 compatible = "regulator-fixed";
50 regulator-name = "usb_otg_vbus";
51 regulator-min-microvolt = <5000000>;
52 regulator-max-microvolt = <5000000>;
53 pinctrl-names = "default";
54 pinctrl-0 = <&pinctrl_usbotgvbus>;
55 gpio = <&gpio3 22 GPIO_ACTIVE_LOW>;
60 pinctrl-names = "default";
61 pinctrl-0 = <&pinctrl_audmux>;
66 ddc-i2c-bus = <&i2c1>;
71 clock-frequency = <100000>;
72 pinctrl-names = "default";
73 pinctrl-0 = <&pinctrl_i2c1>;
78 clock-frequency = <100000>;
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_i2c2>;
84 pinctrl-names = "default";
85 pinctrl-0 = <&pinctrl_mclk>;
86 compatible = "fsl,sgtl5000";
88 clocks = <&clks IMX6QDL_CLK_CKO>;
89 VDDA-supply = <®_2p5v>;
90 VDDIO-supply = <®_3p3v>;
95 compatible = "fsl,pfuze100";
100 regulator-min-microvolt = <300000>;
101 regulator-max-microvolt = <1875000>;
104 regulator-ramp-delay = <6250>;
108 regulator-min-microvolt = <300000>;
109 regulator-max-microvolt = <1875000>;
112 regulator-ramp-delay = <6250>;
116 regulator-min-microvolt = <800000>;
117 regulator-max-microvolt = <3300000>;
120 regulator-ramp-delay = <6250>;
124 regulator-min-microvolt = <400000>;
125 regulator-max-microvolt = <1975000>;
131 regulator-min-microvolt = <400000>;
132 regulator-max-microvolt = <1975000>;
138 regulator-min-microvolt = <800000>;
139 regulator-max-microvolt = <3300000>;
144 regulator-min-microvolt = <5000000>;
145 regulator-max-microvolt = <5150000>;
149 regulator-min-microvolt = <1000000>;
150 regulator-max-microvolt = <3000000>;
161 regulator-min-microvolt = <800000>;
162 regulator-max-microvolt = <1550000>;
166 regulator-min-microvolt = <800000>;
167 regulator-max-microvolt = <1550000>;
171 regulator-min-microvolt = <1800000>;
172 regulator-max-microvolt = <3300000>;
176 regulator-min-microvolt = <1800000>;
177 regulator-max-microvolt = <3300000>;
182 regulator-min-microvolt = <1800000>;
183 regulator-max-microvolt = <3300000>;
188 regulator-min-microvolt = <1800000>;
189 regulator-max-microvolt = <3300000>;
197 pinctrl-names = "default";
201 pinctrl_audmux: audmuxgrp {
203 MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x130b0
204 MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x130b0
205 MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x110b0
206 MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0
210 pinctrl_enet: enetgrp {
212 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
213 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
214 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030
215 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030
216 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030
217 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030
218 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030
219 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030
220 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
221 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
222 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
223 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
224 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
225 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
226 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
227 MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
228 MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1
232 pinctrl_i2c1: i2c1grp {
234 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
235 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
239 pinctrl_i2c2: i2c2grp {
241 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
242 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
246 pinctrl_mclk: mclkgrp {
248 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0
252 pinctrl_spdif: spdifgrp {
254 MX6QDL_PAD_ENET_RXD0__SPDIF_OUT 0x1b0b0
258 pinctrl_uart1: uart1grp {
260 MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1
261 MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1
265 pinctrl_uart3: uart3grp {
267 MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
268 MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
269 MX6QDL_PAD_EIM_D23__UART3_CTS_B 0x1b0b1
270 MX6QDL_PAD_EIM_EB3__UART3_RTS_B 0x1b0b1
274 pinctrl_usbotg: usbotggrp {
276 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
280 pinctrl_usbotgvbus: usbotgvbusgrp {
282 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x130b0
286 pinctrl_usdhc1: usdhc1grp {
288 MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17059
289 MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10059
290 MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17059
291 MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17059
292 MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17059
293 MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17059
297 pinctrl_usdhc2: usdhc2grp {
299 MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059
300 MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10059
301 MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059
302 MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059
303 MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059
304 MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17059
308 pinctrl_usdhc3: usdhc3grp {
310 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
311 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
312 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
313 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
314 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
315 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
322 pinctrl-names = "default";
323 pinctrl-0 = <&pinctrl_enet>;
325 phy-reset-gpios = <&gpio3 29 GPIO_ACTIVE_LOW>;
326 interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
327 <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
328 fsl,err006687-workaround-present;
333 pinctrl-names = "default";
334 pinctrl-0 = <&pinctrl_spdif>;
343 pinctrl-names = "default";
344 pinctrl-0 = <&pinctrl_uart1>;
349 pinctrl-names = "default";
350 pinctrl-0 = <&pinctrl_uart3>;
360 vbus-supply = <®_usb_otg_vbus>;
361 pinctrl-names = "default";
362 pinctrl-0 = <&pinctrl_usbotg>;
363 disable-over-current;
369 pinctrl-names = "default";
370 pinctrl-0 = <&pinctrl_usdhc1>;
371 cd-gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
376 pinctrl-names = "default";
377 pinctrl-0 = <&pinctrl_usdhc3>;
378 cd-gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;