1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright (C) 2019 Zodiac Inflight Innovations
19 compatible = "virtual,mdio-gpio";
20 pinctrl-names = "default";
21 pinctrl-0 = <&pinctrl_mdio_bitbang>, <&pinctrl_fec1_phy_reset>;
22 gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>, /* MDC */
23 <&gpio1 14 GPIO_ACTIVE_HIGH>; /* MDIO */
27 phy0: ethernet-phy@0 {
29 reset-gpios = <&gpio1 29 GPIO_ACTIVE_LOW>;
33 pcie0_refclk: clock-pcie0-refclk {
34 compatible = "fixed-clock";
36 clock-frequency = <100000000>;
39 pcie1_refclk: clock-pcie1-refclk {
40 compatible = "fixed-clock";
42 clock-frequency = <100000000>;
45 reg_12p0_main: regulator-12p0-main {
46 compatible = "regulator-fixed";
47 regulator-name = "12V_MAIN";
48 regulator-min-microvolt = <5000000>;
49 regulator-max-microvolt = <5000000>;
53 reg_5p0_main: regulator-5p0-main {
54 compatible = "regulator-fixed";
55 vin-supply = <®_12p0_main>;
56 regulator-name = "5V_MAIN";
57 regulator-min-microvolt = <5000000>;
58 regulator-max-microvolt = <5000000>;
62 reg_3p3_main: regulator-3p3-main {
63 compatible = "regulator-fixed";
64 vin-supply = <®_12p0_main>;
65 regulator-name = "3V3_MAIN";
66 regulator-min-microvolt = <3300000>;
67 regulator-max-microvolt = <3300000>;
71 reg_gen_3p3: regulator-gen-3p3 {
72 compatible = "regulator-fixed";
73 vin-supply = <®_3p3_main>;
74 regulator-name = "GEN_3V3";
75 regulator-min-microvolt = <3300000>;
76 regulator-max-microvolt = <3300000>;
80 reg_usdhc2_vmmc: regulator-vsd-3v3 {
81 pinctrl-names = "default";
82 pinctrl-0 = <&pinctrl_reg_usdhc2>;
83 compatible = "regulator-fixed";
84 vin-supply = <®_gen_3p3>;
85 regulator-name = "3V3_SD";
86 regulator-min-microvolt = <3300000>;
87 regulator-max-microvolt = <3300000>;
88 gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
92 reg_arm: regulator-arm {
93 pinctrl-names = "default";
94 pinctrl-0 = <&pinctrl_reg_arm>;
95 compatible = "regulator-gpio";
96 vin-supply = <®_12p0_main>;
97 regulator-name = "0V9_ARM";
98 regulator-min-microvolt = <900000>;
99 regulator-max-microvolt = <1000000>;
100 gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
101 states = <1000000 0x1
108 cpu-supply = <®_arm>;
112 cpu-supply = <®_arm>;
116 cpu-supply = <®_arm>;
120 cpu-supply = <®_arm>;
124 pinctrl-names = "default";
125 pinctrl-0 = <&pinctrl_fec1>;
127 phy-handle = <&phy0>;
132 #address-cells = <1>;
134 clock-frequency = <12500000>;
139 compatible = "marvell,mv88e6085";
140 pinctrl-0 = <&pinctrl_switch_irq>;
141 pinctrl-names = "default";
144 eeprom-length = <512>;
145 interrupt-parent = <&gpio1>;
146 interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
147 interrupt-controller;
148 #interrupt-cells = <2>;
151 #address-cells = <1>;
156 label = "gigabit_proc";
157 phy-handle = <&switchphy0>;
163 phy-handle = <&switchphy1>;
180 phy-handle = <&switchphy3>;
186 phy-handle = <&switchphy4>;
191 #address-cells = <1>;
194 switchphy0: switchphy@0 {
196 interrupt-parent = <&switch>;
197 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
200 switchphy1: switchphy@1 {
202 interrupt-parent = <&switch>;
203 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
206 switchphy2: switchphy@2 {
208 interrupt-parent = <&switch>;
209 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
212 switchphy3: switchphy@3 {
214 interrupt-parent = <&switch>;
215 interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
218 switchphy4: switchphy@4 {
220 interrupt-parent = <&switch>;
221 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
229 pinctrl-names = "default";
230 pinctrl-0 = <&pinctrl_gpio3_hog>;
234 gpios = <10 GPIO_ACTIVE_HIGH>;
236 line-name = "usb-emulation";
241 gpios = <11 GPIO_ACTIVE_HIGH>;
243 line-name = "usb-mode1";
248 gpios = <12 GPIO_ACTIVE_LOW>;
250 line-name = "usb-pwr-ctrl-en-n";
255 gpios = <13 GPIO_ACTIVE_HIGH>;
257 line-name = "usb-mode2";
262 clock-frequency = <400000>;
263 pinctrl-names = "default";
264 pinctrl-0 = <&pinctrl_i2c1>;
268 compatible = "fsl,mma8451";
269 pinctrl-names = "default";
270 pinctrl-0 = <&pinctrl_accel>;
272 interrupt-parent = <&gpio3>;
273 interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
274 interrupt-names = "INT2";
275 vdd-supply = <®_gen_3p3>;
276 vddio-supply = <®_gen_3p3>;
279 ucs1002: charger@32 {
280 compatible = "microchip,ucs1002";
281 pinctrl-names = "default";
282 pinctrl-0 = <&pinctrl_ucs1002>;
284 interrupt-parent = <&gpio3>;
285 interrupts = <17 IRQ_TYPE_EDGE_BOTH>,
286 <18 IRQ_TYPE_EDGE_BOTH>;
287 interrupt-names = "a_det", "alert";
292 clock-frequency = <400000>;
293 pinctrl-names = "default";
294 pinctrl-0 = <&pinctrl_i2c2>;
298 compatible = "fsl,pfuze100";
303 regulator-min-microvolt = <825000>;
304 regulator-max-microvolt = <1100000>;
308 regulator-min-microvolt = <825000>;
309 regulator-max-microvolt = <1100000>;
313 regulator-min-microvolt = <1100000>;
314 regulator-max-microvolt = <1100000>;
319 regulator-min-microvolt = <825000>;
320 regulator-max-microvolt = <1100000>;
325 regulator-min-microvolt = <1800000>;
326 regulator-max-microvolt = <1800000>;
331 regulator-min-microvolt = <5000000>;
332 regulator-max-microvolt = <5150000>;
336 regulator-min-microvolt = <1000000>;
337 regulator-max-microvolt = <3000000>;
346 regulator-min-microvolt = <800000>;
347 regulator-max-microvolt = <1550000>;
351 regulator-min-microvolt = <850000>;
352 regulator-max-microvolt = <975000>;
357 regulator-min-microvolt = <1675000>;
358 regulator-max-microvolt = <1975000>;
363 regulator-min-microvolt = <1625000>;
364 regulator-max-microvolt = <1875000>;
369 regulator-min-microvolt = <3075000>;
370 regulator-max-microvolt = <3625000>;
375 regulator-min-microvolt = <1800000>;
376 regulator-max-microvolt = <3300000>;
382 compatible = "atmel,24c128";
387 compatible = "dallas,ds1341";
393 clock-frequency = <100000>;
394 pinctrl-names = "default";
395 pinctrl-0 = <&pinctrl_i2c3>;
399 compatible ="microchip,usb2513b";
400 pinctrl-names = "default";
401 pinctrl-0 = <&pinctrl_usbhub>;
403 reset-gpios = <&gpio3 25 GPIO_ACTIVE_LOW>;
407 compatible = "zii,rave-wdt";
413 clock-frequency = <400000>;
414 pinctrl-names = "default";
415 pinctrl-0 = <&pinctrl_i2c4>;
420 pinctrl-names = "default";
421 pinctrl-0 = <&pinctrl_uart1>;
426 pinctrl-names = "default";
427 pinctrl-0 = <&pinctrl_uart2>;
431 compatible = "zii,rave-sp-rdu2";
432 current-speed = <1000000>;
433 #address-cells = <1>;
437 compatible = "zii,rave-sp-watchdog";
441 compatible = "zii,rave-sp-backlight";
445 compatible = "zii,rave-sp-pwrbutton";
449 compatible = "zii,rave-sp-eeprom";
451 zii,eeprom-name = "dds-eeprom";
455 compatible = "zii,rave-sp-eeprom";
457 #address-cells = <1>;
459 zii,eeprom-name = "main-eeprom";
465 vbus-supply = <&ucs1002>;
475 vbus-supply = <®_5p0_main>;
485 pinctrl-names = "default";
486 pinctrl-0 = <&pinctrl_pcie0>;
487 reset-gpio = <&gpio1 3 GPIO_ACTIVE_LOW>;
488 clocks = <&clk IMX8MQ_CLK_PCIE1_ROOT>,
489 <&clk IMX8MQ_CLK_PCIE1_AUX>,
490 <&clk IMX8MQ_CLK_PCIE1_PHY>,
492 clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus";
497 pinctrl-names = "default";
498 pinctrl-0 = <&pinctrl_pcie1>;
499 reset-gpio = <&gpio1 6 GPIO_ACTIVE_LOW>;
500 clocks = <&clk IMX8MQ_CLK_PCIE2_ROOT>,
501 <&clk IMX8MQ_CLK_PCIE2_AUX>,
502 <&clk IMX8MQ_CLK_PCIE2_PHY>,
504 clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus";
509 power-supply = <&sw1a_reg>;
513 power-supply = <&sw1c_reg>;
517 assigned-clocks = <&clk IMX8MQ_CLK_USDHC1>;
518 assigned-clock-rates = <400000000>;
519 pinctrl-names = "default", "state_100mhz", "state_200mhz";
520 pinctrl-0 = <&pinctrl_usdhc1>;
521 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
522 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
523 vqmmc-supply = <&sw4_reg>;
532 assigned-clocks = <&clk IMX8MQ_CLK_USDHC2>;
533 assigned-clock-rates = <200000000>;
534 pinctrl-names = "default", "state_100mhz", "state_200mhz";
535 pinctrl-0 = <&pinctrl_usdhc2>;
536 pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
537 pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
538 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
539 vmmc-supply = <®_usdhc2_vmmc>;
548 pinctrl_accel: accelgrp {
550 MX8MQ_IOMUXC_SAI5_RXC_GPIO3_IO20 0x41
554 pinctrl_fec1: fec1grp {
556 MX8MQ_IOMUXC_ENET_MDC_ENET1_MDC 0x3
557 MX8MQ_IOMUXC_ENET_MDIO_ENET1_MDIO 0x23
558 MX8MQ_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f
559 MX8MQ_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f
560 MX8MQ_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91
561 MX8MQ_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91
562 MX8MQ_IOMUXC_ENET_TD2_ENET1_TX_CLK 0x1f
563 MX8MQ_IOMUXC_ENET_RXC_ENET1_RX_ER 0x91
564 MX8MQ_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91
565 MX8MQ_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f
569 pinctrl_fec1_phy_reset: fec1phyresetgrp {
571 MX8MQ_IOMUXC_ENET_RD3_GPIO1_IO29 0x11
575 pinctrl_gpio3_hog: gpio3hoggrp {
577 MX8MQ_IOMUXC_NAND_DATA04_GPIO3_IO10 0x6
578 MX8MQ_IOMUXC_NAND_DATA05_GPIO3_IO11 0x6
579 MX8MQ_IOMUXC_NAND_DATA06_GPIO3_IO12 0x6
580 MX8MQ_IOMUXC_NAND_DATA07_GPIO3_IO13 0x6
584 pinctrl_i2c1: i2c1grp {
586 MX8MQ_IOMUXC_I2C1_SCL_I2C1_SCL 0x4000007f
587 MX8MQ_IOMUXC_I2C1_SDA_I2C1_SDA 0x4000007f
591 pinctrl_i2c2: i2c2grp {
593 MX8MQ_IOMUXC_I2C2_SCL_I2C2_SCL 0x4000007f
594 MX8MQ_IOMUXC_I2C2_SDA_I2C2_SDA 0x4000007f
598 pinctrl_i2c3: i2c3grp {
600 MX8MQ_IOMUXC_I2C3_SCL_I2C3_SCL 0x4000007f
601 MX8MQ_IOMUXC_I2C3_SDA_I2C3_SDA 0x4000007f
605 pinctrl_i2c4: i2c4grp {
607 MX8MQ_IOMUXC_I2C4_SCL_I2C4_SCL 0x4000007f
608 MX8MQ_IOMUXC_I2C4_SDA_I2C4_SDA 0x4000007f
612 pinctrl_mdio_bitbang: bitbangmdiogrp {
614 MX8MQ_IOMUXC_GPIO1_IO13_GPIO1_IO13 0x44
615 MX8MQ_IOMUXC_GPIO1_IO14_GPIO1_IO14 0x64
619 pinctrl_pcie0: pcie0grp {
621 MX8MQ_IOMUXC_UART4_RXD_PCIE1_CLKREQ_B 0x66
622 MX8MQ_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x6
626 pinctrl_pcie1: pcie1grp {
628 MX8MQ_IOMUXC_UART4_TXD_PCIE2_CLKREQ_B 0x66
629 MX8MQ_IOMUXC_GPIO1_IO06_GPIO1_IO6 0x6
633 pinctrl_reg_arm: regarmgrp {
635 MX8MQ_IOMUXC_NAND_READY_B_GPIO3_IO16 0x19
639 pinctrl_reg_usdhc2: regusdhc2grp {
641 MX8MQ_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41
645 pinctrl_switch_irq: switchgrp {
647 MX8MQ_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x41
653 MX8MQ_IOMUXC_GPIO1_IO11_GPIO1_IO11 0x96
654 MX8MQ_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x96
658 pinctrl_uart1: uart1grp {
660 MX8MQ_IOMUXC_UART1_RXD_UART1_DCE_RX 0x49
661 MX8MQ_IOMUXC_UART1_TXD_UART1_DCE_TX 0x49
665 pinctrl_uart2: uart2grp {
667 MX8MQ_IOMUXC_UART2_RXD_UART2_DCE_RX 0x49
668 MX8MQ_IOMUXC_UART2_TXD_UART2_DCE_TX 0x49
672 pinctrl_ucs1002: ucs1002grp {
674 MX8MQ_IOMUXC_NAND_WE_B_GPIO3_IO17 0x41
675 MX8MQ_IOMUXC_NAND_WP_B_GPIO3_IO18 0x41
679 pinctrl_usbhub: usbhubgrp {
681 MX8MQ_IOMUXC_SAI5_MCLK_GPIO3_IO25 0x41
685 pinctrl_usdhc1: usdhc1grp {
687 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x83
688 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xc3
689 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xc3
690 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xc3
691 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xc3
692 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xc3
693 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xc3
694 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xc3
695 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xc3
696 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xc3
697 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x83
698 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1
702 pinctrl_usdhc1_100mhz: usdhc1-100grp {
704 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x8d
705 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xcd
706 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xcd
707 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xcd
708 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xcd
709 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xcd
710 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xcd
711 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xcd
712 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xcd
713 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xcd
714 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x8d
715 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1
719 pinctrl_usdhc1_200mhz: usdhc1-200grp {
721 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x9f
722 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xdf
723 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xdf
724 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xdf
725 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xdf
726 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xdf
727 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xdf
728 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xdf
729 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xdf
730 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xdf
731 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x9f
732 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1
736 pinctrl_usdhc2: usdhc2grp {
738 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x83
739 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xc3
740 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xc3
741 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xc3
742 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xc3
743 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xc3
744 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1
748 pinctrl_usdhc2_100mhz: usdhc2-100grp {
750 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x85
751 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xc5
752 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xc5
753 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xc5
754 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xc5
755 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xc5
756 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1
760 pinctrl_usdhc2_200mhz: usdhc2-200grp {
762 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x87
763 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xc7
764 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xc7
765 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xc7
766 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xc7
767 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xc7
768 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1