1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2019 Einfochips
4 * Copyright 2019 Linaro Ltd.
12 model = "Einfochips i.MX8MQ Thor96";
13 compatible = "einfochips,imx8mq-thor96", "fsl,imx8mq";
20 device_type = "memory";
21 reg = <0x00000000 0x40000000 0 0x80000000>;
25 compatible = "gpio-leds";
26 pinctrl-names = "default";
27 pinctrl-0 = <&pinctrl_leds>;
30 label = "green:user1";
31 gpios = <&gpio4 21 GPIO_ACTIVE_HIGH>;
32 linux,default-trigger = "heartbeat";
36 label = "green:user2";
37 gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>;
38 linux,default-trigger = "none";
42 label = "green:user3";
43 gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
44 linux,default-trigger = "mmc1";
45 default-state = "off";
49 label = "green:user4";
50 gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
52 linux,default-trigger = "none";
56 label = "yellow:wlan";
57 gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>;
58 linux,default-trigger = "phy0tx";
59 default-state = "off";
64 gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
65 linux,default-trigger = "hci0-power";
66 default-state = "off";
70 reg_usdhc1_vmmc: reg-usdhc1-vmmc {
71 compatible = "regulator-fixed";
72 regulator-name = "VDD_3V3";
73 regulator-min-microvolt = <3300000>;
74 regulator-max-microvolt = <3300000>;
78 reg_usdhc1_vqmmc: reg-usdhc1-vqmmc {
79 compatible = "regulator-fixed";
80 regulator-name = "VCC_1V8_EXT";
81 regulator-min-microvolt = <1800000>;
82 regulator-max-microvolt = <1800000>;
86 reg_usdhc2_vmmc: reg-usdhc2-vmmc {
87 compatible = "regulator-fixed";
88 regulator-name = "VSD_3V3";
89 regulator-min-microvolt = <3300000>;
90 regulator-max-microvolt = <3300000>;
92 pinctrl-names = "default";
93 pinctrl-0 = <&pinctrl_reg_usdhc2>;
94 gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
98 reg_usdhc2_vqmmc: reg-usdhc2-vqmmc {
99 compatible = "regulator-fixed";
100 regulator-name = "NVCC_SD2";
101 regulator-min-microvolt = <3300000>;
102 regulator-max-microvolt = <3300000>;
106 sdio_pwrseq: sdio-pwrseq {
107 compatible = "mmc-pwrseq-simple";
108 pinctrl-names = "default";
109 pinctrl-0 = <&pinctrl_wifi_reg_on>;
110 gpio = <&gpio3 3 GPIO_ACTIVE_HIGH>;
116 pinctrl-names = "default";
117 pinctrl-0 = <&pinctrl_ecspi2>;
122 pinctrl-names = "default";
123 pinctrl-0 = <&pinctrl_fec1>;
124 phy-mode = "rgmii-id";
125 phy-handle = <ðphy>;
130 #address-cells = <1>;
133 ethphy: ethernet-phy@3 {
134 compatible = "ethernet-phy-ieee802.3-c22";
136 reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
143 clock-frequency = <100000>;
144 pinctrl-names = "default";
145 pinctrl-0 = <&pinctrl_i2c1>;
149 compatible = "fsl,pfuze100";
154 regulator-min-microvolt = <300000>;
155 regulator-max-microvolt = <1875000>;
159 regulator-min-microvolt = <300000>;
160 regulator-max-microvolt = <1875000>;
164 regulator-min-microvolt = <800000>;
165 regulator-max-microvolt = <3300000>;
170 regulator-min-microvolt = <400000>;
171 regulator-max-microvolt = <1975000>;
176 regulator-min-microvolt = <800000>;
177 regulator-max-microvolt = <3300000>;
182 regulator-min-microvolt = <5000000>;
183 regulator-max-microvolt = <5150000>;
187 regulator-min-microvolt = <1000000>;
188 regulator-max-microvolt = <3000000>;
197 regulator-min-microvolt = <800000>;
198 regulator-max-microvolt = <1550000>;
202 regulator-min-microvolt = <800000>;
203 regulator-max-microvolt = <1550000>;
208 regulator-min-microvolt = <1800000>;
209 regulator-max-microvolt = <3300000>;
214 regulator-min-microvolt = <1800000>;
215 regulator-max-microvolt = <3300000>;
220 regulator-min-microvolt = <1800000>;
221 regulator-max-microvolt = <3300000>;
226 regulator-min-microvolt = <1800000>;
227 regulator-max-microvolt = <3300000>;
235 clock-frequency = <100000>;
236 pinctrl-names = "default";
237 pinctrl-0 = <&pinctrl_i2c2>;
241 compatible = "atmel,24c256";
248 clock-frequency = <100000>;
249 pinctrl-names = "default";
250 pinctrl-0 = <&pinctrl_i2c3>;
256 clock-frequency = <100000>;
257 pinctrl-names = "default";
258 pinctrl-0 = <&pinctrl_i2c4>;
263 power-supply = <&sw1a_reg>;
267 power-supply = <&sw1c_reg>;
271 pinctrl-names = "default";
272 pinctrl-0 = <&pinctrl_qspi0>;
276 compatible = "jedec,spi-nor";
277 spi-max-frequency = <100000000>;
284 pinctrl-names = "default";
285 pinctrl-0 = <&pinctrl_uart1>;
286 assigned-clocks = <&clk IMX8MQ_CLK_UART1>;
287 assigned-clock-parents = <&clk IMX8MQ_CLK_25M>;
293 pinctrl-names = "default";
294 pinctrl-0 = <&pinctrl_uart2>;
295 assigned-clocks = <&clk IMX8MQ_CLK_UART2>;
296 assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_80M>;
301 compatible = "brcm,bcm43438-bt";
302 device-wakeup-gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>;
303 host-wakeup-gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
304 shutdown-gpios = <&gpio3 5 GPIO_ACTIVE_HIGH>;
305 pinctrl-names = "default";
306 pinctrl-0 = <&pinctrl_bt_gpios>;
312 pinctrl-names = "default";
313 pinctrl-0 = <&pinctrl_uart3>;
314 assigned-clocks = <&clk IMX8MQ_CLK_UART3>;
315 assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_80M>;
330 #address-cells = <0x1>;
332 pinctrl-names = "default", "state_100mhz", "state_200mhz";
333 pinctrl-0 = <&pinctrl_usdhc1>;
334 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
335 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
336 vmmc-supply = <®_usdhc1_vmmc>;
337 vqmmc-supply = <®_usdhc1_vqmmc>;
338 mmc-pwrseq = <&sdio_pwrseq>;
347 compatible = "brcm,bcm4329-fmac";
353 pinctrl-names = "default", "state_100mhz", "state_200mhz";
354 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
355 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
356 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
357 vmmc-supply = <®_usdhc2_vmmc>;
358 vqmmc-supply = <®_usdhc2_vqmmc>;
359 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
368 pinctrl-names = "default";
369 pinctrl-0 = <&pinctrl_wdog>;
370 fsl,ext-reset-output;
375 pinctrl_bt_gpios: btgpiosgrp {
377 MX8MQ_IOMUXC_SAI5_RXD1_GPIO3_IO22 0x19
378 MX8MQ_IOMUXC_NAND_DQS_GPIO3_IO14 0x19
379 MX8MQ_IOMUXC_NAND_CLE_GPIO3_IO5 0x19
383 pinctrl_ecspi2: ecspi2grp {
385 MX8MQ_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0x16
386 MX8MQ_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI 0x16
387 MX8MQ_IOMUXC_ECSPI2_MISO_ECSPI2_MISO 0x16
388 MX8MQ_IOMUXC_ECSPI2_SS0_ECSPI2_SS0 0x16
392 pinctrl_fec1: fec1grp {
394 MX8MQ_IOMUXC_ENET_MDC_ENET1_MDC 0x4
395 MX8MQ_IOMUXC_ENET_MDIO_ENET1_MDIO 0x24
396 MX8MQ_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1c
397 MX8MQ_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1c
398 MX8MQ_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1c
399 MX8MQ_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1c
400 MX8MQ_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91
401 MX8MQ_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91
402 MX8MQ_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91
403 MX8MQ_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91
404 MX8MQ_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1c
405 MX8MQ_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91
406 MX8MQ_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91
407 MX8MQ_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1c
408 MX8MQ_IOMUXC_GPIO1_IO09_GPIO1_IO9 0x19
412 pinctrl_i2c1: i2c1grp {
414 MX8MQ_IOMUXC_I2C1_SCL_I2C1_SCL 0x4000007f
415 MX8MQ_IOMUXC_I2C1_SDA_I2C1_SDA 0x4000007f
419 pinctrl_i2c2: i2c2grp {
421 MX8MQ_IOMUXC_I2C2_SCL_I2C2_SCL 0x4000007f
422 MX8MQ_IOMUXC_I2C2_SDA_I2C2_SDA 0x4000007f
426 pinctrl_i2c3: i2c3grp {
428 MX8MQ_IOMUXC_I2C3_SCL_I2C3_SCL 0x4000007f
429 MX8MQ_IOMUXC_I2C3_SDA_I2C3_SDA 0x4000007f
433 pinctrl_i2c4: i2c4grp {
435 MX8MQ_IOMUXC_I2C4_SCL_I2C4_SCL 0x4000007f
436 MX8MQ_IOMUXC_I2C4_SDA_I2C4_SDA 0x4000007f
440 pinctrl_leds: ledsgrp {
442 MX8MQ_IOMUXC_SAI2_RXFS_GPIO4_IO21 0x19
443 MX8MQ_IOMUXC_SAI2_RXC_GPIO4_IO22 0x19
444 MX8MQ_IOMUXC_SAI3_RXFS_GPIO4_IO28 0x19
445 MX8MQ_IOMUXC_SAI3_RXC_GPIO4_IO29 0x19
446 MX8MQ_IOMUXC_SAI1_RXC_GPIO4_IO1 0x19
447 MX8MQ_IOMUXC_SAI1_RXFS_GPIO4_IO0 0x19
451 pinctrl_qspi0: qspi0grp {
453 MX8MQ_IOMUXC_NAND_ALE_QSPI_A_SCLK 0x82
454 MX8MQ_IOMUXC_NAND_CE0_B_QSPI_A_SS0_B 0x82
455 MX8MQ_IOMUXC_NAND_DATA00_QSPI_A_DATA0 0x82
456 MX8MQ_IOMUXC_NAND_DATA01_QSPI_A_DATA1 0x82
457 MX8MQ_IOMUXC_NAND_DATA02_QSPI_A_DATA2 0x82
458 MX8MQ_IOMUXC_NAND_DATA03_QSPI_A_DATA3 0x82
463 pinctrl_reg_usdhc2: regusdhc2grp {
465 MX8MQ_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41
469 pinctrl_uart1: uart1grp {
471 MX8MQ_IOMUXC_UART1_RXD_UART1_DCE_RX 0x49
472 MX8MQ_IOMUXC_UART1_TXD_UART1_DCE_TX 0x49
476 pinctrl_uart2: uart2grp {
478 MX8MQ_IOMUXC_UART2_RXD_UART2_DCE_RX 0x49
479 MX8MQ_IOMUXC_UART2_TXD_UART2_DCE_TX 0x49
480 MX8MQ_IOMUXC_UART4_RXD_UART2_DCE_CTS_B 0x49
481 MX8MQ_IOMUXC_UART4_TXD_UART2_DCE_RTS_B 0x49
485 pinctrl_uart3: uart3grp {
487 MX8MQ_IOMUXC_UART3_TXD_UART3_DCE_TX 0x49
488 MX8MQ_IOMUXC_UART3_RXD_UART3_DCE_RX 0x49
492 pinctrl_usdhc1: usdhc1grp {
494 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x83
495 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xc3
496 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xc3
497 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xc3
498 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xc3
499 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xc3
500 MX8MQ_IOMUXC_GPIO1_IO00_ANAMIX_REF_CLK_32K 0x85
504 pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp {
506 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x8d
507 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xcd
508 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xcd
509 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xcd
510 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xcd
511 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xcd
512 MX8MQ_IOMUXC_GPIO1_IO00_ANAMIX_REF_CLK_32K 0x85
516 pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp {
518 MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x9f
519 MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0xdf
520 MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0xdf
521 MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0xdf
522 MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0xdf
523 MX8MQ_IOMUXC_SD1_DATA3_USDHC1_DATA3 0xdf
524 MX8MQ_IOMUXC_GPIO1_IO00_ANAMIX_REF_CLK_32K 0x85
528 pinctrl_usdhc2_gpio: usdhc2gpiogrp {
530 MX8MQ_IOMUXC_SD2_CD_B_GPIO2_IO12 0x41
534 pinctrl_usdhc2: usdhc2grp {
536 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x83
537 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xc3
538 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xc3
539 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xc3
540 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xc3
541 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xc3
542 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1
546 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
548 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x8c
549 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xcc
550 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xcc
551 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xcc
552 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xcc
553 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xcc
554 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1
558 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
560 MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x9c
561 MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xdc
562 MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xdc
563 MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xdc
564 MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xdc
565 MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xdc
566 MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xcc
570 pinctrl_wdog: wdoggrp {
572 MX8MQ_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0xc6
576 pinctrl_wifi_reg_on: wifiregongrp {
578 MX8MQ_IOMUXC_NAND_CE2_B_GPIO3_IO3 0x17059