2 * Copyright 2013 Freescale Semiconductor, Inc.
4 * Author: Fabio Estevam <fabio.estevam@freescale.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
12 #include <dt-bindings/gpio/gpio.h>
16 compatible = "simple-bus";
20 reg_2p5v: regulator@0 {
21 compatible = "regulator-fixed";
23 regulator-name = "2P5V";
24 regulator-min-microvolt = <2500000>;
25 regulator-max-microvolt = <2500000>;
29 reg_3p3v: regulator@1 {
30 compatible = "regulator-fixed";
32 regulator-name = "3P3V";
33 regulator-min-microvolt = <3300000>;
34 regulator-max-microvolt = <3300000>;
40 compatible = "fsl,imx6-wandboard-sgtl5000",
41 "fsl,imx-audio-sgtl5000";
42 model = "imx6-wandboard-sgtl5000";
43 ssi-controller = <&ssi1>;
44 audio-codec = <&codec>;
47 "Mic Jack", "Mic Bias",
48 "Headphone Jack", "HP_OUT";
54 compatible = "fsl,imx-audio-spdif";
56 spdif-controller = <&spdif>;
62 pinctrl-names = "default";
63 pinctrl-0 = <&pinctrl_audmux>;
68 ddc-i2c-bus = <&i2c1>;
73 clock-frequency = <100000>;
74 pinctrl-names = "default";
75 pinctrl-0 = <&pinctrl_i2c1>;
80 clock-frequency = <100000>;
81 pinctrl-names = "default";
82 pinctrl-0 = <&pinctrl_i2c2>;
86 compatible = "fsl,sgtl5000";
88 clocks = <&clks IMX6QDL_CLK_CKO>;
89 VDDA-supply = <®_2p5v>;
90 VDDIO-supply = <®_3p3v>;
95 pinctrl-names = "default";
99 pinctrl_audmux: audmuxgrp {
101 MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x130b0
102 MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x130b0
103 MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x110b0
104 MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0
108 pinctrl_enet: enetgrp {
110 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
111 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
112 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030
113 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030
114 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030
115 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030
116 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030
117 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030
118 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
119 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
120 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
121 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
122 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
123 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
124 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
125 MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
126 MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1
130 pinctrl_i2c1: i2c1grp {
132 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
133 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
137 pinctrl_i2c2: i2c2grp {
139 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
140 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
144 pinctrl_spdif: spdifgrp {
146 MX6QDL_PAD_ENET_RXD0__SPDIF_OUT 0x1b0b0
150 pinctrl_uart1: uart1grp {
152 MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1
153 MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1
157 pinctrl_uart3: uart3grp {
159 MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
160 MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
161 MX6QDL_PAD_EIM_D23__UART3_CTS_B 0x1b0b1
162 MX6QDL_PAD_EIM_EB3__UART3_RTS_B 0x1b0b1
166 pinctrl_usbotg: usbotggrp {
168 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
172 pinctrl_usdhc1: usdhc1grp {
174 MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17059
175 MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10059
176 MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17059
177 MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17059
178 MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17059
179 MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17059
183 pinctrl_usdhc2: usdhc2grp {
185 MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059
186 MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10059
187 MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059
188 MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059
189 MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059
190 MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17059
194 pinctrl_usdhc3: usdhc3grp {
196 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
197 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
198 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
199 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
200 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
201 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
208 pinctrl-names = "default";
209 pinctrl-0 = <&pinctrl_enet>;
211 phy-reset-gpios = <&gpio3 29 0>;
212 interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
213 <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
214 fsl,err006687-workaround-present;
219 pinctrl-names = "default";
220 pinctrl-0 = <&pinctrl_spdif>;
229 pinctrl-names = "default";
230 pinctrl-0 = <&pinctrl_uart1>;
235 pinctrl-names = "default";
236 pinctrl-0 = <&pinctrl_uart3>;
246 pinctrl-names = "default";
247 pinctrl-0 = <&pinctrl_usbotg>;
248 disable-over-current;
249 dr_mode = "peripheral";
254 pinctrl-names = "default";
255 pinctrl-0 = <&pinctrl_usdhc1>;
256 cd-gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
261 pinctrl-names = "default";
262 pinctrl-0 = <&pinctrl_usdhc3>;
263 cd-gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;