1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 * Copyright (C) 2019 Kontron Electronics GmbH
9 model = "Kontron i.MX8MM N801X SoM";
10 compatible = "kontron,imx8mm-n801x-som", "fsl,imx8mm";
13 device_type = "memory";
15 * There are multiple SoM flavors with different DDR sizes.
16 * The smallest is 1GB. For larger sizes the bootloader will
17 * update the reg property.
19 reg = <0x0 0x40000000 0 0x80000000>;
28 cpu-supply = <®_vdd_arm>;
32 cpu-supply = <®_vdd_arm>;
36 cpu-supply = <®_vdd_arm>;
40 cpu-supply = <®_vdd_arm>;
44 operating-points-v2 = <&ddrc_opp_table>;
46 ddrc_opp_table: opp-table {
47 compatible = "operating-points-v2";
50 opp-hz = /bits/ 64 <25000000>;
54 opp-hz = /bits/ 64 <100000000>;
58 opp-hz = /bits/ 64 <750000000>;
64 pinctrl-names = "default";
65 pinctrl-0 = <&pinctrl_ecspi1>;
66 cs-gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>;
70 compatible = "mxicy,mx25r1635f", "jedec,spi-nor";
71 spi-max-frequency = <80000000>;
77 clock-frequency = <400000>;
78 pinctrl-names = "default";
79 pinctrl-0 = <&pinctrl_i2c1>;
83 compatible = "nxp,pca9450a";
85 pinctrl-names = "default";
86 pinctrl-0 = <&pinctrl_pmic>;
87 interrupt-parent = <&gpio1>;
88 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
92 regulator-name = "buck1";
93 regulator-min-microvolt = <800000>;
94 regulator-max-microvolt = <900000>;
97 regulator-ramp-delay = <3125>;
101 regulator-name = "buck2";
102 regulator-min-microvolt = <850000>;
103 regulator-max-microvolt = <950000>;
105 regulator-ramp-delay = <3125>;
106 nxp,dvs-run-voltage = <950000>;
107 nxp,dvs-standby-voltage = <850000>;
110 reg_vdd_dram: BUCK3 {
111 regulator-name = "buck3";
112 regulator-min-microvolt = <850000>;
113 regulator-max-microvolt = <900000>;
119 regulator-name = "buck4";
120 regulator-min-microvolt = <3300000>;
121 regulator-max-microvolt = <3300000>;
127 regulator-name = "buck5";
128 regulator-min-microvolt = <1800000>;
129 regulator-max-microvolt = <1800000>;
134 reg_nvcc_dram: BUCK6 {
135 regulator-name = "buck6";
136 regulator-min-microvolt = <1100000>;
137 regulator-max-microvolt = <1100000>;
142 reg_nvcc_snvs: LDO1 {
143 regulator-name = "ldo1";
144 regulator-min-microvolt = <1800000>;
145 regulator-max-microvolt = <1800000>;
151 regulator-name = "ldo2";
152 regulator-min-microvolt = <850000>;
153 regulator-max-microvolt = <900000>;
159 regulator-name = "ldo3";
160 regulator-min-microvolt = <1800000>;
161 regulator-max-microvolt = <1800000>;
167 regulator-name = "ldo4";
168 regulator-min-microvolt = <900000>;
169 regulator-max-microvolt = <900000>;
175 regulator-name = "ldo5";
176 regulator-min-microvolt = <1800000>;
177 regulator-max-microvolt = <3300000>;
183 &uart3 { /* console */
184 pinctrl-names = "default";
185 pinctrl-0 = <&pinctrl_uart3>;
190 pinctrl-names = "default", "state_100mhz", "state_200mhz";
191 pinctrl-0 = <&pinctrl_usdhc1>;
192 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
193 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
194 vmmc-supply = <®_vdd_3v3>;
195 vqmmc-supply = <®_vdd_1v8>;
202 pinctrl-names = "default";
203 pinctrl-0 = <&pinctrl_wdog>;
204 fsl,ext-reset-output;
209 pinctrl_ecspi1: ecspi1grp {
211 MX8MM_IOMUXC_ECSPI1_MISO_ECSPI1_MISO 0x82
212 MX8MM_IOMUXC_ECSPI1_MOSI_ECSPI1_MOSI 0x82
213 MX8MM_IOMUXC_ECSPI1_SCLK_ECSPI1_SCLK 0x82
214 MX8MM_IOMUXC_ECSPI1_SS0_GPIO5_IO9 0x19
218 pinctrl_i2c1: i2c1grp {
220 MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3
221 MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA 0x400001c3
225 pinctrl_pmic: pmicgrp {
227 MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141
231 pinctrl_uart3: uart3grp {
233 MX8MM_IOMUXC_UART3_RXD_UART3_DCE_RX 0x140
234 MX8MM_IOMUXC_UART3_TXD_UART3_DCE_TX 0x140
238 pinctrl_usdhc1: usdhc1grp {
240 MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x190
241 MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d0
242 MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d0
243 MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d0
244 MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d0
245 MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d0
246 MX8MM_IOMUXC_SD1_DATA4_USDHC1_DATA4 0x1d0
247 MX8MM_IOMUXC_SD1_DATA5_USDHC1_DATA5 0x1d0
248 MX8MM_IOMUXC_SD1_DATA6_USDHC1_DATA6 0x1d0
249 MX8MM_IOMUXC_SD1_DATA7_USDHC1_DATA7 0x1d0
250 MX8MM_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0x019
251 MX8MM_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x190
255 pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp {
257 MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x194
258 MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d4
259 MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d4
260 MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d4
261 MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d4
262 MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d4
263 MX8MM_IOMUXC_SD1_DATA4_USDHC1_DATA4 0x1d4
264 MX8MM_IOMUXC_SD1_DATA5_USDHC1_DATA5 0x1d4
265 MX8MM_IOMUXC_SD1_DATA6_USDHC1_DATA6 0x1d4
266 MX8MM_IOMUXC_SD1_DATA7_USDHC1_DATA7 0x1d4
267 MX8MM_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0x019
268 MX8MM_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x194
272 pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp {
274 MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x196
275 MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d6
276 MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d6
277 MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d6
278 MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d6
279 MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d6
280 MX8MM_IOMUXC_SD1_DATA4_USDHC1_DATA4 0x1d6
281 MX8MM_IOMUXC_SD1_DATA5_USDHC1_DATA5 0x1d6
282 MX8MM_IOMUXC_SD1_DATA6_USDHC1_DATA6 0x1d6
283 MX8MM_IOMUXC_SD1_DATA7_USDHC1_DATA7 0x1d6
284 MX8MM_IOMUXC_SD1_RESET_B_USDHC1_RESET_B 0x019
285 MX8MM_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x196
289 pinctrl_wdog: wdoggrp {
291 MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0xc6