1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2020 Gateworks Corporation
6 #include "imx8mm-venice-u-boot.dtsi"
12 gpios = <0 GPIO_ACTIVE_HIGH>;
13 line-name = "uart1_rs422#";
19 gpios = <3 GPIO_ACTIVE_HIGH>;
20 line-name = "uart1_rs485#";
26 gpios = <5 GPIO_ACTIVE_HIGH>;
27 line-name = "uart1_rs232#";
33 gpios = <6 GPIO_ACTIVE_HIGH>;
34 line-name = "dig1_in";
40 gpios = <7 GPIO_ACTIVE_HIGH>;
41 line-name = "dig1_out";
49 gpios = <6 GPIO_ACTIVE_HIGH>;
50 line-name = "uart3_rs232#";
56 gpios = <7 GPIO_ACTIVE_HIGH>;
57 line-name = "uart3_rs422#";
63 gpios = <8 GPIO_ACTIVE_HIGH>;
64 line-name = "uart3_rs485#";
70 gpios = <27 GPIO_ACTIVE_HIGH>;
71 line-name = "uart4_rs485#";
77 gpios = <29 GPIO_ACTIVE_HIGH>;
78 line-name = "sim1_det";
84 gpios = <30 GPIO_ACTIVE_HIGH>;
85 line-name = "sim2_det";
93 gpios = <3 GPIO_ACTIVE_HIGH>;
94 line-name = "dig2_out";
100 gpios = <4 GPIO_ACTIVE_HIGH>;
101 line-name = "dig2_in";
107 gpios = <5 GPIO_ACTIVE_HIGH>;
108 line-name = "sim2_sel";
114 gpios = <10 GPIO_ACTIVE_HIGH>;
115 line-name = "uart4_rs232#";
121 gpios = <13 GPIO_ACTIVE_HIGH>;
122 line-name = "uart4_rs422#";
127 phy-reset-gpios = <&gpio4 19 GPIO_ACTIVE_LOW>;
128 phy-reset-duration = <1>;
129 phy-reset-post-delay = <1>;
134 #address-cells = <1>;
138 phy-handle = <&sw_phy0>;
142 phy-handle = <&sw_phy1>;
146 phy-handle = <&sw_phy2>;
150 phy-handle = <&sw_phy3>;
155 #address-cells = <1>;
160 compatible = "microchip,ksz-mdio";
161 #address-cells = <1>;
164 sw_phy0: ethernet-phy@0 {
168 sw_phy1: ethernet-phy@1 {
172 sw_phy2: ethernet-phy@2 {
176 sw_phy3: ethernet-phy@3 {
187 &{/soc@0/bus@30800000/i2c@30a30000/pmic@4b} {
191 &{/soc@0/bus@30800000/i2c@30a30000/pmic@4b/regulators} {