1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Copyright (C) 2018 Zodiac Inflight Innovations
12 model = "ZII SCU2 Mezz Board";
13 compatible = "zii,imx51-scu2-mezz", "fsl,imx51";
19 /* Will be filled by the bootloader */
21 device_type = "memory";
26 mdio-gpio0 = &mdio_gpio;
29 usb_vbus: regulator-usb-vbus {
30 compatible = "regulator-fixed";
31 pinctrl-names = "default";
32 pinctrl-0 = <&pinctrl_usb_mmc_reset>;
33 gpio = <&gpio3 13 GPIO_ACTIVE_LOW>;
34 startup-delay-us = <150000>;
35 regulator-name = "usb_vbus";
36 regulator-min-microvolt = <5000000>;
37 regulator-max-microvolt = <5000000>;
40 mdio_gpio: mdio-gpio {
41 compatible = "virtual,mdio-gpio";
42 pinctrl-names = "default";
43 pinctrl-0 = <&pinctrl_swmdio>;
44 gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>, /* mdc */
45 <&gpio2 6 GPIO_ACTIVE_HIGH>; /* mdio */
50 compatible = "marvell,mv88e6085";
53 eeprom-length = <512>;
54 interrupt-parent = <&gpio1>;
55 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
57 #interrupt-cells = <2>;
110 cpu-supply = <&sw1_reg>;
114 pinctrl-names = "default";
115 pinctrl-0 = <&pinctrl_ecspi1>;
116 cs-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>,
117 <&gpio4 25 GPIO_ACTIVE_LOW>;
121 compatible = "fsl,mc13892";
122 pinctrl-names = "default";
123 pinctrl-0 = <&pinctrl_pmic>;
124 spi-max-frequency = <6000000>;
127 interrupt-parent = <&gpio1>;
128 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
129 fsl,mc13xxx-uses-adc;
133 regulator-min-microvolt = <600000>;
134 regulator-max-microvolt = <1375000>;
140 regulator-min-microvolt = <900000>;
141 regulator-max-microvolt = <1850000>;
147 regulator-min-microvolt = <1100000>;
148 regulator-max-microvolt = <1850000>;
154 regulator-min-microvolt = <1100000>;
155 regulator-max-microvolt = <1850000>;
161 regulator-min-microvolt = <1050000>;
162 regulator-max-microvolt = <1800000>;
168 regulator-min-microvolt = <1650000>;
169 regulator-max-microvolt = <1650000>;
174 regulator-min-microvolt = <1800000>;
175 regulator-max-microvolt = <3150000>;
184 regulator-min-microvolt = <2400000>;
185 regulator-max-microvolt = <2775000>;
191 regulator-min-microvolt = <2775000>;
192 regulator-max-microvolt = <2775000>;
196 regulator-min-microvolt = <2300000>;
197 regulator-max-microvolt = <3000000>;
201 regulator-min-microvolt = <2500000>;
202 regulator-max-microvolt = <3000000>;
206 regulator-min-microvolt = <1200000>;
207 regulator-max-microvolt = <1200000>;
211 regulator-min-microvolt = <1200000>;
212 regulator-max-microvolt = <3150000>;
217 regulator-min-microvolt = <1800000>;
218 regulator-max-microvolt = <2900000>;
224 #address-cells = <1>;
226 led-control = <0x0 0x0 0x3f83f8 0x0>;
230 label = "system:red:power";
231 linux,default-trigger = "default-on";
236 label = "system:green:act";
237 linux,default-trigger = "heartbeat";
243 compatible = "atmel,at45", "atmel,dataflash";
245 spi-max-frequency = <25000000>;
250 pinctrl-names = "default";
251 pinctrl-0 = <&pinctrl_esdhc1>;
261 pinctrl-names = "default";
262 pinctrl-0 = <&pinctrl_esdhc4>;
266 cd-gpios = <&gpio4 8 GPIO_ACTIVE_LOW>;
271 pinctrl-names = "default";
272 pinctrl-0 = <&pinctrl_fec>;
275 phy-reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
276 phy-reset-duration = <1>;
277 phy-supply = <&vgen3_reg>;
278 phy-handle = <ðphy>;
281 #address-cells = <1>;
284 ethphy: ethernet-phy@0 {
292 pinctrl-names = "default";
293 pinctrl-0 = <&pinctrl_i2c2>;
297 compatible = "atmel,24c04";
304 pinctrl-names = "default";
305 pinctrl-0 = <&pinctrl_uart1>;
310 pinctrl-names = "default";
311 pinctrl-0 = <&pinctrl_uart3>;
315 compatible = "zii,rave-sp-mezz";
316 current-speed = <57600>;
317 #address-cells = <1>;
321 compatible = "zii,rave-sp-watchdog-legacy";
325 compatible = "zii,rave-sp-eeprom";
327 #address-cells = <1>;
329 zii,eeprom-name = "main-eeprom";
336 disable-over-current;
337 phy_type = "utmi_wide";
338 vbus-supply = <&usb_vbus>;
343 vcc-supply = <&vusb2_reg>;
347 pinctrl_ecspi1: ecspi1grp {
349 MX51_PAD_CSPI1_MISO__ECSPI1_MISO 0x185
350 MX51_PAD_CSPI1_MOSI__ECSPI1_MOSI 0x185
351 MX51_PAD_CSPI1_SCLK__ECSPI1_SCLK 0x185
352 MX51_PAD_CSPI1_SS0__GPIO4_24 0x85
353 MX51_PAD_CSPI1_SS1__GPIO4_25 0x85
357 pinctrl_esdhc1: esdhc1grp {
359 MX51_PAD_SD1_CMD__SD1_CMD 0x400020d5
360 MX51_PAD_SD1_CLK__SD1_CLK 0x20d5
361 MX51_PAD_SD1_DATA0__SD1_DATA0 0x20d5
362 MX51_PAD_SD1_DATA1__SD1_DATA1 0x20d5
363 MX51_PAD_SD1_DATA2__SD1_DATA2 0x20d5
364 MX51_PAD_SD1_DATA3__SD1_DATA3 0x20d5
365 MX51_PAD_SD2_DATA0__SD1_DAT4 0x20d5
366 MX51_PAD_SD2_DATA1__SD1_DAT5 0x20d5
367 MX51_PAD_SD2_DATA2__SD1_DAT6 0x20d5
368 MX51_PAD_SD2_DATA3__SD1_DAT7 0x20d5
372 pinctrl_esdhc4: esdhc4grp {
374 MX51_PAD_NANDF_RB1__SD4_CMD 0x400020d5
375 MX51_PAD_NANDF_CS2__SD4_CLK 0x20d5
376 MX51_PAD_NANDF_CS3__SD4_DAT0 0x20d5
377 MX51_PAD_NANDF_CS4__SD4_DAT1 0x20d5
378 MX51_PAD_NANDF_CS5__SD4_DAT2 0x20d5
379 MX51_PAD_NANDF_CS6__SD4_DAT3 0x20d5
380 MX51_PAD_NANDF_D0__GPIO4_8 0x100
384 pinctrl_fec: fecgrp {
386 MX51_PAD_DISP2_DAT15__FEC_TDATA0 0x2004
387 MX51_PAD_DISP2_DAT6__FEC_TDATA1 0x2004
388 MX51_PAD_DISP2_DAT7__FEC_TDATA2 0x2004
389 MX51_PAD_DISP2_DAT8__FEC_TDATA3 0x2004
390 MX51_PAD_DISP2_DAT9__FEC_TX_EN 0x2004
391 MX51_PAD_DISP2_DAT10__FEC_COL 0x0180
392 MX51_PAD_DISP2_DAT11__FEC_RX_CLK 0x0180
393 MX51_PAD_DISP2_DAT12__FEC_RX_DV 0x20a4
394 MX51_PAD_DISP2_DAT1__FEC_RX_ER 0x20a4
395 MX51_PAD_DISP2_DAT13__FEC_TX_CLK 0x2180
396 MX51_PAD_DI_GP3__FEC_TX_ER 0x2004
397 MX51_PAD_DISP2_DAT14__FEC_RDATA0 0x2180
398 MX51_PAD_DI2_DISP_CLK__FEC_RDATA1 0x0085
399 MX51_PAD_DI_GP4__FEC_RDATA2 0x0085
400 MX51_PAD_DISP2_DAT0__FEC_RDATA3 0x0085
401 MX51_PAD_DI2_PIN2__FEC_MDC 0x2004
402 MX51_PAD_DI2_PIN3__FEC_MDIO 0x01f5
403 MX51_PAD_DI2_PIN4__FEC_CRS 0x0180
404 MX51_PAD_EIM_A20__GPIO2_14 0x0085
405 MX51_PAD_EIM_A21__GPIO2_15 0x00e5
409 pinctrl_i2c2: i2c2grp {
411 MX51_PAD_KEY_COL4__I2C2_SCL 0x400001ed
412 MX51_PAD_KEY_COL5__I2C2_SDA 0x400001ed
416 pinctrl_pmic: pmicgrp {
418 MX51_PAD_GPIO1_4__GPIO1_4 0x85
419 MX51_PAD_GPIO1_8__GPIO1_8 0xe5
423 pinctrl_swmdio: swmdiogrp {
425 MX51_PAD_EIM_D22__GPIO2_6 0x100
426 MX51_PAD_EIM_D23__GPIO2_7 0x100
430 pinctrl_uart1: uart1grp {
432 MX51_PAD_UART1_RXD__UART1_RXD 0x1c5
433 MX51_PAD_UART1_TXD__UART1_TXD 0x1c5
437 pinctrl_uart3: uart3grp {
439 MX51_PAD_UART3_RXD__UART3_RXD 0x1c5
440 MX51_PAD_UART3_TXD__UART3_TXD 0x1c5
444 pinctrl_usb_mmc_reset: usbmmcgrp {
446 MX51_PAD_CSI1_D9__GPIO3_13 0x85