1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/usb/pd.h>
17 device_type = "memory";
18 reg = <0x0 0x40000000 0 0x80000000>;
22 compatible = "gpio-leds";
23 pinctrl-names = "default";
24 pinctrl-0 = <&pinctrl_gpio_led>;
28 gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
33 reg_usdhc2_vmmc: regulator-usdhc2 {
34 compatible = "regulator-fixed";
35 pinctrl-names = "default";
36 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
37 regulator-name = "VSD_3V3";
38 regulator-min-microvolt = <3300000>;
39 regulator-max-microvolt = <3300000>;
40 gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
45 compatible = "gpio-ir-receiver";
46 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
47 pinctrl-names = "default";
48 pinctrl-0 = <&pinctrl_ir>;
49 linux,autosuspend-period = <125>;
53 #sound-dai-cells = <0>;
54 compatible = "wlf,wm8524";
55 pinctrl-names = "default";
56 pinctrl-0 = <&pinctrl_gpio_wlf>;
57 wlf,mute-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>;
61 compatible = "simple-audio-card";
62 simple-audio-card,name = "wm8524-audio";
63 simple-audio-card,format = "i2s";
64 simple-audio-card,frame-master = <&cpudai>;
65 simple-audio-card,bitclock-master = <&cpudai>;
66 simple-audio-card,widgets =
67 "Line", "Left Line Out Jack",
68 "Line", "Right Line Out Jack";
69 simple-audio-card,routing =
70 "Left Line Out Jack", "LINEVOUTL",
71 "Right Line Out Jack", "LINEVOUTR";
73 cpudai: simple-audio-card,cpu {
75 dai-tdm-slot-num = <2>;
76 dai-tdm-slot-width = <32>;
79 simple-audio-card,codec {
80 sound-dai = <&wm8524>;
81 clocks = <&clk IMX8MM_CLK_SAI3_ROOT>;
87 cpu-supply = <&buck2_reg>;
91 cpu-supply = <&buck2_reg>;
95 cpu-supply = <&buck2_reg>;
99 cpu-supply = <&buck2_reg>;
103 pinctrl-names = "default";
104 pinctrl-0 = <&pinctrl_fec1>;
105 phy-mode = "rgmii-id";
106 phy-handle = <ðphy0>;
111 #address-cells = <1>;
114 ethphy0: ethernet-phy@0 {
115 compatible = "ethernet-phy-ieee802.3-c22";
117 reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
118 reset-assert-us = <10000>;
124 clock-frequency = <400000>;
125 pinctrl-names = "default";
126 pinctrl-0 = <&pinctrl_i2c1>;
131 compatible = "nxp,pca9450a";
132 /* PMIC PCA9450 PMIC_nINT GPIO1_IO3 */
133 pinctrl-0 = <&pinctrl_pmic>;
134 gpio_intr = <&gpio1 3 GPIO_ACTIVE_LOW>;
137 #address-cells = <1>;
140 pca9450,pmic-buck2-uses-i2c-dvs;
141 /* Run/Standby voltage */
142 pca9450,pmic-buck2-dvs-voltage = <950000>, <850000>;
144 buck1_reg: regulator@0 {
146 regulator-compatible = "buck1";
147 regulator-min-microvolt = <600000>;
148 regulator-max-microvolt = <2187500>;
151 regulator-ramp-delay = <3125>;
154 buck2_reg: regulator@1 {
156 regulator-compatible = "buck2";
157 regulator-min-microvolt = <600000>;
158 regulator-max-microvolt = <2187500>;
161 regulator-ramp-delay = <3125>;
164 buck3_reg: regulator@2 {
166 regulator-compatible = "buck3";
167 regulator-min-microvolt = <600000>;
168 regulator-max-microvolt = <2187500>;
173 buck4_reg: regulator@3 {
175 regulator-compatible = "buck4";
176 regulator-min-microvolt = <600000>;
177 regulator-max-microvolt = <3400000>;
182 buck5_reg: regulator@4 {
184 regulator-compatible = "buck5";
185 regulator-min-microvolt = <600000>;
186 regulator-max-microvolt = <3400000>;
191 buck6_reg: regulator@5 {
193 regulator-compatible = "buck6";
194 regulator-min-microvolt = <600000>;
195 regulator-max-microvolt = <3400000>;
200 ldo1_reg: regulator@6 {
202 regulator-compatible = "ldo1";
203 regulator-min-microvolt = <1600000>;
204 regulator-max-microvolt = <3300000>;
209 ldo2_reg: regulator@7 {
211 regulator-compatible = "ldo2";
212 regulator-min-microvolt = <800000>;
213 regulator-max-microvolt = <1150000>;
218 ldo3_reg: regulator@8 {
220 regulator-compatible = "ldo3";
221 regulator-min-microvolt = <800000>;
222 regulator-max-microvolt = <3300000>;
227 ldo4_reg: regulator@9 {
229 regulator-compatible = "ldo4";
230 regulator-min-microvolt = <800000>;
231 regulator-max-microvolt = <3300000>;
236 ldo5_reg: regulator@10 {
238 regulator-compatible = "ldo5";
239 regulator-min-microvolt = <1800000>;
240 regulator-max-microvolt = <3300000>;
248 clock-frequency = <400000>;
249 pinctrl-names = "default";
250 pinctrl-0 = <&pinctrl_i2c2>;
254 compatible = "nxp,ptn5110";
255 pinctrl-names = "default";
256 pinctrl-0 = <&pinctrl_typec1>;
258 interrupt-parent = <&gpio2>;
263 typec1_dr_sw: endpoint {
264 remote-endpoint = <&usb1_drd_sw>;
268 typec1_con: connector {
269 compatible = "usb-c-connector";
273 try-power-role = "sink";
274 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
275 sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
276 PDO_VAR(5000, 20000, 3000)>;
277 op-sink-microwatt = <15000000>;
284 clock-frequency = <400000>;
285 pinctrl-names = "default";
286 pinctrl-0 = <&pinctrl_i2c3>;
290 compatible = "ti,tca6416";
298 pinctrl-names = "default";
299 pinctrl-0 = <&pinctrl_sai3>;
300 assigned-clocks = <&clk IMX8MM_CLK_SAI3>;
301 assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
302 assigned-clock-rates = <24576000>;
310 &uart2 { /* console */
311 pinctrl-names = "default";
312 pinctrl-0 = <&pinctrl_uart2>;
322 samsung,picophy-pre-emp-curr-control = <3>;
323 samsung,picophy-dc-vol-level-adjust = <7>;
327 usb1_drd_sw: endpoint {
328 remote-endpoint = <&typec1_dr_sw>;
334 assigned-clocks = <&clk IMX8MM_CLK_USDHC2>;
335 assigned-clock-rates = <200000000>;
336 pinctrl-names = "default", "state_100mhz", "state_200mhz";
337 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
338 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
339 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
340 cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
342 vmmc-supply = <®_usdhc2_vmmc>;
347 pinctrl-names = "default";
348 pinctrl-0 = <&pinctrl_wdog>;
349 fsl,ext-reset-output;
354 pinctrl_fec1: fec1grp {
356 MX8MM_IOMUXC_ENET_MDC_ENET1_MDC 0x3
357 MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO 0x3
358 MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f
359 MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f
360 MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f
361 MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f
362 MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91
363 MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91
364 MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91
365 MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91
366 MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f
367 MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91
368 MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91
369 MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f
370 MX8MM_IOMUXC_SAI2_RXC_GPIO4_IO22 0x19
374 pinctrl_gpio_led: gpioledgrp {
376 MX8MM_IOMUXC_NAND_READY_B_GPIO3_IO16 0x19
382 MX8MM_IOMUXC_GPIO1_IO13_GPIO1_IO13 0x4f
386 pinctrl_gpio_wlf: gpiowlfgrp {
388 MX8MM_IOMUXC_I2C4_SDA_GPIO5_IO21 0xd6
392 pinctrl_i2c1: i2c1grp {
394 MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3
395 MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA 0x400001c3
399 pinctrl_i2c2: i2c2grp {
401 MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL 0x400001c3
402 MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA 0x400001c3
406 pinctrl_i2c3: i2c3grp {
408 MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL 0x400001c3
409 MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA 0x400001c3
413 pinctrl_pmic: pmicirqgrp {
415 MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x141
419 pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
421 MX8MM_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41
425 pinctrl_sai3: sai3grp {
427 MX8MM_IOMUXC_SAI3_TXFS_SAI3_TX_SYNC 0xd6
428 MX8MM_IOMUXC_SAI3_TXC_SAI3_TX_BCLK 0xd6
429 MX8MM_IOMUXC_SAI3_MCLK_SAI3_MCLK 0xd6
430 MX8MM_IOMUXC_SAI3_TXD_SAI3_TX_DATA0 0xd6
434 pinctrl_typec1: typec1grp {
436 MX8MM_IOMUXC_SD1_STROBE_GPIO2_IO11 0x159
440 pinctrl_uart2: uart2grp {
442 MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140
443 MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX 0x140
447 pinctrl_usdhc2_gpio: usdhc2grpgpiogrp {
449 MX8MM_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x1c4
453 pinctrl_usdhc2: usdhc2grp {
455 MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x190
456 MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d0
457 MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d0
458 MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d0
459 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d0
460 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d0
461 MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0
465 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
467 MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x194
468 MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d4
469 MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d4
470 MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d4
471 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d4
472 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4
473 MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0
477 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
479 MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x196
480 MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d6
481 MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d6
482 MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d6
483 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d6
484 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d6
485 MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0
489 pinctrl_wdog: wdoggrp {
491 MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0x166