blob: b56f3a2bd2e11addf917b1704d96e07f506b5cfa [file] [log] [blame]
Adam Forda8554812023-03-23 22:06:16 -05001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2022 Logic PD, Inc DBA Beacon EmbeddedWorks
4 */
5
6#include "imx8mp-u-boot.dtsi"
7
8/ {
9 wdt-reboot {
10 compatible = "wdt-reboot";
11 wdt = <&wdog1>;
12 bootph-pre-ram;
13 };
14
15 firmware {
16 optee {
17 compatible = "linaro,optee-tz";
18 method = "smc";
19 };
20 };
21};
22
23&{/soc@0/bus@30800000/i2c@30a20000/pmic@25} {
24 bootph-pre-ram;
25};
26
27&{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} {
28 bootph-pre-ram;
29};
30
31&crypto {
32 bootph-pre-ram;
33};
34
35&eqos {
36 /delete-property/ assigned-clocks;
37 /delete-property/ assigned-clock-parents;
38 /delete-property/ assigned-clock-rates;
39};
40
41&ethphy0 {
42 reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
43 reset-assert-us = <15000>;
44 reset-deassert-us = <100000>;
45};
46
47&fec {
48 phy-reset-gpios = <&gpio4 18 GPIO_ACTIVE_LOW>;
49 phy-reset-duration = <15>;
50 phy-reset-post-delay = <100>;
51};
52
53&flexspi {
54 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
55};
56
57&gpio1 {
58 bootph-pre-ram;
59};
60
61&gpio2 {
62 bootph-pre-ram;
63};
64
65&gpio3 {
66 bootph-pre-ram;
67};
68
69&gpio4 {
70 bootph-pre-ram;
71};
72
73&gpio5 {
74 bootph-pre-ram;
75};
76
77&i2c1 {
78 bootph-pre-ram;
79};
80
81&i2c2 {
82 bootph-pre-ram;
83};
84
85&i2c3 {
86 bootph-pre-ram;
87};
88
89&pca6416 {
90 compatible = "ti,tca6416";
91 label = "exp4";
92};
93
94&pca6416_1 {
95 compatible = "ti,tca6416";
96 label = "exp4";
97};
98
99&pca6416_3 {
100 compatible = "ti,tca6416";
101 label = "exp2";
102};
103
104&pinctrl_i2c1 {
105 bootph-pre-ram;
106};
107
108&pinctrl_pmic {
109 bootph-pre-ram;
110};
111
112&pinctrl_reg_usdhc2_vmmc {
113 bootph-pre-ram;
114};
115
116&pinctrl_uart2 {
117 bootph-pre-ram;
118};
119
120&pinctrl_usdhc2_gpio {
121 bootph-pre-ram;
122};
123
124&pinctrl_usdhc2 {
125 bootph-pre-ram;
126};
127
128&pinctrl_usdhc3 {
129 bootph-pre-ram;
130};
131
132&pinctrl_wdog {
133 bootph-pre-ram;
134};
135
136&reg_usdhc2_vmmc {
137 bootph-pre-ram;
138 u-boot,off-on-delay-us = <20000>;
139};
140
141&sec_jr0 {
142 bootph-pre-ram;
143};
144
145&sec_jr1 {
146 bootph-pre-ram;
147};
148
149&sec_jr2 {
150 bootph-pre-ram;
151};
152
153&tpm {
154 compatible = "tcg,tpm_tis-spi";
155};
156
157&uart2 {
158 bootph-pre-ram;
159};
160
161&usdhc1 {
162 bootph-pre-ram;
163 assigned-clocks = <&clk IMX8MP_CLK_USDHC1>;
164 assigned-clock-rates = <400000000>;
165 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
166};
167
168&usdhc2 {
169 bootph-pre-ram;
170 sd-uhs-sdr104;
171 sd-uhs-ddr50;
172 assigned-clocks = <&clk IMX8MP_CLK_USDHC2>;
173 assigned-clock-rates = <400000000>;
174 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
175};
176
177&usdhc3 {
178 bootph-pre-ram;
179 mmc-hs400-1_8v;
180 mmc-hs400-enhanced-strobe;
181 assigned-clocks = <&clk IMX8MP_CLK_USDHC3>;
182 assigned-clock-rates = <400000000>;
183 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
184};
185
186&usb3_0 {
187 dma-ranges = <0x40000000 0x40000000 0xc0000000>;
Adam Forda8554812023-03-23 22:06:16 -0500188};
189
190&usb3_1 {
191 dma-ranges = <0x40000000 0x40000000 0xc0000000>;
Adam Forda8554812023-03-23 22:06:16 -0500192};
193
194&usb_dwc3_0 {
195 compatible = "fsl,imx8mq-dwc3", "snps,dwc3";
196 assigned-clocks = <&clk IMX8MP_CLK_HSIO_AXI>;
197 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>;
198 assigned-clock-rates = <400000000>;
199};
200
201&usb_dwc3_1 {
202 compatible = "fsl,imx8mq-dwc3", "snps,dwc3";
203 assigned-clocks = <&clk IMX8MP_CLK_HSIO_AXI>;
204 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>;
205 assigned-clock-rates = <400000000>;
206};
207
208&usdhc1 {
209 status = "disabled";
210};
211
212&wdog1 {
213 bootph-pre-ram;
214};