1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright 2020-2021 TQ-Systems GmbH
9 model = "TQ-Systems i.MX8MN TQMa8MxNL";
10 compatible = "tq,imx8mn-tqma8mqnl", "fsl,imx8mn";
13 device_type = "memory";
14 /* our minimum RAM config will be 1024 MiB */
15 reg = <0x00000000 0x40000000 0 0x40000000>;
18 /* e-MMC IO, needed for HS modes */
19 reg_vcc1v8: regulator-vcc1v8 {
20 compatible = "regulator-fixed";
21 regulator-name = "TQMA8MXNL_VCC1V8";
22 regulator-min-microvolt = <1800000>;
23 regulator-max-microvolt = <1800000>;
26 reg_vcc3v3: regulator-vcc3v3 {
27 compatible = "regulator-fixed";
28 regulator-name = "TQMA8MXNL_VCC3V3";
29 regulator-min-microvolt = <3300000>;
30 regulator-max-microvolt = <3300000>;
38 /* global autoconfigured region for contiguous allocations */
40 compatible = "shared-dma-pool";
43 size = <0 0x28000000>;
44 /* 1024 - 128 MiB, our minimum RAM config will be 1024 MiB */
45 alloc-ranges = <0 0x40000000 0 0x78000000>;
52 cpu-supply = <&buck2_reg>;
56 pinctrl-names = "default";
57 pinctrl-0 = <&pinctrl_flexspi>;
61 compatible = "jedec,spi-nor";
65 spi-max-frequency = <84000000>;
66 spi-tx-bus-width = <1>;
67 spi-rx-bus-width = <4>;
72 clock-frequency = <100000>;
73 pinctrl-names = "default", "gpio";
74 pinctrl-0 = <&pinctrl_i2c1>;
75 pinctrl-1 = <&pinctrl_i2c1_gpio>;
76 scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
77 sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
80 sensor0: temperature-sensor-eeprom@1b {
81 compatible = "nxp,se97", "jedec,jc-42.4-temp";
86 compatible = "nxp,pca9450a";
89 /* PMIC PCA9450 PMIC_nINT GPIO1_IO08 */
90 pinctrl-0 = <&pinctrl_pmic>;
91 pinctrl-names = "default";
92 interrupt-parent = <&gpio1>;
93 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
96 /* V_0V85_SOC: 0.85 .. 0.95 */
98 regulator-name = "BUCK1";
99 regulator-min-microvolt = <850000>;
100 regulator-max-microvolt = <950000>;
103 regulator-ramp-delay = <3125>;
108 regulator-name = "BUCK2";
109 regulator-min-microvolt = <850000>;
110 regulator-max-microvolt = <1000000>;
113 nxp,dvs-run-voltage = <950000>;
114 nxp,dvs-standby-voltage = <850000>;
115 regulator-ramp-delay = <3125>;
118 /* V_0V85_GPU / DRAM: shall be equal to BUCK1 for i.MX8MN */
120 regulator-name = "BUCK3";
121 regulator-min-microvolt = <850000>;
122 regulator-max-microvolt = <950000>;
125 regulator-ramp-delay = <3125>;
128 /* VCC3V3 -> VMMC, ... must not be changed */
130 regulator-name = "BUCK4";
131 regulator-min-microvolt = <3300000>;
132 regulator-max-microvolt = <3300000>;
137 /* V_1V8 -> VQMMC, SPI-NOR, ... must not be changed */
139 regulator-name = "BUCK5";
140 regulator-min-microvolt = <1800000>;
141 regulator-max-microvolt = <1800000>;
146 /* V_1V1 -> RAM, ... must not be changed */
148 regulator-name = "BUCK6";
149 regulator-min-microvolt = <1100000>;
150 regulator-max-microvolt = <1100000>;
157 regulator-name = "LDO1";
158 regulator-min-microvolt = <1800000>;
159 regulator-max-microvolt = <1800000>;
166 regulator-name = "LDO2";
167 regulator-min-microvolt = <800000>;
168 regulator-max-microvolt = <850000>;
175 regulator-name = "LDO3";
176 regulator-min-microvolt = <1800000>;
177 regulator-max-microvolt = <1800000>;
184 regulator-name = "LDO4";
185 regulator-min-microvolt = <900000>;
186 regulator-max-microvolt = <900000>;
191 /* VCC SD IO - switched using SD2 VSELECT */
193 regulator-name = "LDO5";
194 regulator-min-microvolt = <1800000>;
195 regulator-max-microvolt = <3300000>;
201 compatible = "nxp,pcf85063a";
203 quartz-load-femtofarads = <7000>;
207 compatible = "nxp,se97b", "atmel,24c02";
214 compatible = "atmel,24c64";
221 pinctrl-names = "default", "state_100mhz", "state_200mhz";
222 pinctrl-0 = <&pinctrl_usdhc3>;
223 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
224 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
229 vmmc-supply = <®_vcc3v3>;
230 vqmmc-supply = <®_vcc1v8>;
236 * wdog reset is routed to PMIC, PMIC must be preconfigured to force POR
237 * without LDO for SNVS. GPIO1_IO02 must not be used as GPIO.
240 pinctrl-names = "default";
241 pinctrl-0 = <&pinctrl_wdog>;
242 fsl,ext-reset-output;
247 pinctrl_flexspi: flexspigrp {
248 fsl,pins = <MX8MN_IOMUXC_NAND_ALE_QSPI_A_SCLK 0x84>,
249 <MX8MN_IOMUXC_NAND_CE0_B_QSPI_A_SS0_B 0x84>,
250 <MX8MN_IOMUXC_NAND_DATA00_QSPI_A_DATA0 0x84>,
251 <MX8MN_IOMUXC_NAND_DATA01_QSPI_A_DATA1 0x84>,
252 <MX8MN_IOMUXC_NAND_DATA02_QSPI_A_DATA2 0x84>,
253 <MX8MN_IOMUXC_NAND_DATA03_QSPI_A_DATA3 0x84>;
256 pinctrl_i2c1: i2c1grp {
257 fsl,pins = <MX8MN_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c4>,
258 <MX8MN_IOMUXC_I2C1_SDA_I2C1_SDA 0x400001c4>;
261 pinctrl_i2c1_gpio: i2c1gpiogrp {
262 fsl,pins = <MX8MN_IOMUXC_I2C1_SCL_GPIO5_IO14 0x400001c4>,
263 <MX8MN_IOMUXC_I2C1_SDA_GPIO5_IO15 0x400001c4>;
266 pinctrl_pmic: pmicgrp {
267 fsl,pins = <MX8MN_IOMUXC_GPIO1_IO08_GPIO1_IO8 0x84>;
270 pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
271 fsl,pins = <MX8MN_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x84>;
274 pinctrl_usdhc3: usdhc3grp {
275 fsl,pins = <MX8MN_IOMUXC_NAND_WE_B_USDHC3_CLK 0x1d4>,
276 <MX8MN_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d2>,
277 <MX8MN_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d4>,
278 <MX8MN_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d4>,
279 <MX8MN_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d4>,
280 <MX8MN_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d4>,
281 <MX8MN_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d4>,
282 <MX8MN_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d4>,
283 <MX8MN_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d4>,
284 <MX8MN_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d4>,
285 <MX8MN_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x84>,
286 <MX8MN_IOMUXC_NAND_READY_B_USDHC3_RESET_B 0x84>;
289 pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
290 fsl,pins = <MX8MN_IOMUXC_NAND_WE_B_USDHC3_CLK 0x1d2>,
291 <MX8MN_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d2>,
292 <MX8MN_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d4>,
293 <MX8MN_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d4>,
294 <MX8MN_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d4>,
295 <MX8MN_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d4>,
296 <MX8MN_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d4>,
297 <MX8MN_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d4>,
298 <MX8MN_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d4>,
299 <MX8MN_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d4>,
300 <MX8MN_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x84>,
301 <MX8MN_IOMUXC_NAND_READY_B_USDHC3_RESET_B 0x84>;
304 pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {
305 fsl,pins = <MX8MN_IOMUXC_NAND_WE_B_USDHC3_CLK 0x1d6>,
306 <MX8MN_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d2>,
307 <MX8MN_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d4>,
308 <MX8MN_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d4>,
309 <MX8MN_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d4>,
310 <MX8MN_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d4>,
311 <MX8MN_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d4>,
312 <MX8MN_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d4>,
313 <MX8MN_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d4>,
314 <MX8MN_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d4>,
315 <MX8MN_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x84>,
316 <MX8MN_IOMUXC_NAND_READY_B_USDHC3_RESET_B 0x84>;
319 pinctrl_wdog: wdoggrp {
320 fsl,pins = <MX8MN_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0x84>;