blob: 6d9b229989ac0176fc7544d5a7cbac51eb90cc87 [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
92&usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070093 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080094};
95
96&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070097 bootph-pre-ram;
Andrey Zhizhikin9aa95982020-12-05 17:29:18 +000098 sd-uhs-sdr104;
99 sd-uhs-ddr50;
Peng Fanc47e09d2019-12-30 17:46:21 +0800100};
101
102&usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700103 bootph-pre-ram;
Andrey Zhizhikin9aa95982020-12-05 17:29:18 +0000104 mmc-hs400-1_8v;
105 mmc-hs400-enhanced-strobe;
Peng Fanc47e09d2019-12-30 17:46:21 +0800106};
Marek Vasut797a19a2020-04-29 15:04:26 +0200107
108&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700109 bootph-pre-ram;
Marek Vasut797a19a2020-04-29 15:04:26 +0200110};
Peng Fan4f0c97b2020-12-25 16:16:34 +0800111
Ye Li25804942021-08-16 18:44:28 +0800112&ethphy0 {
113 reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
114 reset-delay-us = <15000>;
115 reset-post-delay-us = <100000>;
116};
117
Peng Fan4f0c97b2020-12-25 16:16:34 +0800118&fec {
119 phy-reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
Ye Lid1b82062021-02-18 22:33:48 -0800120 phy-reset-duration = <15>;
121 phy-reset-post-delay = <100>;
Peng Fan4f0c97b2020-12-25 16:16:34 +0800122};
Peng Fand96d94b2021-04-06 11:59:02 +0800123
Peng Fand96d94b2021-04-06 11:59:02 +0800124