Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 1 | // 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 Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 13 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 14 | }; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 15 | }; |
16 | |||||
17 | &iomuxc { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 18 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 19 | }; |
20 | |||||
21 | ®_usdhc2_vmmc { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 22 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 23 | }; |
24 | |||||
25 | &pinctrl_uart2 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 26 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 27 | }; |
28 | |||||
29 | &pinctrl_uart3 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 30 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 31 | }; |
32 | |||||
33 | &pinctrl_usdhc2_gpio { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 34 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 35 | }; |
36 | |||||
37 | &pinctrl_usdhc2 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 38 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 39 | }; |
40 | |||||
41 | &pinctrl_usdhc3 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 42 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 43 | }; |
44 | |||||
45 | &gpio1 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 46 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 47 | }; |
48 | |||||
49 | &gpio2 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 50 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 51 | }; |
52 | |||||
53 | &gpio3 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 54 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 55 | }; |
56 | |||||
57 | &gpio4 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 58 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 59 | }; |
60 | |||||
61 | &gpio5 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 62 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 63 | }; |
64 | |||||
65 | &uart2 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 66 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 67 | }; |
68 | |||||
69 | &uart3 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 70 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 71 | }; |
72 | |||||
73 | &i2c1 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 74 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 75 | }; |
76 | |||||
77 | &i2c2 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 78 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 79 | }; |
80 | |||||
81 | &i2c3 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 82 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 83 | }; |
84 | |||||
Peng Fan | 722e2b9 | 2022-06-11 20:21:08 +0800 | [diff] [blame] | 85 | &wdog1 { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 86 | bootph-pre-ram; |
Peng Fan | 722e2b9 | 2022-06-11 20:21:08 +0800 | [diff] [blame] | 87 | }; |
88 | |||||
89 | &pinctrl_wdog { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 90 | bootph-pre-ram; |
Peng Fan | 722e2b9 | 2022-06-11 20:21:08 +0800 | [diff] [blame] | 91 | }; |
92 | |||||
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 93 | &pinctrl_i2c1 { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 94 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 95 | }; |
96 | |||||
97 | &pinctrl_i2c1_gpio { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 98 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 99 | }; |
100 | |||||
101 | &pinctrl_pmic { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 102 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 103 | }; |
104 | |||||
105 | &{/soc@0/bus@30800000/i2c@30a20000/pca9450@25} { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 106 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 107 | }; |
108 | |||||
109 | &{/soc@0/bus@30800000/i2c@30a20000/pca9450@25/regulators} { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 110 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 111 | }; |
112 | |||||
113 | &usdhc1 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 114 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 115 | assigned-clocks = <&clk IMX8MP_CLK_USDHC1>; |
116 | assigned-clock-rates = <400000000>; | ||||
117 | assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>; | ||||
118 | }; | ||||
119 | |||||
120 | &usdhc2 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 121 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 122 | sd-uhs-sdr104; |
123 | sd-uhs-ddr50; | ||||
124 | assigned-clocks = <&clk IMX8MP_CLK_USDHC2>; | ||||
125 | assigned-clock-rates = <400000000>; | ||||
126 | assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>; | ||||
127 | }; | ||||
128 | |||||
129 | &usdhc3 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 130 | bootph-pre-ram; |
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 131 | mmc-hs400-1_8v; |
132 | mmc-hs400-enhanced-strobe; | ||||
133 | assigned-clocks = <&clk IMX8MP_CLK_USDHC3>; | ||||
134 | assigned-clock-rates = <400000000>; | ||||
135 | assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>; | ||||
136 | }; | ||||
137 | |||||
138 | &binman { | ||||
139 | itb { | ||||
140 | fit { | ||||
141 | images { | ||||
142 | fip { | ||||
143 | description = "Trusted Firmware FIP"; | ||||
144 | type = "firmware"; | ||||
145 | arch = "arm64"; | ||||
146 | compression = "none"; | ||||
147 | load = <0x40310000>; | ||||
148 | |||||
149 | fip_blob: blob-ext{ | ||||
150 | filename = "fip.bin"; | ||||
151 | }; | ||||
152 | }; | ||||
153 | }; | ||||
Ying-Chun Liu (PaulLiu) | 6c3373b | 2022-01-26 20:33:02 +0800 | [diff] [blame] | 154 | }; |
155 | }; | ||||
156 | }; | ||||
Ying-Chun Liu (PaulLiu) | 624c9de | 2023-01-18 03:15:00 +0800 | [diff] [blame] | 157 | |
Simon Glass | 98244a8 | 2023-08-23 19:18:01 -0600 | [diff] [blame] | 158 | /* This cannot work since it refers to a template node |
Ying-Chun Liu (PaulLiu) | 624c9de | 2023-01-18 03:15:00 +0800 | [diff] [blame] | 159 | &binman_configuration { |
160 | loadables = "atf", "fip"; | ||||
161 | }; | ||||
Simon Glass | 98244a8 | 2023-08-23 19:18:01 -0600 | [diff] [blame] | 162 | */ |