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>;
137 compatible = "marvell,mv88e6085";
138 pinctrl-0 = <&pinctrl_switch_irq>;
139 pinctrl-names = "default";
142 eeprom-length = <512>;
143 interrupt-parent = <&gpio1>;
144 interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
145 interrupt-controller;
146 #interrupt-cells = <2>;
149 #address-cells = <1>;
154 label = "gigabit_proc";
155 phy-handle = <&switchphy0>;
161 phy-handle = <&switchphy1>;
178 phy-handle = <&switchphy3>;
184 phy-handle = <&switchphy4>;
189 #address-cells = <1>;
192 switchphy0: switchphy@0 {
194 interrupt-parent = <&switch>;
195 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
198 switchphy1: switchphy@1 {
200 interrupt-parent = <&switch>;
201 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
204 switchphy2: switchphy@2 {
206 interrupt-parent = <&switch>;
207 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
210 switchphy3: switchphy@3 {
212 interrupt-parent = <&switch>;
213 interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
216 switchphy4: switchphy@4 {
218 interrupt-parent = <&switch>;
219 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
227 pinctrl-names = "default";
228 pinctrl-0 = <&pinctrl_gpio3_hog>;
232 gpios = <10 GPIO_ACTIVE_HIGH>;
234 line-name = "usb-emulation";
239 gpios = <11 GPIO_ACTIVE_HIGH>;
241 line-name = "usb-mode1";
246 gpios = <12 GPIO_ACTIVE_LOW>;
248 line-name = "usb-pwr-ctrl-en-n";
253 gpios = <13 GPIO_ACTIVE_HIGH>;
255 line-name = "usb-mode2";
260 clock-frequency = <400000>;
261 pinctrl-names = "default";
262 pinctrl-0 = <&pinctrl_i2c1>;
266 compatible = "fsl,mma8451";
267 pinctrl-names = "default";
268 pinctrl-0 = <&pinctrl_accel>;
270 interrupt-parent = <&gpio3>;
271 interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
272 interrupt-names = "INT2";
273 vdd-supply = <®_gen_3p3>;
274 vddio-supply = <®_gen_3p3>;
277 ucs1002: charger@32 {
278 compatible = "microchip,ucs1002";
279 pinctrl-names = "default";
280 pinctrl-0 = <&pinctrl_ucs1002>;
282 interrupt-parent = <&gpio3>;
283 interrupts = <17 IRQ_TYPE_EDGE_BOTH>,
284 <18 IRQ_TYPE_EDGE_BOTH>;
285 interrupt-names = "a_det", "alert";
290 clock-frequency = <400000>;
291 pinctrl-names = "default";
292 pinctrl-0 = <&pinctrl_i2c2>;
296 compatible = "fsl,pfuze100";
301 regulator-min-microvolt = <825000>;
302 regulator-max-microvolt = <1100000>;
306 regulator-min-microvolt = <825000>;
307 regulator-max-microvolt = <1100000>;
311 regulator-min-microvolt = <1100000>;
312 regulator-max-microvolt = <1100000>;
317 regulator-min-microvolt = <825000>;
318 regulator-max-microvolt = <1100000>;
323 regulator-min-microvolt = <1800000>;
324 regulator-max-microvolt = <1800000>;
329 regulator-min-microvolt = <5000000>;
330 regulator-max-microvolt = <5150000>;
334 regulator-min-microvolt = <1000000>;
335 regulator-max-microvolt = <3000000>;
344 regulator-min-microvolt = <800000>;
345 regulator-max-microvolt = <1550000>;
349 regulator-min-microvolt = <850000>;
350 regulator-max-microvolt = <975000>;
355 regulator-min-microvolt = <1675000>;
356 regulator-max-microvolt = <1975000>;
361 regulator-min-microvolt = <1625000>;
362 regulator-max-microvolt = <1875000>;
367 regulator-min-microvolt = <3075000>;
368 regulator-max-microvolt = <3625000>;
373 regulator-min-microvolt = <1800000>;
374 regulator-max-microvolt = <3300000>;
380 compatible = "atmel,24c128";
385 compatible = "dallas,ds1341";
391 clock-frequency = <100000>;
392 pinctrl-names = "default";
393 pinctrl-0 = <&pinctrl_i2c3>;
397 compatible ="microchip,usb2513b";
398 pinctrl-names = "default";
399 pinctrl-0 = <&pinctrl_usbhub>;
401 reset-gpios = <&gpio3 25 GPIO_ACTIVE_LOW>;
405 compatible = "zii,rave-wdt";
411 clock-frequency = <400000>;
412 pinctrl-names = "default";
413 pinctrl-0 = <&pinctrl_i2c4>;
418 pinctrl-names = "default";
419 pinctrl-0 = <&pinctrl_uart1>;
424 pinctrl-names = "default";
425 pinctrl-0 = <&pinctrl_uart2>;
429 compatible = "zii,rave-sp-rdu2";
430 current-speed = <1000000>;
431 #address-cells = <1>;
435 compatible = "zii,rave-sp-watchdog";
439 compatible = "zii,rave-sp-backlight";
443 compatible = "zii,rave-sp-pwrbutton";
447 compatible = "zii,rave-sp-eeprom";
449 zii,eeprom-name = "dds-eeprom";
453 compatible = "zii,rave-sp-eeprom";
455 #address-cells = <1>;
457 zii,eeprom-name = "main-eeprom";
463 vbus-supply = <&ucs1002>;
473 vbus-supply = <®_5p0_main>;
483 pinctrl-names = "default";
484 pinctrl-0 = <&pinctrl_pcie0>;
485 reset-gpio = <&gpio1 3 GPIO_ACTIVE_LOW>;
486 clocks = <&clk IMX8MQ_CLK_PCIE1_ROOT>,
487 <&clk IMX8MQ_CLK_PCIE1_AUX>,
488 <&clk IMX8MQ_CLK_PCIE1_PHY>,
490 clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus";
495 pinctrl-names = "default";
496 pinctrl-0 = <&pinctrl_pcie1>;
497 reset-gpio = <&gpio1 6 GPIO_ACTIVE_LOW>;
498 clocks = <&clk IMX8MQ_CLK_PCIE2_ROOT>,
499 <&clk IMX8MQ_CLK_PCIE2_AUX>,
500 <&clk IMX8MQ_CLK_PCIE2_PHY>,
502 clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus";
507 power-supply = <&sw1a_reg>;
511 power-supply = <&sw1c_reg>;
515 assigned-clocks = <&clk IMX8MQ_CLK_USDHC1>;
516 assigned-clock-rates = <400000000>;
517 pinctrl-names = "default", "state_100mhz", "state_200mhz";
518 pinctrl-0 = <&pinctrl_usdhc1>;
519 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
520 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
521 vqmmc-supply = <&sw4_reg>;
530 assigned-clocks = <&clk IMX8MQ_CLK_USDHC2>;
531 assigned-clock-rates = <200000000>;
532 pinctrl-names = "default", "state_100mhz", "state_200mhz";
533 pinctrl-0 = <&pinctrl_usdhc2>;
534 pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
535 pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
536 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
537 vmmc-supply = <®_usdhc2_vmmc>;
546 pinctrl_accel: accelgrp {
548 MX8MQ_IOMUXC_SAI5_RXC_GPIO3_IO20 0x41
552 pinctrl_fec1: fec1grp {
554 MX8MQ_IOMUXC_ENET_MDC_ENET1_MDC 0x3
555 MX8MQ_IOMUXC_ENET_MDIO_ENET1_MDIO 0x23
556 MX8MQ_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f
557 MX8MQ_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f
558 MX8MQ_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91
559 MX8MQ_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91
560 MX8MQ_IOMUXC_ENET_TD2_ENET1_TX_CLK 0x1f
561 MX8MQ_IOMUXC_ENET_RXC_ENET1_RX_ER 0x91
562 MX8MQ_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91
563 MX8MQ_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f
567 pinctrl_fec1_phy_reset: fec1phyresetgrp {
569 MX8MQ_IOMUXC_ENET_RD3_GPIO1_IO29 0x11
573 pinctrl_gpio3_hog: gpio3hoggrp {
575 MX8MQ_IOMUXC_NAND_DATA04_GPIO3_IO10 0x6
576 MX8MQ_IOMUXC_NAND_DATA05_GPIO3_IO11 0x6
577 MX8MQ_IOMUXC_NAND_DATA06_GPIO3_IO12 0x6
578 MX8MQ_IOMUXC_NAND_DATA07_GPIO3_IO13 0x6
582 pinctrl_i2c1: i2c1grp {
584 MX8MQ_IOMUXC_I2C1_SCL_I2C1_SCL 0x4000007f
585 MX8MQ_IOMUXC_I2C1_SDA_I2C1_SDA 0x4000007f
589 pinctrl_i2c2: i2c2grp {
591 MX8MQ_IOMUXC_I2C2_SCL_I2C2_SCL 0x4000007f
592 MX8MQ_IOMUXC_I2C2_SDA_I2C2_SDA 0x4000007f
596 pinctrl_i2c3: i2c3grp {
598 MX8MQ_IOMUXC_I2C3_SCL_I2C3_SCL 0x4000007f
599 MX8MQ_IOMUXC_I2C3_SDA_I2C3_SDA 0x4000007f
603 pinctrl_i2c4: i2c4grp {
605 MX8MQ_IOMUXC_I2C4_SCL_I2C4_SCL 0x4000007f
606 MX8MQ_IOMUXC_I2C4_SDA_I2C4_SDA 0x4000007f
610 pinctrl_mdio_bitbang: bitbangmdiogrp {
612 MX8MQ_IOMUXC_GPIO1_IO13_GPIO1_IO13 0x44
613 MX8MQ_IOMUXC_GPIO1_IO14_GPIO1_IO14 0x64
617 pinctrl_pcie0: pcie0grp {
619 MX8MQ_IOMUXC_UART4_RXD_PCIE1_CLKREQ_B 0x66
620 MX8MQ_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x6
624 pinctrl_pcie1: pcie1grp {
626 MX8MQ_IOMUXC_UART4_TXD_PCIE2_CLKREQ_B 0x66
627 MX8MQ_IOMUXC_GPIO1_IO06_GPIO1_IO6 0x6
631 pinctrl_reg_arm: regarmgrp {
633 MX8MQ_IOMUXC_NAND_READY_B_GPIO3_IO16 0x19
637 pinctrl_reg_usdhc2: regusdhc2grp {
639 MX8MQ_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41
643 pinctrl_switch_irq: switchgrp {
645 MX8MQ_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x41
651 MX8MQ_IOMUXC_GPIO1_IO11_GPIO1_IO11 0x96
652 MX8MQ_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x96
656 pinctrl_uart1: uart1grp {
658 MX8MQ_IOMUXC_UART1_RXD_UART1_DCE_RX 0x49
659 MX8MQ_IOMUXC_UART1_TXD_UART1_DCE_TX 0x49
663 pinctrl_uart2: uart2grp {
665 MX8MQ_IOMUXC_UART2_RXD_UART2_DCE_RX 0x49
666 MX8MQ_IOMUXC_UART2_TXD_UART2_DCE_TX 0x49
670 pinctrl_ucs1002: ucs1002grp {
672 MX8MQ_IOMUXC_NAND_WE_B_GPIO3_IO17 0x41
673 MX8MQ_IOMUXC_NAND_WP_B_GPIO3_IO18 0x41
677 pinctrl_usbhub: usbhubgrp {
679 MX8MQ_IOMUXC_SAI5_MCLK_GPIO3_IO25 0x41
683 pinctrl_usdhc1: usdhc1grp {
685 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x83
686 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xc3
687 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xc3
688 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xc3
689 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xc3
690 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xc3
691 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xc3
692 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xc3
693 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xc3
694 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xc3
695 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x83
696 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1
700 pinctrl_usdhc1_100mhz: usdhc1-100grp {
702 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x8d
703 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xcd
704 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xcd
705 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xcd
706 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xcd
707 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xcd
708 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xcd
709 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xcd
710 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xcd
711 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xcd
712 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x8d
713 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1
717 pinctrl_usdhc1_200mhz: usdhc1-200grp {
719 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x9f
720 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xdf
721 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xdf
722 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xdf
723 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xdf
724 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xdf
725 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xdf
726 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xdf
727 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xdf
728 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xdf
729 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x9f
730 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1
734 pinctrl_usdhc2: usdhc2grp {
736 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x83
737 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xc3
738 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xc3
739 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xc3
740 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xc3
741 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xc3
742 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1
746 pinctrl_usdhc2_100mhz: usdhc2-100grp {
748 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x85
749 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xc5
750 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xc5
751 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xc5
752 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xc5
753 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xc5
754 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1
758 pinctrl_usdhc2_200mhz: usdhc2-200grp {
760 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x87
761 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xc7
762 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xc7
763 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xc7
764 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xc7
765 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xc7
766 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1