blob: ed183f83a77b7697b4b20d968c163ad39f93a096 [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/ {
Adam Ford49e55632024-03-10 11:59:01 -05009 /* U-Boot does not yet have a proper PCIe clk driver */
10 pcie0_refclk: clock-pcie {
11 compatible = "fixed-clock";
12 #clock-cells = <0>;
13 clock-frequency = <100000000>;
14 };
15
Adam Forda8554812023-03-23 22:06:16 -050016 wdt-reboot {
17 compatible = "wdt-reboot";
18 wdt = <&wdog1>;
19 bootph-pre-ram;
20 };
Adam Forda8554812023-03-23 22:06:16 -050021};
22
Adam Ford49e55632024-03-10 11:59:01 -050023&pcie_phy {
24 clocks = <&pcie0_refclk>;
25};
26
Adam Forda8554812023-03-23 22:06:16 -050027&{/soc@0/bus@30800000/i2c@30a20000/pmic@25} {
28 bootph-pre-ram;
29};
30
31&{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} {
32 bootph-pre-ram;
33};
34
Adam Forda8554812023-03-23 22:06:16 -050035&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
Adam Forda8554812023-03-23 22:06:16 -0500141&tpm {
142 compatible = "tcg,tpm_tis-spi";
143};
144
145&uart2 {
146 bootph-pre-ram;
147};
148
149&usdhc1 {
150 bootph-pre-ram;
151 assigned-clocks = <&clk IMX8MP_CLK_USDHC1>;
152 assigned-clock-rates = <400000000>;
153 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
154};
155
156&usdhc2 {
157 bootph-pre-ram;
158 sd-uhs-sdr104;
159 sd-uhs-ddr50;
160 assigned-clocks = <&clk IMX8MP_CLK_USDHC2>;
161 assigned-clock-rates = <400000000>;
162 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
163};
164
165&usdhc3 {
166 bootph-pre-ram;
167 mmc-hs400-1_8v;
168 mmc-hs400-enhanced-strobe;
169 assigned-clocks = <&clk IMX8MP_CLK_USDHC3>;
170 assigned-clock-rates = <400000000>;
171 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
172};
173
174&usb3_0 {
175 dma-ranges = <0x40000000 0x40000000 0xc0000000>;
Adam Forda8554812023-03-23 22:06:16 -0500176};
177
178&usb3_1 {
179 dma-ranges = <0x40000000 0x40000000 0xc0000000>;
Adam Forda8554812023-03-23 22:06:16 -0500180};
181
182&usb_dwc3_0 {
183 compatible = "fsl,imx8mq-dwc3", "snps,dwc3";
184 assigned-clocks = <&clk IMX8MP_CLK_HSIO_AXI>;
185 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>;
186 assigned-clock-rates = <400000000>;
187};
188
189&usb_dwc3_1 {
190 compatible = "fsl,imx8mq-dwc3", "snps,dwc3";
191 assigned-clocks = <&clk IMX8MP_CLK_HSIO_AXI>;
192 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>;
193 assigned-clock-rates = <400000000>;
194};
195
196&usdhc1 {
197 status = "disabled";
198};
199
200&wdog1 {
201 bootph-pre-ram;
202};