Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Copyright : STMicroelectronics 2018 |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 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; |
Patrick Delaunay | 1b58b55 | 2019-04-12 14:38:28 +0200 | [diff] [blame] | 20 | pinctrl0 = &pinctrl; |
| 21 | pinctrl1 = &pinctrl_z; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 22 | }; |
| 23 | |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 24 | clocks { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 25 | u-boot,dm-pre-reloc; |
| 26 | }; |
| 27 | |
Patrick Delaunay | cf45d9d | 2019-07-30 19:16:15 +0200 | [diff] [blame] | 28 | /* need PSCI for sysreset during board_f */ |
| 29 | psci { |
| 30 | u-boot,dm-pre-proper; |
| 31 | }; |
| 32 | |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 33 | reboot { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 34 | u-boot,dm-pre-reloc; |
| 35 | }; |
| 36 | |
| 37 | soc { |
| 38 | u-boot,dm-pre-reloc; |
Marek Vasut | 379775c | 2020-04-22 13:18:13 +0200 | [diff] [blame] | 39 | |
| 40 | ddr: ddr@5a003000 { |
| 41 | u-boot,dm-pre-reloc; |
| 42 | |
| 43 | compatible = "st,stm32mp1-ddr"; |
| 44 | |
| 45 | reg = <0x5A003000 0x550 |
| 46 | 0x5A004000 0x234>; |
| 47 | |
| 48 | clocks = <&rcc AXIDCG>, |
| 49 | <&rcc DDRC1>, |
| 50 | <&rcc DDRC2>, |
| 51 | <&rcc DDRPHYC>, |
| 52 | <&rcc DDRCAPB>, |
| 53 | <&rcc DDRPHYCAPB>; |
| 54 | |
| 55 | clock-names = "axidcg", |
| 56 | "ddrc1", |
| 57 | "ddrc2", |
| 58 | "ddrphyc", |
| 59 | "ddrcapb", |
| 60 | "ddrphycapb"; |
| 61 | |
| 62 | status = "okay"; |
| 63 | }; |
Patrick Delaunay | 089d435 | 2018-03-20 11:45:14 +0100 | [diff] [blame] | 64 | }; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 65 | }; |
| 66 | |
Patrick Delaunay | bdd7136 | 2019-02-27 17:01:27 +0100 | [diff] [blame] | 67 | &bsec { |
Patrick Delaunay | b6cc505 | 2020-05-25 12:19:41 +0200 | [diff] [blame] | 68 | u-boot,dm-pre-reloc; |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 69 | }; |
| 70 | |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 71 | &clk_csi { |
| 72 | u-boot,dm-pre-reloc; |
| 73 | }; |
| 74 | |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 75 | &clk_hsi { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 76 | u-boot,dm-pre-reloc; |
| 77 | }; |
| 78 | |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 79 | &clk_hse { |
Patrick Delaunay | 32ddd26 | 2018-03-20 14:15:06 +0100 | [diff] [blame] | 80 | u-boot,dm-pre-reloc; |
| 81 | }; |
| 82 | |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 83 | &clk_lsi { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 84 | u-boot,dm-pre-reloc; |
| 85 | }; |
| 86 | |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 87 | &clk_lse { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 88 | u-boot,dm-pre-reloc; |
| 89 | }; |
| 90 | |
Patrick Delaunay | 72b1080 | 2020-05-25 12:19:48 +0200 | [diff] [blame] | 91 | &cpu0_opp_table { |
| 92 | u-boot,dm-spl; |
| 93 | opp-650000000 { |
| 94 | u-boot,dm-spl; |
| 95 | }; |
| 96 | opp-800000000 { |
| 97 | u-boot,dm-spl; |
| 98 | }; |
| 99 | }; |
| 100 | |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 101 | &gpioa { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 102 | u-boot,dm-pre-reloc; |
| 103 | }; |
| 104 | |
| 105 | &gpiob { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 106 | u-boot,dm-pre-reloc; |
| 107 | }; |
| 108 | |
| 109 | &gpioc { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 110 | u-boot,dm-pre-reloc; |
| 111 | }; |
| 112 | |
| 113 | &gpiod { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 114 | u-boot,dm-pre-reloc; |
| 115 | }; |
| 116 | |
| 117 | &gpioe { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 118 | u-boot,dm-pre-reloc; |
| 119 | }; |
| 120 | |
| 121 | &gpiof { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 122 | u-boot,dm-pre-reloc; |
| 123 | }; |
| 124 | |
| 125 | &gpiog { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 126 | u-boot,dm-pre-reloc; |
| 127 | }; |
| 128 | |
| 129 | &gpioh { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 130 | u-boot,dm-pre-reloc; |
| 131 | }; |
| 132 | |
| 133 | &gpioi { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 134 | u-boot,dm-pre-reloc; |
| 135 | }; |
| 136 | |
| 137 | &gpioj { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 138 | u-boot,dm-pre-reloc; |
| 139 | }; |
| 140 | |
| 141 | &gpiok { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 142 | u-boot,dm-pre-reloc; |
| 143 | }; |
| 144 | |
| 145 | &gpioz { |
Patrick Delaunay | 06020d8 | 2018-03-12 10:46:17 +0100 | [diff] [blame] | 146 | u-boot,dm-pre-reloc; |
| 147 | }; |
Patrice Chotard | 26d1107 | 2019-04-30 17:26:21 +0200 | [diff] [blame] | 148 | |
Patrick Delaunay | 1ebe34b | 2019-07-30 19:16:14 +0200 | [diff] [blame] | 149 | &iwdg2 { |
| 150 | u-boot,dm-pre-reloc; |
| 151 | }; |
| 152 | |
Patrick Delaunay | d918b88 | 2019-07-30 19:16:16 +0200 | [diff] [blame] | 153 | /* pre-reloc probe = reserve video frame buffer in video_reserve() */ |
| 154 | <dc { |
| 155 | u-boot,dm-pre-proper; |
| 156 | }; |
| 157 | |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 158 | &pinctrl { |
| 159 | u-boot,dm-pre-reloc; |
| 160 | }; |
| 161 | |
| 162 | &pinctrl_z { |
| 163 | u-boot,dm-pre-reloc; |
| 164 | }; |
| 165 | |
Patrick Delaunay | 900494d | 2020-01-28 10:10:59 +0100 | [diff] [blame] | 166 | &pwr_regulators { |
Patrice Chotard | 26d1107 | 2019-04-30 17:26:21 +0200 | [diff] [blame] | 167 | u-boot,dm-pre-reloc; |
| 168 | }; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 169 | |
| 170 | &rcc { |
| 171 | u-boot,dm-pre-reloc; |
Patrick Delaunay | c22caac | 2020-01-28 10:11:03 +0100 | [diff] [blame] | 172 | #address-cells = <1>; |
| 173 | #size-cells = <0>; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 174 | }; |
| 175 | |
| 176 | &sdmmc1 { |
| 177 | compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell"; |
| 178 | }; |
| 179 | |
| 180 | &sdmmc2 { |
| 181 | compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell"; |
| 182 | }; |
| 183 | |
| 184 | &sdmmc3 { |
| 185 | compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell"; |
| 186 | }; |
| 187 | |
| 188 | &usbotg_hs { |
| 189 | compatible = "st,stm32mp1-hsotg", "snps,dwc2"; |
| 190 | }; |