1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019 NXP
4 * Copyright (c) 2020 Amarula Solutons(India)
5 */
6
7#include "imx8mp-u-boot.dtsi"
8
9/ {
10	wdt-reboot {
11		compatible = "wdt-reboot";
12		wdt = <&wdog1>;
13		bootph-pre-ram;
14	};
15
16	firmware {
17		optee {
18			compatible = "linaro,optee-tz";
19			method = "smc";
20		};
21	};
22};
23
24&reg_usdhc2_vmmc {
25	u-boot,off-on-delay-us = <20000>;
26};
27
28&reg_usdhc2_vmmc {
29	bootph-pre-ram;
30};
31
32&pinctrl_uart2 {
33	bootph-pre-ram;
34};
35
36&pinctrl_usdhc2_gpio {
37	bootph-pre-ram;
38};
39
40&pinctrl_usdhc2 {
41	bootph-pre-ram;
42};
43
44&pinctrl_usdhc3 {
45	bootph-pre-ram;
46};
47
48&gpio1 {
49	bootph-pre-ram;
50};
51
52&gpio2 {
53	bootph-pre-ram;
54};
55
56&gpio3 {
57	bootph-pre-ram;
58};
59
60&gpio4 {
61	bootph-pre-ram;
62};
63
64&gpio5 {
65	bootph-pre-ram;
66};
67
68&uart2 {
69	bootph-pre-ram;
70};
71
72&crypto {
73	bootph-pre-ram;
74};
75
76&sec_jr0 {
77	bootph-pre-ram;
78};
79
80&sec_jr1 {
81	bootph-pre-ram;
82};
83
84&sec_jr2 {
85	bootph-pre-ram;
86};
87
88&i2c1 {
89	bootph-pre-ram;
90};
91
92&i2c2 {
93	bootph-pre-ram;
94};
95
96&i2c3 {
97	bootph-pre-ram;
98};
99
100&i2c4 {
101	bootph-pre-ram;
102};
103
104&i2c5 {
105	bootph-pre-ram;
106};
107
108&i2c6 {
109	bootph-pre-ram;
110};
111
112&usdhc1 {
113	bootph-pre-ram;
114};
115
116&usdhc2 {
117	bootph-pre-ram;
118	sd-uhs-sdr104;
119	sd-uhs-ddr50;
120	no-1-8-v;
121};
122
123&usdhc3 {
124	bootph-pre-ram;
125	mmc-hs400-1_8v;
126	mmc-hs400-enhanced-strobe;
127};
128
129&wdog1 {
130	bootph-pre-ram;
131};
132
133&ethphy0 {
134	reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
135	reset-delay-us = <15000>;
136	reset-post-delay-us = <100000>;
137};
138
139&fec {
140	phy-reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
141	phy-reset-duration = <15>;
142	phy-reset-post-delay = <100>;
143};
144