1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
14 compatible = "gpio-leds";
15 pinctrl-names = "default";
16 pinctrl-0 = <&pinctrl_gpio_led>;
19 label = "yellow:status";
20 gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
25 reg_usdhc2_vmmc: regulator-usdhc2 {
26 compatible = "regulator-fixed";
27 pinctrl-names = "default";
28 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
29 regulator-name = "VSD_3V3";
30 regulator-min-microvolt = <3300000>;
31 regulator-max-microvolt = <3300000>;
32 gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
38 pinctrl-names = "default";
39 pinctrl-0 = <&pinctrl_fec1>;
40 phy-mode = "rgmii-id";
41 phy-handle = <ðphy0>;
49 ethphy0: ethernet-phy@0 {
50 compatible = "ethernet-phy-ieee802.3-c22";
57 clock-frequency = <400000>;
58 pinctrl-names = "default";
59 pinctrl-0 = <&pinctrl_i2c1>;
67 &uart2 { /* console */
68 pinctrl-names = "default";
69 pinctrl-0 = <&pinctrl_uart2>;
74 assigned-clocks = <&clk IMX8MN_CLK_USDHC2>;
75 assigned-clock-rates = <200000000>;
76 pinctrl-names = "default", "state_100mhz", "state_200mhz";
77 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
78 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
79 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
80 cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
82 vmmc-supply = <®_usdhc2_vmmc>;
87 assigned-clocks = <&clk IMX8MN_CLK_USDHC3_ROOT>;
88 assigned-clock-rates = <400000000>;
89 pinctrl-names = "default", "state_100mhz", "state_200mhz";
90 pinctrl-0 = <&pinctrl_usdhc3>;
91 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
92 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&pinctrl_wdog>;
101 fsl,ext-reset-output;
106 pinctrl-names = "default";
108 pinctrl_fec1: fec1grp {
110 MX8MN_IOMUXC_ENET_MDC_ENET1_MDC 0x3
111 MX8MN_IOMUXC_ENET_MDIO_ENET1_MDIO 0x3
112 MX8MN_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f
113 MX8MN_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f
114 MX8MN_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f
115 MX8MN_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f
116 MX8MN_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91
117 MX8MN_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91
118 MX8MN_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91
119 MX8MN_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91
120 MX8MN_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f
121 MX8MN_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91
122 MX8MN_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91
123 MX8MN_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f
124 MX8MN_IOMUXC_SAI2_RXC_GPIO4_IO22 0x19
128 pinctrl_gpio_led: gpioledgrp {
130 MX8MN_IOMUXC_NAND_READY_B_GPIO3_IO16 0x19
134 pinctrl_i2c1: i2c1grp {
136 MX8MN_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3
137 MX8MN_IOMUXC_I2C1_SDA_I2C1_SDA 0x400001c3
141 pinctrl_reg_usdhc2_vmmc: regusdhc2vmmc {
143 MX8MN_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41
147 pinctrl_uart2: uart2grp {
149 MX8MN_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140
150 MX8MN_IOMUXC_UART2_TXD_UART2_DCE_TX 0x140
154 pinctrl_usdhc2_gpio: usdhc2grpgpio {
156 MX8MN_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x1c4
160 pinctrl_usdhc2: usdhc2grp {
162 MX8MN_IOMUXC_SD2_CLK_USDHC2_CLK 0x190
163 MX8MN_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d0
164 MX8MN_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d0
165 MX8MN_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d0
166 MX8MN_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d0
167 MX8MN_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d0
168 MX8MN_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0
172 pinctrl_usdhc2_100mhz: usdhc2grp100mhz {
174 MX8MN_IOMUXC_SD2_CLK_USDHC2_CLK 0x194
175 MX8MN_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d4
176 MX8MN_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d4
177 MX8MN_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d4
178 MX8MN_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d4
179 MX8MN_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4
180 MX8MN_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0
184 pinctrl_usdhc2_200mhz: usdhc2grp200mhz {
186 MX8MN_IOMUXC_SD2_CLK_USDHC2_CLK 0x196
187 MX8MN_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d6
188 MX8MN_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d6
189 MX8MN_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d6
190 MX8MN_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d6
191 MX8MN_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d6
192 MX8MN_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0
196 pinctrl_usdhc3: usdhc3grp {
198 MX8MN_IOMUXC_NAND_WE_B_USDHC3_CLK 0x40000190
199 MX8MN_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d0
200 MX8MN_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d0
201 MX8MN_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d0
202 MX8MN_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d0
203 MX8MN_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d0
204 MX8MN_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d0
205 MX8MN_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d0
206 MX8MN_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d0
207 MX8MN_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d0
208 MX8MN_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x190
212 pinctrl_usdhc3_100mhz: usdhc3grp100mhz {
214 MX8MN_IOMUXC_NAND_WE_B_USDHC3_CLK 0x40000194
215 MX8MN_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d4
216 MX8MN_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d4
217 MX8MN_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d4
218 MX8MN_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d4
219 MX8MN_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d4
220 MX8MN_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d4
221 MX8MN_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d4
222 MX8MN_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d4
223 MX8MN_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d4
224 MX8MN_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x194
228 pinctrl_usdhc3_200mhz: usdhc3grp200mhz {
230 MX8MN_IOMUXC_NAND_WE_B_USDHC3_CLK 0x40000196
231 MX8MN_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d6
232 MX8MN_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d6
233 MX8MN_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d6
234 MX8MN_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d6
235 MX8MN_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d6
236 MX8MN_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d6
237 MX8MN_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d6
238 MX8MN_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d6
239 MX8MN_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d6
240 MX8MN_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x196
244 pinctrl_wdog: wdoggrp {
246 MX8MN_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0xc6