blob: 6784ed2e7c92a4b7e73133637e2a061f5b70c217 [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 };
Clement Faurea93b0d92021-03-25 17:30:33 +080014 firmware {
15 optee {
16 compatible = "linaro,optee-tz";
17 method = "smc";
18 };
19 };
Marek Vasut797a19a2020-04-29 15:04:26 +020020};
21
Peng Fanc47e09d2019-12-30 17:46:21 +080022&reg_usdhc2_vmmc {
Andrey Zhizhikincf51a552020-12-05 17:29:17 +000023 u-boot,off-on-delay-us = <20000>;
24};
25
26&reg_usdhc2_vmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070027 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080028};
29
30&pinctrl_uart2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070031 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080032};
33
34&pinctrl_usdhc2_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070035 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080036};
37
38&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070039 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080040};
41
42&pinctrl_usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070043 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080044};
45
Peng Fane22df442022-05-05 19:05:59 +080046&pinctrl_wdog {
Simon Glassd3a98cb2023-02-13 08:56:33 -070047 bootph-pre-ram;
Peng Fane22df442022-05-05 19:05:59 +080048};
49
Peng Fanc47e09d2019-12-30 17:46:21 +080050&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070051 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080052};
53
54&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070055 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080056};
57
58&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070059 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080060};
61
62&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070063 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080064};
65
66&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070067 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080068};
69
70&uart2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070071 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080072};
73
Gaurav Jainbce9acf2022-03-24 11:50:26 +053074&crypto {
Simon Glassd3a98cb2023-02-13 08:56:33 -070075 bootph-pre-ram;
Gaurav Jainbce9acf2022-03-24 11:50:26 +053076};
77
78&sec_jr0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070079 bootph-pre-ram;
Gaurav Jainbce9acf2022-03-24 11:50:26 +053080};
81
82&sec_jr1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070083 bootph-pre-ram;
Gaurav Jainbce9acf2022-03-24 11:50:26 +053084};
85
86&sec_jr2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070087 bootph-pre-ram;
Gaurav Jainbce9acf2022-03-24 11:50:26 +053088};
89
Peng Fanc47e09d2019-12-30 17:46:21 +080090&i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070091 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080092};
93
94&i2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070095 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +080096};
97
98&i2c3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070099 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +0800100};
101
102&i2c4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700103 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +0800104};
105
106&i2c5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700107 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +0800108};
109
110&i2c6 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700111 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +0800112};
113
114&usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700115 bootph-pre-ram;
Peng Fanc47e09d2019-12-30 17:46:21 +0800116};
117
118&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700119 bootph-pre-ram;
Andrey Zhizhikin9aa95982020-12-05 17:29:18 +0000120 sd-uhs-sdr104;
121 sd-uhs-ddr50;
Peng Fanc47e09d2019-12-30 17:46:21 +0800122};
123
124&usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700125 bootph-pre-ram;
Andrey Zhizhikin9aa95982020-12-05 17:29:18 +0000126 mmc-hs400-1_8v;
127 mmc-hs400-enhanced-strobe;
Peng Fanc47e09d2019-12-30 17:46:21 +0800128};
Marek Vasut797a19a2020-04-29 15:04:26 +0200129
130&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700131 bootph-pre-ram;
Marek Vasut797a19a2020-04-29 15:04:26 +0200132};
Peng Fan4f0c97b2020-12-25 16:16:34 +0800133
Ye Li25804942021-08-16 18:44:28 +0800134&ethphy0 {
135 reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
136 reset-delay-us = <15000>;
137 reset-post-delay-us = <100000>;
138};
139
Peng Fan4f0c97b2020-12-25 16:16:34 +0800140&fec {
141 phy-reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
Ye Lid1b82062021-02-18 22:33:48 -0800142 phy-reset-duration = <15>;
143 phy-reset-post-delay = <100>;
Peng Fan4f0c97b2020-12-25 16:16:34 +0800144};
Peng Fand96d94b2021-04-06 11:59:02 +0800145
Peng Fand96d94b2021-04-06 11:59:02 +0800146