blob: 380146596c0ebef7a8f9c251fa3b9872cf3caa5f [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&ethphy0 {
36 reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
37 reset-assert-us = <15000>;
38 reset-deassert-us = <100000>;
39};
40
41&fec {
42 phy-reset-gpios = <&gpio4 18 GPIO_ACTIVE_LOW>;
43 phy-reset-duration = <15>;
44 phy-reset-post-delay = <100>;
45};
46
47&flexspi {
48 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
49};
50
51&gpio1 {
52 bootph-pre-ram;
53};
54
55&gpio2 {
56 bootph-pre-ram;
57};
58
59&gpio3 {
60 bootph-pre-ram;
61};
62
63&gpio4 {
64 bootph-pre-ram;
65};
66
67&gpio5 {
68 bootph-pre-ram;
69};
70
71&i2c1 {
72 bootph-pre-ram;
73};
74
75&i2c2 {
76 bootph-pre-ram;
77};
78
79&i2c3 {
80 bootph-pre-ram;
81};
82
83&pca6416 {
84 compatible = "ti,tca6416";
85 label = "exp4";
86};
87
88&pca6416_1 {
89 compatible = "ti,tca6416";
90 label = "exp4";
91};
92
93&pca6416_3 {
94 compatible = "ti,tca6416";
95 label = "exp2";
96};
97
98&pinctrl_i2c1 {
99 bootph-pre-ram;
100};
101
102&pinctrl_pmic {
103 bootph-pre-ram;
104};
105
106&pinctrl_reg_usdhc2_vmmc {
107 bootph-pre-ram;
108};
109
110&pinctrl_uart2 {
111 bootph-pre-ram;
112};
113
114&pinctrl_usdhc2_gpio {
115 bootph-pre-ram;
116};
117
118&pinctrl_usdhc2 {
119 bootph-pre-ram;
120};
121
122&pinctrl_usdhc3 {
123 bootph-pre-ram;
124};
125
126&pinctrl_wdog {
127 bootph-pre-ram;
128};
129
130&reg_usdhc2_vmmc {
131 bootph-pre-ram;
132 u-boot,off-on-delay-us = <20000>;
133};
134
Adam Forda8554812023-03-23 22:06:16 -0500135&tpm {
136 compatible = "tcg,tpm_tis-spi";
137};
138
139&uart2 {
140 bootph-pre-ram;
141};
142
143&usdhc1 {
144 bootph-pre-ram;
145 assigned-clocks = <&clk IMX8MP_CLK_USDHC1>;
146 assigned-clock-rates = <400000000>;
147 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
148};
149
150&usdhc2 {
151 bootph-pre-ram;
152 sd-uhs-sdr104;
153 sd-uhs-ddr50;
154 assigned-clocks = <&clk IMX8MP_CLK_USDHC2>;
155 assigned-clock-rates = <400000000>;
156 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
157};
158
159&usdhc3 {
160 bootph-pre-ram;
161 mmc-hs400-1_8v;
162 mmc-hs400-enhanced-strobe;
163 assigned-clocks = <&clk IMX8MP_CLK_USDHC3>;
164 assigned-clock-rates = <400000000>;
165 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
166};
167
168&usb3_0 {
169 dma-ranges = <0x40000000 0x40000000 0xc0000000>;
Adam Forda8554812023-03-23 22:06:16 -0500170};
171
172&usb3_1 {
173 dma-ranges = <0x40000000 0x40000000 0xc0000000>;
Adam Forda8554812023-03-23 22:06:16 -0500174};
175
176&usb_dwc3_0 {
177 compatible = "fsl,imx8mq-dwc3", "snps,dwc3";
178 assigned-clocks = <&clk IMX8MP_CLK_HSIO_AXI>;
179 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>;
180 assigned-clock-rates = <400000000>;
181};
182
183&usb_dwc3_1 {
184 compatible = "fsl,imx8mq-dwc3", "snps,dwc3";
185 assigned-clocks = <&clk IMX8MP_CLK_HSIO_AXI>;
186 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>;
187 assigned-clock-rates = <400000000>;
188};
189
190&usdhc1 {
191 status = "disabled";
192};
193
194&wdog1 {
195 bootph-pre-ram;
196};