blob: 0bf489b46248c87ebd317bd52903fd0f9b1ed827 [file] [log] [blame]
Peng Fanc47e09d2019-12-30 17:46:21 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
Gaurav Jainbce9acf2022-03-24 11:50:26 +05303 * Copyright 2019, 2021 NXP
Peng Fanc47e09d2019-12-30 17:46:21 +08004 */
5
Teresa Remmet3e94fbd2021-07-07 12:57:57 +00006#include "imx8mp-u-boot.dtsi"
Peng Fand96d94b2021-04-06 11:59:02 +08007
Teresa Remmet3e94fbd2021-07-07 12:57:57 +00008/ {
Marek Vasut797a19a2020-04-29 15:04:26 +02009 wdt-reboot {
10 compatible = "wdt-reboot";
11 wdt = <&wdog1>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070012 bootph-pre-ram;
Marek Vasut797a19a2020-04-29 15:04:26 +020013 };
14};
15
Fabio Estevam4671ab42023-10-18 16:17:41 -030016&pinctrl_i2c1 {
17 bootph-all;
18};
19
20&pinctrl_pmic {
21 bootph-all;
22};
23
24&{/soc@0/bus@30800000/i2c@30a20000/pmic@25} {
25 bootph-all;
26};
27
28&{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} {
29 bootph-all;
30};
31
Peng Fanc47e09d2019-12-30 17:46:21 +080032&reg_usdhc2_vmmc {
Andrey Zhizhikincf51a552020-12-05 17:29:17 +000033 u-boot,off-on-delay-us = <20000>;
34};
35
36&reg_usdhc2_vmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070037 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080038};
39
40&pinctrl_uart2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070041 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080042};
43
44&pinctrl_usdhc2_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070045 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080046};
47
48&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070049 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080050};
51
52&pinctrl_usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070053 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080054};
55
Peng Fane22df442022-05-05 19:05:59 +080056&pinctrl_wdog {
Simon Glassd3a98cb2023-02-13 08:56:33 -070057 bootph-pre-ram;
Peng Fane22df442022-05-05 19:05:59 +080058};
59
Peng Fanc47e09d2019-12-30 17:46:21 +080060&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070061 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080062};
63
64&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070065 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080066};
67
68&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070069 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080070};
71
72&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070073 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080074};
75
76&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070077 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080078};
79
80&uart2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070081 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080082};
83
84&i2c1 {
Fabio Estevam4671ab42023-10-18 16:17:41 -030085 bootph-all;
Peng Fanc47e09d2019-12-30 17:46:21 +080086};
87
88&i2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070089 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080090};
91
92&i2c3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070093 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080094};
95
96&i2c4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070097 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080098};
99
100&i2c5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700101 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +0800102};
103
104&i2c6 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700105 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +0800106};
107
Fabio Estevambcde1972023-10-15 21:24:37 -0300108&usb_dwc3_0 {
109 dr_mode = "peripheral";
110 status = "okay";
111};
112
113&usb3_0 {
114 status = "okay";
115};
116
117&usb3_phy0 {
118 status = "okay";
119};
120
Peng Fanc47e09d2019-12-30 17:46:21 +0800121&usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700122 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +0800123};
124
125&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700126 bootph-pre-ram;
Andrey Zhizhikin9aa95982020-12-05 17:29:18 +0000127 sd-uhs-sdr104;
128 sd-uhs-ddr50;
Peng Fanc47e09d2019-12-30 17:46:21 +0800129};
130
131&usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700132 bootph-pre-ram;
Andrey Zhizhikin9aa95982020-12-05 17:29:18 +0000133 mmc-hs400-1_8v;
134 mmc-hs400-enhanced-strobe;
Peng Fanc47e09d2019-12-30 17:46:21 +0800135};
Marek Vasut797a19a2020-04-29 15:04:26 +0200136
137&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700138 bootph-pre-ram;
Marek Vasut797a19a2020-04-29 15:04:26 +0200139};
Peng Fan4f0c97b2020-12-25 16:16:34 +0800140
Ye Li25804942021-08-16 18:44:28 +0800141&ethphy0 {
142 reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
143 reset-delay-us = <15000>;
144 reset-post-delay-us = <100000>;
145};
146
Peng Fan4f0c97b2020-12-25 16:16:34 +0800147&fec {
148 phy-reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
Ye Lid1b82062021-02-18 22:33:48 -0800149 phy-reset-duration = <15>;
150 phy-reset-post-delay = <100>;
Peng Fan4f0c97b2020-12-25 16:16:34 +0800151};
Peng Fand96d94b2021-04-06 11:59:02 +0800152
Peng Fand96d94b2021-04-06 11:59:02 +0800153