blob: 9ed62f1bb02deade9b3750085c387a91d081df35 [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
Peng Fanc47e09d2019-12-30 17:46:21 +080016&reg_usdhc2_vmmc {
Andrey Zhizhikincf51a552020-12-05 17:29:17 +000017 u-boot,off-on-delay-us = <20000>;
18};
19
20&reg_usdhc2_vmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070021 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080022};
23
24&pinctrl_uart2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070025 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080026};
27
28&pinctrl_usdhc2_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070029 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080030};
31
32&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070033 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080034};
35
36&pinctrl_usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070037 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080038};
39
Peng Fane22df442022-05-05 19:05:59 +080040&pinctrl_wdog {
Simon Glassd3a98cb2023-02-13 08:56:33 -070041 bootph-pre-ram;
Peng Fane22df442022-05-05 19:05:59 +080042};
43
Peng Fanc47e09d2019-12-30 17:46:21 +080044&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070045 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080046};
47
48&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070049 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080050};
51
52&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070053 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080054};
55
56&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070057 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080058};
59
60&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070061 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080062};
63
64&uart2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070065 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080066};
67
68&i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070069 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080070};
71
72&i2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070073 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080074};
75
76&i2c3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070077 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080078};
79
80&i2c4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070081 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080082};
83
84&i2c5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070085 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080086};
87
88&i2c6 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070089 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080090};
91
Fabio Estevambcde1972023-10-15 21:24:37 -030092&usb_dwc3_0 {
93 dr_mode = "peripheral";
94 status = "okay";
95};
96
97&usb3_0 {
98 status = "okay";
99};
100
101&usb3_phy0 {
102 status = "okay";
103};
104
Peng Fanc47e09d2019-12-30 17:46:21 +0800105&usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700106 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +0800107};
108
109&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700110 bootph-pre-ram;
Andrey Zhizhikin9aa95982020-12-05 17:29:18 +0000111 sd-uhs-sdr104;
112 sd-uhs-ddr50;
Peng Fanc47e09d2019-12-30 17:46:21 +0800113};
114
115&usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700116 bootph-pre-ram;
Andrey Zhizhikin9aa95982020-12-05 17:29:18 +0000117 mmc-hs400-1_8v;
118 mmc-hs400-enhanced-strobe;
Peng Fanc47e09d2019-12-30 17:46:21 +0800119};
Marek Vasut797a19a2020-04-29 15:04:26 +0200120
121&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700122 bootph-pre-ram;
Marek Vasut797a19a2020-04-29 15:04:26 +0200123};
Peng Fan4f0c97b2020-12-25 16:16:34 +0800124
Ye Li25804942021-08-16 18:44:28 +0800125&ethphy0 {
126 reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
127 reset-delay-us = <15000>;
128 reset-post-delay-us = <100000>;
129};
130
Peng Fan4f0c97b2020-12-25 16:16:34 +0800131&fec {
132 phy-reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
Ye Lid1b82062021-02-18 22:33:48 -0800133 phy-reset-duration = <15>;
134 phy-reset-post-delay = <100>;
Peng Fan4f0c97b2020-12-25 16:16:34 +0800135};
Peng Fand96d94b2021-04-06 11:59:02 +0800136
Peng Fand96d94b2021-04-06 11:59:02 +0800137