blob: 0d489a781db4eeced51348715d0f309f49da5e66 [file] [log] [blame]
Peng Fan439321b2019-12-30 17:46:21 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
Gaurav Jainee51b2c2022-03-24 11:50:26 +05303 * Copyright 2019, 2021 NXP
Peng Fan439321b2019-12-30 17:46:21 +08004 */
5
Teresa Remmetdafb1642021-07-07 12:57:57 +00006#include "imx8mp-u-boot.dtsi"
Peng Fan1e4ed2d2021-04-06 11:59:02 +08007
Teresa Remmetdafb1642021-07-07 12:57:57 +00008/ {
Marek Vasutf24dea42020-04-29 15:04:26 +02009 wdt-reboot {
10 compatible = "wdt-reboot";
11 wdt = <&wdog1>;
Simon Glass8c103c32023-02-13 08:56:33 -070012 bootph-pre-ram;
Marek Vasutf24dea42020-04-29 15:04:26 +020013 };
Clement Faure56d20502021-03-25 17:30:33 +080014 firmware {
15 optee {
16 compatible = "linaro,optee-tz";
17 method = "smc";
18 };
19 };
Marek Vasutf24dea42020-04-29 15:04:26 +020020};
21
Peng Fan439321b2019-12-30 17:46:21 +080022&reg_usdhc2_vmmc {
Andrey Zhizhikin247bbeb2020-12-05 17:29:17 +000023 u-boot,off-on-delay-us = <20000>;
24};
25
26&reg_usdhc2_vmmc {
Simon Glass8c103c32023-02-13 08:56:33 -070027 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080028};
29
30&pinctrl_uart2 {
Simon Glass8c103c32023-02-13 08:56:33 -070031 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080032};
33
34&pinctrl_usdhc2_gpio {
Simon Glass8c103c32023-02-13 08:56:33 -070035 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080036};
37
38&pinctrl_usdhc2 {
Simon Glass8c103c32023-02-13 08:56:33 -070039 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080040};
41
42&pinctrl_usdhc3 {
Simon Glass8c103c32023-02-13 08:56:33 -070043 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080044};
45
Peng Fana38ed612022-05-05 19:05:59 +080046&pinctrl_wdog {
Simon Glass8c103c32023-02-13 08:56:33 -070047 bootph-pre-ram;
Peng Fana38ed612022-05-05 19:05:59 +080048};
49
Peng Fan439321b2019-12-30 17:46:21 +080050&gpio1 {
Simon Glass8c103c32023-02-13 08:56:33 -070051 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080052};
53
54&gpio2 {
Simon Glass8c103c32023-02-13 08:56:33 -070055 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080056};
57
58&gpio3 {
Simon Glass8c103c32023-02-13 08:56:33 -070059 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080060};
61
62&gpio4 {
Simon Glass8c103c32023-02-13 08:56:33 -070063 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080064};
65
66&gpio5 {
Simon Glass8c103c32023-02-13 08:56:33 -070067 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080068};
69
70&uart2 {
Simon Glass8c103c32023-02-13 08:56:33 -070071 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080072};
73
Gaurav Jainee51b2c2022-03-24 11:50:26 +053074&crypto {
Simon Glass8c103c32023-02-13 08:56:33 -070075 bootph-pre-ram;
Gaurav Jainee51b2c2022-03-24 11:50:26 +053076};
77
78&sec_jr0 {
Simon Glass8c103c32023-02-13 08:56:33 -070079 bootph-pre-ram;
Gaurav Jainee51b2c2022-03-24 11:50:26 +053080};
81
82&sec_jr1 {
Simon Glass8c103c32023-02-13 08:56:33 -070083 bootph-pre-ram;
Gaurav Jainee51b2c2022-03-24 11:50:26 +053084};
85
86&sec_jr2 {
Simon Glass8c103c32023-02-13 08:56:33 -070087 bootph-pre-ram;
Gaurav Jainee51b2c2022-03-24 11:50:26 +053088};
89
Peng Fan439321b2019-12-30 17:46:21 +080090&i2c1 {
Simon Glass8c103c32023-02-13 08:56:33 -070091 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080092};
93
94&i2c2 {
Simon Glass8c103c32023-02-13 08:56:33 -070095 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +080096};
97
98&i2c3 {
Simon Glass8c103c32023-02-13 08:56:33 -070099 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +0800100};
101
102&i2c4 {
Simon Glass8c103c32023-02-13 08:56:33 -0700103 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +0800104};
105
106&i2c5 {
Simon Glass8c103c32023-02-13 08:56:33 -0700107 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +0800108};
109
110&i2c6 {
Simon Glass8c103c32023-02-13 08:56:33 -0700111 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +0800112};
113
114&usdhc1 {
Simon Glass8c103c32023-02-13 08:56:33 -0700115 bootph-pre-ram;
Peng Fan439321b2019-12-30 17:46:21 +0800116};
117
118&usdhc2 {
Simon Glass8c103c32023-02-13 08:56:33 -0700119 bootph-pre-ram;
Andrey Zhizhikin50b1a692020-12-05 17:29:18 +0000120 sd-uhs-sdr104;
121 sd-uhs-ddr50;
Peng Fan439321b2019-12-30 17:46:21 +0800122};
123
124&usdhc3 {
Simon Glass8c103c32023-02-13 08:56:33 -0700125 bootph-pre-ram;
Andrey Zhizhikin50b1a692020-12-05 17:29:18 +0000126 mmc-hs400-1_8v;
127 mmc-hs400-enhanced-strobe;
Peng Fan439321b2019-12-30 17:46:21 +0800128};
Marek Vasutf24dea42020-04-29 15:04:26 +0200129
130&wdog1 {
Simon Glass8c103c32023-02-13 08:56:33 -0700131 bootph-pre-ram;
Marek Vasutf24dea42020-04-29 15:04:26 +0200132};
Peng Fan48b90f82020-12-25 16:16:34 +0800133
Ye Lia65b7fb2021-08-16 18:44:28 +0800134&eqos {
Ye Lia65b7fb2021-08-16 18:44:28 +0800135 /delete-property/ assigned-clocks;
136 /delete-property/ assigned-clock-parents;
137 /delete-property/ assigned-clock-rates;
138};
139
140&ethphy0 {
141 reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
142 reset-delay-us = <15000>;
143 reset-post-delay-us = <100000>;
144};
145
Peng Fan48b90f82020-12-25 16:16:34 +0800146&fec {
147 phy-reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
Ye Lif19d1a92021-02-18 22:33:48 -0800148 phy-reset-duration = <15>;
149 phy-reset-post-delay = <100>;
Peng Fan48b90f82020-12-25 16:16:34 +0800150};
Peng Fan1e4ed2d2021-04-06 11:59:02 +0800151
Peng Fan1e4ed2d2021-04-06 11:59:02 +0800152