1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
11 model = "FSL i.MX8MM EVK board";
12 compatible = "fsl,imx8mm-evk", "fsl,imx8mm";
19 compatible = "gpio-leds";
20 pinctrl-names = "default";
21 pinctrl-0 = <&pinctrl_gpio_led>;
25 gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
30 reg_usdhc2_vmmc: regulator-usdhc2 {
31 compatible = "regulator-fixed";
32 pinctrl-names = "default";
33 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
34 regulator-name = "VSD_3V3";
35 regulator-min-microvolt = <3300000>;
36 regulator-max-microvolt = <3300000>;
37 gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
42 #sound-dai-cells = <0>;
43 compatible = "wlf,wm8524";
44 pinctrl-names = "default";
45 pinctrl-0 = <&pinctrl_gpio_wlf>;
46 wlf,mute-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>;
50 compatible = "simple-audio-card";
51 simple-audio-card,name = "wm8524-audio";
52 simple-audio-card,format = "i2s";
53 simple-audio-card,frame-master = <&cpudai>;
54 simple-audio-card,bitclock-master = <&cpudai>;
55 simple-audio-card,widgets =
56 "Line", "Left Line Out Jack",
57 "Line", "Right Line Out Jack";
58 simple-audio-card,routing =
59 "Left Line Out Jack", "LINEVOUTL",
60 "Right Line Out Jack", "LINEVOUTR";
62 cpudai: simple-audio-card,cpu {
66 simple-audio-card,codec {
67 sound-dai = <&wm8524>;
68 clocks = <&clk IMX8MM_CLK_SAI3_ROOT>;
74 cpu-supply = <&buck2_reg>;
78 pinctrl-names = "default";
79 pinctrl-0 = <&pinctrl_fec1>;
80 phy-mode = "rgmii-id";
81 phy-handle = <ðphy0>;
89 ethphy0: ethernet-phy@0 {
90 compatible = "ethernet-phy-ieee802.3-c22";
92 at803x,led-act-blind-workaround;
100 pinctrl-names = "default";
101 pinctrl-0 = <&pinctrl_sai3>;
102 assigned-clocks = <&clk IMX8MM_CLK_SAI3>;
103 assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
104 assigned-clock-rates = <24576000>;
112 &uart2 { /* console */
113 pinctrl-names = "default";
114 pinctrl-0 = <&pinctrl_uart2>;
119 pinctrl-names = "default", "state_100mhz", "state_200mhz";
120 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
121 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
122 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
123 cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
125 vmmc-supply = <®_usdhc2_vmmc>;
130 pinctrl-names = "default", "state_100mhz", "state_200mhz";
131 pinctrl-0 = <&pinctrl_usdhc3>;
132 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
133 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
140 pinctrl-names = "default";
141 pinctrl-0 = <&pinctrl_wdog>;
142 fsl,ext-reset-output;
147 clock-frequency = <400000>;
148 pinctrl-names = "default";
149 pinctrl-0 = <&pinctrl_i2c1>;
153 compatible = "rohm,bd71847";
155 pinctrl-0 = <&pinctrl_pmic>;
156 interrupt-parent = <&gpio1>;
157 interrupts = <3 GPIO_ACTIVE_LOW>;
158 rohm,reset-snvs-powered;
162 regulator-name = "BUCK1";
163 regulator-min-microvolt = <700000>;
164 regulator-max-microvolt = <1300000>;
167 regulator-ramp-delay = <1250>;
171 regulator-name = "BUCK2";
172 regulator-min-microvolt = <700000>;
173 regulator-max-microvolt = <1300000>;
176 regulator-ramp-delay = <1250>;
177 rohm,dvs-run-voltage = <1000000>;
178 rohm,dvs-idle-voltage = <900000>;
182 // BUCK5 in datasheet
183 regulator-name = "BUCK3";
184 regulator-min-microvolt = <700000>;
185 regulator-max-microvolt = <1350000>;
191 // BUCK6 in datasheet
192 regulator-name = "BUCK4";
193 regulator-min-microvolt = <3000000>;
194 regulator-max-microvolt = <3300000>;
200 // BUCK7 in datasheet
201 regulator-name = "BUCK5";
202 regulator-min-microvolt = <1605000>;
203 regulator-max-microvolt = <1995000>;
209 // BUCK8 in datasheet
210 regulator-name = "BUCK6";
211 regulator-min-microvolt = <800000>;
212 regulator-max-microvolt = <1400000>;
218 regulator-name = "LDO1";
219 regulator-min-microvolt = <3000000>;
220 regulator-max-microvolt = <3300000>;
226 regulator-name = "LDO2";
227 regulator-min-microvolt = <900000>;
228 regulator-max-microvolt = <900000>;
234 regulator-name = "LDO3";
235 regulator-min-microvolt = <1800000>;
236 regulator-max-microvolt = <3300000>;
242 regulator-name = "LDO4";
243 regulator-min-microvolt = <900000>;
244 regulator-max-microvolt = <1800000>;
250 regulator-name = "LDO6";
251 regulator-min-microvolt = <900000>;
252 regulator-max-microvolt = <1800000>;
261 pinctrl-names = "default";
263 pinctrl_fec1: fec1grp {
265 MX8MM_IOMUXC_ENET_MDC_ENET1_MDC 0x3
266 MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO 0x3
267 MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f
268 MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f
269 MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f
270 MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f
271 MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91
272 MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91
273 MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91
274 MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91
275 MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f
276 MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91
277 MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91
278 MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f
279 MX8MM_IOMUXC_SAI2_RXC_GPIO4_IO22 0x19
283 pinctrl_gpio_led: gpioledgrp {
285 MX8MM_IOMUXC_NAND_READY_B_GPIO3_IO16 0x19
289 pinctrl_gpio_wlf: gpiowlfgrp {
291 MX8MM_IOMUXC_I2C4_SDA_GPIO5_IO21 0xd6
295 pinctrl_i2c1: i2c1grp {
297 MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3
298 MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA 0x400001c3
302 pinctrl_pmic: pmicirq {
304 MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x41
308 pinctrl_reg_usdhc2_vmmc: regusdhc2vmmc {
310 MX8MM_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41
314 pinctrl_sai3: sai3grp {
316 MX8MM_IOMUXC_SAI3_TXFS_SAI3_TX_SYNC 0xd6
317 MX8MM_IOMUXC_SAI3_TXC_SAI3_TX_BCLK 0xd6
318 MX8MM_IOMUXC_SAI3_MCLK_SAI3_MCLK 0xd6
319 MX8MM_IOMUXC_SAI3_TXD_SAI3_TX_DATA0 0xd6
323 pinctrl_uart2: uart2grp {
325 MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140
326 MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX 0x140
330 pinctrl_usdhc2_gpio: usdhc2grpgpio {
332 MX8MM_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x1c4
336 pinctrl_usdhc2: usdhc2grp {
338 MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x190
339 MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d0
340 MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d0
341 MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d0
342 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d0
343 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d0
344 MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0
348 pinctrl_usdhc2_100mhz: usdhc2grp100mhz {
350 MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x194
351 MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d4
352 MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d4
353 MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d4
354 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d4
355 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4
356 MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0
360 pinctrl_usdhc2_200mhz: usdhc2grp200mhz {
362 MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x196
363 MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d6
364 MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d6
365 MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d6
366 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d6
367 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d6
368 MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0
372 pinctrl_usdhc3: usdhc3grp {
374 MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x190
375 MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d0
376 MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d0
377 MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d0
378 MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d0
379 MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d0
380 MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d0
381 MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d0
382 MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d0
383 MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d0
384 MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x190
388 pinctrl_usdhc3_100mhz: usdhc3grp100mhz {
390 MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x194
391 MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d4
392 MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d4
393 MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d4
394 MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d4
395 MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d4
396 MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d4
397 MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d4
398 MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d4
399 MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d4
400 MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x194
404 pinctrl_usdhc3_200mhz: usdhc3grp200mhz {
406 MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x196
407 MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d6
408 MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d6
409 MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d6
410 MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d6
411 MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d6
412 MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d6
413 MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d6
414 MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d6
415 MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d6
416 MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x196
420 pinctrl_wdog: wdoggrp {
422 MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0xc6