Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) |
2 | /* | ||||
3 | * Copyright (C) STMicroelectronics 2022 - All Rights Reserved | ||||
4 | */ | ||||
5 | |||||
6 | / { | ||||
7 | aliases { | ||||
8 | gpio0 = &gpioa; | ||||
9 | gpio1 = &gpiob; | ||||
10 | gpio2 = &gpioc; | ||||
11 | gpio3 = &gpiod; | ||||
12 | gpio4 = &gpioe; | ||||
13 | gpio5 = &gpiof; | ||||
14 | gpio6 = &gpiog; | ||||
15 | gpio7 = &gpioh; | ||||
16 | gpio8 = &gpioi; | ||||
17 | gpio9 = &gpioj; | ||||
18 | gpio10 = &gpiok; | ||||
19 | gpio25 = &gpioz; | ||||
20 | pinctrl0 = &pinctrl; | ||||
21 | pinctrl1 = &pinctrl_z; | ||||
22 | }; | ||||
23 | |||||
24 | binman: binman { | ||||
25 | multiple-images; | ||||
26 | }; | ||||
27 | |||||
28 | soc { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 29 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 30 | |
31 | ddr: ddr@5a003000 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 32 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 33 | |
34 | compatible = "st,stm32mp1-ddr"; | ||||
35 | |||||
36 | reg = <0x5a003000 0x550 | ||||
37 | 0x5a004000 0x234>; | ||||
38 | |||||
39 | status = "okay"; | ||||
40 | }; | ||||
41 | }; | ||||
42 | |||||
43 | /* need PSCI for sysreset during board_f */ | ||||
44 | psci { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 45 | bootph-some-ram; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 46 | }; |
47 | }; | ||||
48 | |||||
49 | &bsec { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 50 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 51 | }; |
52 | |||||
53 | &gpioa { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 54 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 55 | }; |
56 | |||||
57 | &gpiob { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 58 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 59 | }; |
60 | |||||
61 | &gpioc { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 62 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 63 | }; |
64 | |||||
65 | &gpiod { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 66 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 67 | }; |
68 | |||||
69 | &gpioe { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 70 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 71 | }; |
72 | |||||
73 | &gpiof { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 74 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 75 | }; |
76 | |||||
77 | &gpiog { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 78 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 79 | }; |
80 | |||||
81 | &gpioh { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 82 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 83 | }; |
84 | |||||
85 | &gpioi { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 86 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 87 | }; |
88 | |||||
89 | &gpioj { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 90 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 91 | }; |
92 | |||||
93 | &gpiok { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 94 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 95 | }; |
96 | |||||
97 | &gpioz { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 98 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 99 | }; |
100 | |||||
101 | &optee { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 102 | bootph-some-ram; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 103 | }; |
104 | |||||
105 | &iwdg2 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 106 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 107 | }; |
108 | |||||
109 | /* pre-reloc probe = reserve video frame buffer in video_reserve() */ | ||||
110 | <dc { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 111 | bootph-some-ram; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 112 | }; |
113 | |||||
114 | /* temp = waiting kernel update */ | ||||
115 | &m4_rproc { | ||||
116 | resets = <&scmi_reset RST_SCMI_MCU>, | ||||
117 | <&scmi_reset RST_SCMI_MCU_HOLD_BOOT>; | ||||
118 | reset-names = "mcu_rst", "hold_boot"; | ||||
119 | }; | ||||
120 | |||||
121 | &pinctrl { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 122 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 123 | }; |
124 | |||||
125 | &pinctrl_z { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 126 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 127 | }; |
128 | |||||
129 | &rcc { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 130 | bootph-all; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 131 | }; |
132 | |||||
133 | &scmi { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 134 | bootph-some-ram; |
Patrick Delaunay | 6cccc8d | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 135 | }; |
136 | |||||
137 | &usart1 { | ||||
138 | resets = <&rcc USART1_R>; | ||||
139 | }; | ||||
140 | |||||
141 | &usart2 { | ||||
142 | resets = <&rcc USART2_R>; | ||||
143 | }; | ||||
144 | |||||
145 | &usart3 { | ||||
146 | resets = <&rcc USART3_R>; | ||||
147 | }; | ||||
148 | |||||
149 | &uart4 { | ||||
150 | resets = <&rcc UART4_R>; | ||||
151 | }; | ||||
152 | |||||
153 | &uart5 { | ||||
154 | resets = <&rcc UART5_R>; | ||||
155 | }; | ||||
156 | |||||
157 | &usart6 { | ||||
158 | resets = <&rcc USART6_R>; | ||||
159 | }; | ||||
160 | |||||
161 | &uart7 { | ||||
162 | resets = <&rcc UART7_R>; | ||||
163 | }; | ||||
164 | |||||
165 | &uart8{ | ||||
166 | resets = <&rcc UART8_R>; | ||||
167 | }; |