1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright (C) 2018 Jon Nettleton <jon@solid-run.com>
9 reg_vdd_3v3: regulator-vdd-3v3 {
10 compatible = "regulator-fixed";
12 regulator-name = "vdd_3v3";
13 regulator-min-microvolt = <3300000>;
14 regulator-max-microvolt = <3300000>;
19 pinctrl-names = "default";
20 pinctrl-0 = <&pinctrl_fec1>;
21 phy-mode = "rgmii-id";
22 phy-handle = <ðphy0>;
23 phy-reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
24 phy-reset-duration = <2>;
32 ethphy0: ethernet-phy@4 {
33 compatible = "ethernet-phy-ieee802.3-c22";
40 pinctrl-names = "default";
41 pinctrl-0 = <&pinctrl_i2c1>;
42 clock-frequency = <400000>;
46 compatible = "fsl,pfuze100";
51 regulator-min-microvolt = <300000>;
52 regulator-max-microvolt = <1875000>;
56 regulator-min-microvolt = <300000>;
57 regulator-max-microvolt = <1875000>;
61 regulator-min-microvolt = <800000>;
62 regulator-max-microvolt = <3300000>;
67 regulator-min-microvolt = <400000>;
68 regulator-max-microvolt = <1975000>;
73 regulator-min-microvolt = <800000>;
74 regulator-max-microvolt = <3300000>;
79 regulator-min-microvolt = <5000000>;
80 regulator-max-microvolt = <5150000>;
84 regulator-min-microvolt = <1000000>;
85 regulator-max-microvolt = <3000000>;
94 regulator-min-microvolt = <800000>;
95 regulator-max-microvolt = <1550000>;
99 regulator-min-microvolt = <800000>;
100 regulator-max-microvolt = <1550000>;
105 regulator-min-microvolt = <1800000>;
106 regulator-max-microvolt = <3300000>;
111 regulator-min-microvolt = <1800000>;
112 regulator-max-microvolt = <3300000>;
117 regulator-min-microvolt = <1800000>;
118 regulator-max-microvolt = <3300000>;
123 regulator-min-microvolt = <1800000>;
124 regulator-max-microvolt = <3300000>;
131 power-supply = <&sw1a_reg>;
135 power-supply = <&sw1c_reg>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&pinctrl_qspi>;
143 /* SPI flash; not assembled by default */
145 #address-cells = <1>;
148 compatible = "micron,n25q256a", "jedec,spi-nor";
149 spi-max-frequency = <29000000>;
154 &uart1 { /* console */
155 pinctrl-names = "default";
156 pinctrl-0 = <&pinctrl_uart1>;
157 assigned-clocks = <&clk IMX8MQ_CLK_UART1>;
158 assigned-clock-parents = <&clk IMX8MQ_CLK_25M>;
159 assigned-clock-rates = <25000000>;
163 &uart4 { /* ublox BT */
164 pinctrl-names = "default";
165 pinctrl-0 = <&pinctrl_uart4>;
166 assigned-clocks = <&clk IMX8MQ_CLK_UART4>;
167 assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_80M>;
168 assigned-clock-rates = <80000000>;
173 assigned-clocks = <&clk IMX8MQ_CLK_USDHC1>;
174 assigned-clock-rates = <400000000>;
175 pinctrl-names = "default", "state_100mhz", "state_200mhz";
176 pinctrl-0 = <&pinctrl_usdhc1>;
177 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
178 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
185 pinctrl-names = "default";
186 pinctrl-0 = <&pinctrl_wdog>;
187 fsl,ext-reset-output;
192 pinctrl_fec1: fec1grp {
194 MX8MQ_IOMUXC_ENET_MDC_ENET1_MDC 0x3
195 MX8MQ_IOMUXC_ENET_MDIO_ENET1_MDIO 0x23
196 MX8MQ_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f
197 MX8MQ_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f
198 MX8MQ_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f
199 MX8MQ_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f
200 MX8MQ_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91
201 MX8MQ_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91
202 MX8MQ_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91
203 MX8MQ_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91
204 MX8MQ_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f
205 MX8MQ_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91
206 MX8MQ_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91
207 MX8MQ_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f
208 MX8MQ_IOMUXC_GPIO1_IO09_GPIO1_IO9 0x19
212 pinctrl_i2c1: i2c1grp {
214 MX8MQ_IOMUXC_I2C1_SCL_I2C1_SCL 0x4000007f
215 MX8MQ_IOMUXC_I2C1_SDA_I2C1_SDA 0x4000007f
219 pinctrl_pcie0: pcie0grp {
221 MX8MQ_IOMUXC_I2C4_SCL_PCIE1_CLKREQ_B 0x74
222 MX8MQ_IOMUXC_SPDIF_EXT_CLK_GPIO5_IO5 0x16
223 MX8MQ_IOMUXC_SAI2_RXFS_GPIO4_IO21 0x16
227 pinctrl_qspi: qspigrp {
229 MX8MQ_IOMUXC_NAND_ALE_QSPI_A_SCLK 0x82
230 MX8MQ_IOMUXC_NAND_CE0_B_QSPI_A_SS0_B 0x82
231 MX8MQ_IOMUXC_NAND_DATA00_QSPI_A_DATA0 0x82
232 MX8MQ_IOMUXC_NAND_DATA01_QSPI_A_DATA1 0x82
233 MX8MQ_IOMUXC_NAND_DATA02_QSPI_A_DATA2 0x82
234 MX8MQ_IOMUXC_NAND_DATA03_QSPI_A_DATA3 0x82
239 pinctrl_uart1: uart1grp {
241 MX8MQ_IOMUXC_UART1_RXD_UART1_DCE_RX 0x49
242 MX8MQ_IOMUXC_UART1_TXD_UART1_DCE_TX 0x49
243 MX8MQ_IOMUXC_NAND_CE1_B_GPIO3_IO2 0x19
247 pinctrl_uart4: uart4grp {
249 MX8MQ_IOMUXC_UART4_TXD_UART4_DCE_TX 0x49
250 MX8MQ_IOMUXC_UART4_RXD_UART4_DCE_RX 0x49
251 MX8MQ_IOMUXC_SAI3_TXD_GPIO5_IO1 0x19
255 pinctrl_usdhc1: usdhc1grp {
257 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x83
258 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xc3
259 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xc3
260 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xc3
261 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xc3
262 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xc3
263 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xc3
264 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xc3
265 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xc3
266 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xc3
267 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x83
268 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1
272 pinctrl_usdhc1_100mhz: usdhc1grp100mhz {
274 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x8d
275 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xcd
276 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xcd
277 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xcd
278 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xcd
279 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xcd
280 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xcd
281 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xcd
282 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xcd
283 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xcd
284 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x8d
285 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1
289 pinctrl_usdhc1_200mhz: usdhc1grp200mhz {
291 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x9f
292 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xdf
293 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xdf
294 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xdf
295 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xdf
296 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xdf
297 MX8MQ_IOMUXC_SD1_DATA4_USDHC1_DATA4 0xdf
298 MX8MQ_IOMUXC_SD1_DATA5_USDHC1_DATA5 0xdf
299 MX8MQ_IOMUXC_SD1_DATA6_USDHC1_DATA6 0xdf
300 MX8MQ_IOMUXC_SD1_DATA7_USDHC1_DATA7 0xdf
301 MX8MQ_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x9f
302 MX8MQ_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0xc1
306 pinctrl_wdog: wdoggrp {
308 MX8MQ_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0xc6