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>
16 compatible = "fsl,imx6-wandboard-sgtl5000",
17 "fsl,imx-audio-sgtl5000";
18 model = "imx6-wandboard-sgtl5000";
19 ssi-controller = <&ssi1>;
20 audio-codec = <&codec>;
23 "Mic Jack", "Mic Bias",
24 "Headphone Jack", "HP_OUT";
30 compatible = "fsl,imx-audio-spdif";
32 spdif-controller = <&spdif>;
36 reg_1p5v: regulator-1p5v {
37 compatible = "regulator-fixed";
38 regulator-name = "1P5V";
39 regulator-min-microvolt = <1500000>;
40 regulator-max-microvolt = <1500000>;
44 reg_1p8v: regulator-1p8v {
45 compatible = "regulator-fixed";
46 regulator-name = "1P8V";
47 regulator-min-microvolt = <1800000>;
48 regulator-max-microvolt = <1800000>;
52 reg_2p8v: regulator-2p8v {
53 compatible = "regulator-fixed";
54 regulator-name = "2P8V";
55 regulator-min-microvolt = <2800000>;
56 regulator-max-microvolt = <2800000>;
60 reg_2p5v: regulator-2p5v {
61 compatible = "regulator-fixed";
62 regulator-name = "2P5V";
63 regulator-min-microvolt = <2500000>;
64 regulator-max-microvolt = <2500000>;
68 reg_3p3v: regulator-3p3v {
69 compatible = "regulator-fixed";
70 regulator-name = "3P3V";
71 regulator-min-microvolt = <3300000>;
72 regulator-max-microvolt = <3300000>;
76 reg_usb_otg_vbus: regulator-usbotgvbus {
77 compatible = "regulator-fixed";
78 regulator-name = "usb_otg_vbus";
79 regulator-min-microvolt = <5000000>;
80 regulator-max-microvolt = <5000000>;
81 pinctrl-names = "default";
82 pinctrl-0 = <&pinctrl_usbotgvbus>;
83 gpio = <&gpio3 22 GPIO_ACTIVE_LOW>;
88 pinctrl-names = "default";
89 pinctrl-0 = <&pinctrl_audmux>;
94 ddc-i2c-bus = <&i2c1>;
99 clock-frequency = <100000>;
100 pinctrl-names = "default";
101 pinctrl-0 = <&pinctrl_i2c1>;
106 clock-frequency = <100000>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&pinctrl_i2c2>;
112 pinctrl-names = "default";
113 pinctrl-0 = <&pinctrl_mclk>;
114 compatible = "fsl,sgtl5000";
116 clocks = <&clks IMX6QDL_CLK_CKO>;
117 VDDA-supply = <®_2p5v>;
118 VDDIO-supply = <®_3p3v>;
119 lrclk-strength = <3>;
123 compatible = "ovti,ov5645";
124 pinctrl-names = "default";
125 pinctrl-0 = <&pinctrl_ov5645>;
127 clocks = <&clks IMX6QDL_CLK_CKO2>;
128 clock-names = "xclk";
129 clock-frequency = <24000000>;
130 vdddo-supply = <®_1p8v>;
131 vdda-supply = <®_2p8v>;
132 vddd-supply = <®_1p5v>;
133 enable-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
134 reset-gpios = <&gpio4 14 GPIO_ACTIVE_LOW>;
137 ov5645_to_mipi_csi2: endpoint {
138 remote-endpoint = <&mipi_csi2_in>;
147 pinctrl-names = "default";
151 pinctrl_audmux: audmuxgrp {
153 MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x130b0
154 MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x130b0
155 MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x110b0
156 MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0
160 pinctrl_enet: enetgrp {
162 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
163 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
164 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030
165 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030
166 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030
167 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030
168 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030
169 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030
170 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
171 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
172 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
173 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
174 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
175 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
176 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
177 MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
181 pinctrl_i2c1: i2c1grp {
183 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
184 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
188 pinctrl_i2c2: i2c2grp {
190 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
191 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
195 pinctrl_mclk: mclkgrp {
197 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0
201 pinctrl_ov5645: ov5645grp {
203 MX6QDL_PAD_GPIO_3__CCM_CLKO2 0x000b0
204 MX6QDL_PAD_GPIO_6__GPIO1_IO06 0x1b0b0
205 MX6QDL_PAD_KEY_COL4__GPIO4_IO14 0x1b0b0
209 pinctrl_spdif: spdifgrp {
211 MX6QDL_PAD_ENET_RXD0__SPDIF_OUT 0x1b0b0
215 pinctrl_uart1: uart1grp {
217 MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1
218 MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1
222 pinctrl_uart3: uart3grp {
224 MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
225 MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
226 MX6QDL_PAD_EIM_D23__UART3_CTS_B 0x1b0b1
227 MX6QDL_PAD_EIM_EB3__UART3_RTS_B 0x1b0b1
231 pinctrl_usbotg: usbotggrp {
233 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
237 pinctrl_usbotgvbus: usbotgvbusgrp {
239 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x130b0
243 pinctrl_usdhc1: usdhc1grp {
245 MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17059
246 MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10059
247 MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17059
248 MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17059
249 MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17059
250 MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17059
254 pinctrl_usdhc2: usdhc2grp {
256 MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059
257 MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10059
258 MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059
259 MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059
260 MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059
261 MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17059
265 pinctrl_usdhc3: usdhc3grp {
267 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
268 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
269 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
270 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
271 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
272 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
279 pinctrl-names = "default";
280 pinctrl-0 = <&pinctrl_enet>;
281 phy-mode = "rgmii-id";
282 phy-handle = <ðphy>;
283 phy-reset-gpios = <&gpio3 29 GPIO_ACTIVE_LOW>;
287 #address-cells = <1>;
290 ethphy: ethernet-phy@1 {
302 mipi_csi2_in: endpoint {
303 remote-endpoint = <&ov5645_to_mipi_csi2>;
311 pinctrl-names = "default";
312 pinctrl-0 = <&pinctrl_spdif>;
321 pinctrl-names = "default";
322 pinctrl-0 = <&pinctrl_uart1>;
327 pinctrl-names = "default";
328 pinctrl-0 = <&pinctrl_uart3>;
338 vbus-supply = <®_usb_otg_vbus>;
339 pinctrl-names = "default";
340 pinctrl-0 = <&pinctrl_usbotg>;
341 disable-over-current;
347 pinctrl-names = "default";
348 pinctrl-0 = <&pinctrl_usdhc1>;
349 cd-gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
354 pinctrl-names = "default";
355 pinctrl-0 = <&pinctrl_usdhc3>;
356 cd-gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;