1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 Andreas Färber
9 compatible = "fsl,imx6sx";
12 stdout-path = "serial0:115200n8";
16 compatible = "gpio-leds";
19 label = "udoo-neo:red:mmc";
20 gpios = <&gpio6 0 GPIO_ACTIVE_HIGH>;
21 default-state = "off";
22 linux,default-trigger = "mmc0";
26 label = "udoo-neo:orange:user";
27 gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;
28 default-state = "keep";
32 reg_sdio_pwr: regulator-sdio-pwr {
33 compatible = "regulator-fixed";
34 gpio = <&gpio6 1 GPIO_ACTIVE_HIGH>;
36 regulator-name = "SDIO_PWR";
37 regulator-min-microvolt = <3300000>;
38 regulator-max-microvolt = <3300000>;
42 reg_usb_otg1_vbus: regulator-usb-otg1-vbus {
43 compatible = "regulator-fixed";
44 pinctrl-names = "default";
45 pinctrl-0 = <&pinctrl_otg1_reg>;
46 regulator-name = "usb_otg1_vbus";
47 regulator-min-microvolt = <5000000>;
48 regulator-max-microvolt = <5000000>;
49 gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
53 reg_usb_otg2_vbus: regulator-usb-otg2-vbus {
54 compatible = "regulator-fixed";
55 pinctrl-names = "default";
56 pinctrl-0 = <&pinctrl_otg2_reg>;
57 regulator-name = "usb_otg2_vbus";
58 regulator-min-microvolt = <5000000>;
59 regulator-max-microvolt = <5000000>;
60 gpio = <&gpio4 12 GPIO_ACTIVE_HIGH>;
64 reg_wlan: regulator-wlan {
65 compatible = "regulator-fixed";
66 regulator-name = "wlan-en-regulator";
67 regulator-min-microvolt = <1800000>;
68 regulator-max-microvolt = <1800000>;
69 gpio = <&gpio2 12 GPIO_ACTIVE_HIGH>;
70 startup-delay-us = <70000>;
76 pinctrl-names = "default";
77 pinctrl-0 = <&pinctrl_enet1>;
79 phy-reset-duration = <10>;
80 phy-reset-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
84 pinctrl-names = "default";
85 pinctrl-0 = <&pinctrl_i2c1>;
86 clock-frequency = <100000>;
90 compatible = "fsl,pfuze3000";
95 regulator-min-microvolt = <700000>;
96 regulator-max-microvolt = <1475000>;
99 regulator-ramp-delay = <6250>;
103 regulator-min-microvolt = <700000>;
104 regulator-max-microvolt = <1475000>;
107 regulator-ramp-delay = <6250>;
111 regulator-min-microvolt = <1500000>;
112 regulator-max-microvolt = <1850000>;
118 regulator-min-microvolt = <900000>;
119 regulator-max-microvolt = <1650000>;
125 regulator-min-microvolt = <5000000>;
126 regulator-max-microvolt = <5150000>;
130 regulator-min-microvolt = <1000000>;
131 regulator-max-microvolt = <3000000>;
142 regulator-min-microvolt = <1800000>;
143 regulator-max-microvolt = <3300000>;
148 regulator-min-microvolt = <800000>;
149 regulator-max-microvolt = <1550000>;
153 regulator-min-microvolt = <2850000>;
154 regulator-max-microvolt = <3300000>;
159 regulator-min-microvolt = <2850000>;
160 regulator-max-microvolt = <3300000>;
165 regulator-min-microvolt = <1800000>;
166 regulator-max-microvolt = <3300000>;
171 regulator-min-microvolt = <1800000>;
172 regulator-max-microvolt = <3300000>;
179 &i2c2 { /* Brick snap in sensors connector */
180 pinctrl-names = "default";
181 pinctrl-0 = <&pinctrl_i2c2>;
182 clock-frequency = <100000>;
186 &i2c4 { /* Onboard Motion sensors */
187 pinctrl-names = "default";
188 pinctrl-0 = <&pinctrl_i2c4>;
189 clock-frequency = <100000>;
194 pinctrl_bt_reg: btreggrp {
196 <MX6SX_PAD_KEY_ROW2__GPIO2_IO_17 0x15059>;
199 pinctrl_enet1: enet1grp {
201 <MX6SX_PAD_ENET1_CRS__GPIO2_IO_1 0xa0b1>,
202 <MX6SX_PAD_ENET1_MDC__ENET1_MDC 0xa0b1>,
203 <MX6SX_PAD_ENET1_MDIO__ENET1_MDIO 0xa0b1>,
204 <MX6SX_PAD_RGMII1_TD0__ENET1_TX_DATA_0 0xa0b1>,
205 <MX6SX_PAD_RGMII1_TD1__ENET1_TX_DATA_1 0xa0b1>,
206 <MX6SX_PAD_RGMII1_TX_CTL__ENET1_TX_EN 0xa0b1>,
208 <MX6SX_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x3081>,
209 <MX6SX_PAD_ENET2_TX_CLK__GPIO2_IO_9 0x3081>,
210 <MX6SX_PAD_RGMII1_RD0__ENET1_RX_DATA_0 0x3081>,
211 <MX6SX_PAD_RGMII1_RD1__ENET1_RX_DATA_1 0x3081>,
212 <MX6SX_PAD_RGMII1_RX_CTL__ENET1_RX_EN 0x3081>,
213 <MX6SX_PAD_RGMII1_RXC__ENET1_RX_ER 0x3081>,
215 <MX6SX_PAD_ENET2_RX_CLK__ENET2_REF_CLK_25M 0x91>;
218 pinctrl_i2c1: i2c1grp {
220 <MX6SX_PAD_GPIO1_IO00__I2C1_SCL 0x4001b8b1>,
221 <MX6SX_PAD_GPIO1_IO01__I2C1_SDA 0x4001b8b1>;
224 pinctrl_i2c2: i2c2grp {
226 <MX6SX_PAD_GPIO1_IO03__I2C2_SDA 0x4001b8b1>,
227 <MX6SX_PAD_GPIO1_IO02__I2C2_SCL 0x4001b8b1>;
230 pinctrl_i2c4: i2c4grp {
232 <MX6SX_PAD_USB_H_DATA__I2C4_SDA 0x4001b8b1>,
233 <MX6SX_PAD_USB_H_STROBE__I2C4_SCL 0x4001b8b1>;
236 pinctrl_uart1: uart1grp {
238 <MX6SX_PAD_GPIO1_IO04__UART1_DCE_TX 0x1b0b1>,
239 <MX6SX_PAD_GPIO1_IO05__UART1_DCE_RX 0x1b0b1>;
242 pinctrl_uart2: uart2grp {
244 <MX6SX_PAD_GPIO1_IO06__UART2_DCE_TX 0x1b0b1>,
245 <MX6SX_PAD_GPIO1_IO07__UART2_DCE_RX 0x1b0b1>;
248 pinctrl_uart3: uart3grp {
250 <MX6SX_PAD_SD3_DATA4__UART3_DCE_RX 0x13059>,
251 <MX6SX_PAD_SD3_DATA5__UART3_DCE_TX 0x13059>,
252 <MX6SX_PAD_SD3_DATA6__UART3_DCE_RTS 0x13059>,
253 <MX6SX_PAD_SD3_DATA7__UART3_DCE_CTS 0x13059>;
256 pinctrl_uart5: uart5grp {
258 <MX6SX_PAD_SD4_DATA4__UART5_DCE_RX 0x1b0b1>,
259 <MX6SX_PAD_SD4_DATA5__UART5_DCE_TX 0x1b0b1>;
262 pinctrl_uart6: uart6grp {
264 <MX6SX_PAD_CSI_DATA00__UART6_RI_B 0x1b0b1>,
265 <MX6SX_PAD_CSI_DATA01__UART6_DSR_B 0x1b0b1>,
266 <MX6SX_PAD_CSI_DATA02__UART6_DTR_B 0x1b0b1>,
267 <MX6SX_PAD_CSI_DATA03__UART6_DCD_B 0x1b0b1>,
268 <MX6SX_PAD_CSI_DATA04__UART6_DCE_RX 0x1b0b1>,
269 <MX6SX_PAD_CSI_DATA05__UART6_DCE_TX 0x1b0b1>,
270 <MX6SX_PAD_CSI_DATA06__UART6_DCE_RTS 0x1b0b1>,
271 <MX6SX_PAD_CSI_DATA07__UART6_DCE_CTS 0x1b0b1>;
274 pinctrl_otg1_reg: otg1grp {
276 <MX6SX_PAD_GPIO1_IO09__GPIO1_IO_9 0x10b0>;
280 pinctrl_otg2_reg: otg2grp {
282 <MX6SX_PAD_NAND_RE_B__GPIO4_IO_12 0x10b0>;
285 pinctrl_usb_otg1: usbotg1grp {
287 <MX6SX_PAD_GPIO1_IO10__ANATOP_OTG1_ID 0x17059>,
288 <MX6SX_PAD_GPIO1_IO08__USB_OTG1_OC 0x10b0>;
291 pinctrl_usb_otg2: usbot2ggrp {
293 <MX6SX_PAD_QSPI1A_DATA0__USB_OTG2_OC 0x10b0>;
296 pinctrl_usdhc2: usdhc2grp {
298 <MX6SX_PAD_SD2_CMD__USDHC2_CMD 0x17059>,
299 <MX6SX_PAD_SD2_CLK__USDHC2_CLK 0x10059>,
300 <MX6SX_PAD_SD2_DATA0__USDHC2_DATA0 0x17059>,
301 <MX6SX_PAD_SD2_DATA1__USDHC2_DATA1 0x17059>,
302 <MX6SX_PAD_SD2_DATA2__USDHC2_DATA2 0x17059>,
303 <MX6SX_PAD_SD2_DATA3__USDHC2_DATA3 0x17059>,
304 <MX6SX_PAD_SD1_DATA0__GPIO6_IO_2 0x17059>; /* CD */
307 pinctrl_usdhc3: usdhc3grp {
309 <MX6SX_PAD_KEY_COL2__GPIO2_IO_12 0x15059>,
310 <MX6SX_PAD_KEY_ROW1__GPIO2_IO_16 0x13059>,
311 <MX6SX_PAD_SD3_DATA0__USDHC3_DATA0 0x17069>,
312 <MX6SX_PAD_SD3_DATA1__USDHC3_DATA1 0x17069>,
313 <MX6SX_PAD_SD3_DATA2__USDHC3_DATA2 0x17069>,
314 <MX6SX_PAD_SD3_DATA3__USDHC3_DATA3 0x17069>,
315 <MX6SX_PAD_SD3_CMD__USDHC3_CMD 0x17069>,
316 <MX6SX_PAD_SD3_CLK__USDHC3_CLK 0x10069>,
317 <MX6SX_PAD_CSI_MCLK__OSC32K_32K_OUT 0x10059>;
322 pinctrl-names = "default";
323 pinctrl-0 = <&pinctrl_uart1>;
327 /* Cortex-M4 serial */
329 pinctrl-names = "default";
330 pinctrl-0 = <&pinctrl_uart2>;
334 &uart3 { /* Bluetooth - only on Extended/Full versions */
335 pinctrl-names = "default";
336 pinctrl-0 = <&pinctrl_uart3>;
341 compatible = "ti,wl1831-st";
342 enable-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>;
343 pinctrl-names = "default";
344 pinctrl-0 = <&pinctrl_bt_reg>;
345 max-speed = <921600>;
351 pinctrl-names = "default";
352 pinctrl-0 = <&pinctrl_uart5>;
357 pinctrl-names = "default";
358 pinctrl-0 = <&pinctrl_uart6>;
363 &usbotg1 { /* J2 micro USB port */
364 vbus-supply = <®_usb_otg1_vbus>;
365 pinctrl-names = "default";
366 pinctrl-0 = <&pinctrl_usb_otg1>;
370 &usbotg2 { /* J3 host USB port */
371 vbus-supply = <®_usb_otg2_vbus>;
372 pinctrl-names = "default";
373 pinctrl-0 = <&pinctrl_usb_otg2>;
379 pinctrl-names = "default";
380 pinctrl-0 = <&pinctrl_usdhc2>;
381 vmmc-supply = <®_sdio_pwr>;
383 cd-gpios = <&gpio6 2 GPIO_ACTIVE_LOW>;
385 keep-power-in-suspend;
390 &usdhc3 { /* Wi-Fi */
391 pinctrl-names = "default";
392 pinctrl-0 = <&pinctrl_usdhc3>;
394 vmmc-supply = <®_wlan>;
397 keep-power-in-suspend;
398 #address-cells = <1>;
403 compatible = "ti,wl1831";
405 interrupt-parent = <&gpio2>;
406 interrupts = <16 IRQ_TYPE_EDGE_RISING>;
407 ref-clock-frequency = <38400000>;
408 tcxo-clock-frequency = <26000000>;