blob: f3fb44046d5ca9220954e65514965524a838fb62 [file] [log] [blame]
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019 NXP
4 * Copyright 2022 Linaro
5 */
6
7#include "imx8mp-u-boot.dtsi"
8
9/ {
10 wdt-reboot {
11 compatible = "wdt-reboot";
12 wdt = <&wdog1>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070013 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080014 };
15
16 firmware {
17 optee {
18 compatible = "linaro,optee-tz";
19 method = "smc";
20 };
21 };
22};
23
24&iomuxc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070025 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080026};
27
28&reg_usdhc2_vmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070029 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080030};
31
32&pinctrl_uart2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070033 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080034};
35
36&pinctrl_uart3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070037 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080038};
39
40&pinctrl_usdhc2_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070041 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080042};
43
44&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070045 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080046};
47
48&pinctrl_usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070049 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080050};
51
52&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070053 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080054};
55
56&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070057 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080058};
59
60&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070061 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080062};
63
64&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070065 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080066};
67
68&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070069 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080070};
71
72&uart2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070073 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080074};
75
76&uart3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070077 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080078};
79
80&i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070081 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080082};
83
84&i2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070085 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080086};
87
88&i2c3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070089 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +080090};
91
Peng Fanb00e4292022-06-11 20:21:08 +080092&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070093 bootph-pre-ram;
Peng Fanb00e4292022-06-11 20:21:08 +080094};
95
96&pinctrl_wdog {
Simon Glassd3a98cb2023-02-13 08:56:33 -070097 bootph-pre-ram;
Peng Fanb00e4292022-06-11 20:21:08 +080098};
99
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +0800100&pinctrl_i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700101 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +0800102};
103
104&pinctrl_i2c1_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700105 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +0800106};
107
108&pinctrl_pmic {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700109 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +0800110};
111
112&{/soc@0/bus@30800000/i2c@30a20000/pca9450@25} {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700113 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +0800114};
115
116&{/soc@0/bus@30800000/i2c@30a20000/pca9450@25/regulators} {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700117 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +0800118};
119
120&usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700121 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +0800122 assigned-clocks = <&clk IMX8MP_CLK_USDHC1>;
123 assigned-clock-rates = <400000000>;
124 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
125};
126
127&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700128 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +0800129 sd-uhs-sdr104;
130 sd-uhs-ddr50;
131 assigned-clocks = <&clk IMX8MP_CLK_USDHC2>;
132 assigned-clock-rates = <400000000>;
133 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
134};
135
136&usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700137 bootph-pre-ram;
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +0800138 mmc-hs400-1_8v;
139 mmc-hs400-enhanced-strobe;
140 assigned-clocks = <&clk IMX8MP_CLK_USDHC3>;
141 assigned-clock-rates = <400000000>;
142 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
143};
144
145&binman {
146 itb {
147 fit {
148 images {
149 fip {
150 description = "Trusted Firmware FIP";
151 type = "firmware";
152 arch = "arm64";
153 compression = "none";
154 load = <0x40310000>;
155
156 fip_blob: blob-ext{
157 filename = "fip.bin";
158 };
159 };
160 };
Ying-Chun Liu (PaulLiu)f183f132022-01-26 20:33:02 +0800161 };
162 };
163};
Ying-Chun Liu (PaulLiu)7cccd052023-01-18 03:15:00 +0800164
165&binman_configuration {
166 loadables = "atf", "fip";
167};