Yann Gautier | 4ede20a | 2020-09-18 15:04:14 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) |
| 2 | /* |
Nicolas Le Bayon | 79c388e | 2020-09-25 17:25:09 +0200 | [diff] [blame] | 3 | * Copyright (c) 2017-2022, STMicroelectronics - All Rights Reserved |
Yann Gautier | 4ede20a | 2020-09-18 15:04:14 +0200 | [diff] [blame] | 4 | * Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics. |
| 5 | */ |
| 6 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 7 | #include <dt-bindings/clock/stm32mp1-clks.h> |
| 8 | #include <dt-bindings/reset/stm32mp1-resets.h> |
| 9 | |
| 10 | / { |
| 11 | #address-cells = <1>; |
| 12 | #size-cells = <1>; |
| 13 | |
| 14 | cpus { |
| 15 | #address-cells = <1>; |
| 16 | #size-cells = <0>; |
| 17 | |
| 18 | cpu0: cpu@0 { |
| 19 | compatible = "arm,cortex-a7"; |
| 20 | device_type = "cpu"; |
| 21 | reg = <0>; |
Nicolas Le Bayon | 79c388e | 2020-09-25 17:25:09 +0200 | [diff] [blame] | 22 | nvmem-cells = <&part_number_otp>; |
| 23 | nvmem-cell-names = "part_number"; |
Yann Gautier | 4ede20a | 2020-09-18 15:04:14 +0200 | [diff] [blame] | 24 | }; |
| 25 | }; |
| 26 | |
| 27 | psci { |
| 28 | compatible = "arm,psci-1.0"; |
| 29 | method = "smc"; |
| 30 | }; |
| 31 | |
| 32 | intc: interrupt-controller@a0021000 { |
| 33 | compatible = "arm,cortex-a7-gic"; |
| 34 | #interrupt-cells = <3>; |
| 35 | interrupt-controller; |
| 36 | reg = <0xa0021000 0x1000>, |
| 37 | <0xa0022000 0x2000>; |
| 38 | }; |
| 39 | |
| 40 | clocks { |
| 41 | clk_hse: clk-hse { |
| 42 | #clock-cells = <0>; |
| 43 | compatible = "fixed-clock"; |
| 44 | clock-frequency = <24000000>; |
| 45 | }; |
| 46 | |
| 47 | clk_hsi: clk-hsi { |
| 48 | #clock-cells = <0>; |
| 49 | compatible = "fixed-clock"; |
| 50 | clock-frequency = <64000000>; |
| 51 | }; |
| 52 | |
| 53 | clk_lse: clk-lse { |
| 54 | #clock-cells = <0>; |
| 55 | compatible = "fixed-clock"; |
| 56 | clock-frequency = <32768>; |
| 57 | }; |
| 58 | |
| 59 | clk_lsi: clk-lsi { |
| 60 | #clock-cells = <0>; |
| 61 | compatible = "fixed-clock"; |
| 62 | clock-frequency = <32000>; |
| 63 | }; |
| 64 | |
| 65 | clk_csi: clk-csi { |
| 66 | #clock-cells = <0>; |
| 67 | compatible = "fixed-clock"; |
| 68 | clock-frequency = <4000000>; |
| 69 | }; |
| 70 | }; |
| 71 | |
| 72 | soc { |
| 73 | compatible = "simple-bus"; |
| 74 | #address-cells = <1>; |
| 75 | #size-cells = <1>; |
| 76 | interrupt-parent = <&intc>; |
| 77 | ranges; |
| 78 | |
| 79 | timers12: timer@40006000 { |
| 80 | #address-cells = <1>; |
| 81 | #size-cells = <0>; |
| 82 | compatible = "st,stm32-timers"; |
| 83 | reg = <0x40006000 0x400>; |
| 84 | clocks = <&rcc TIM12_K>; |
| 85 | clock-names = "int"; |
| 86 | status = "disabled"; |
| 87 | }; |
| 88 | |
| 89 | usart2: serial@4000e000 { |
| 90 | compatible = "st,stm32h7-uart"; |
| 91 | reg = <0x4000e000 0x400>; |
| 92 | interrupts-extended = <&exti 27 IRQ_TYPE_LEVEL_HIGH>; |
| 93 | clocks = <&rcc USART2_K>; |
| 94 | resets = <&rcc USART2_R>; |
| 95 | status = "disabled"; |
| 96 | }; |
| 97 | |
| 98 | usart3: serial@4000f000 { |
| 99 | compatible = "st,stm32h7-uart"; |
| 100 | reg = <0x4000f000 0x400>; |
| 101 | interrupts-extended = <&exti 28 IRQ_TYPE_LEVEL_HIGH>; |
| 102 | clocks = <&rcc USART3_K>; |
| 103 | resets = <&rcc USART3_R>; |
| 104 | status = "disabled"; |
| 105 | }; |
| 106 | |
| 107 | uart4: serial@40010000 { |
| 108 | compatible = "st,stm32h7-uart"; |
| 109 | reg = <0x40010000 0x400>; |
| 110 | interrupts-extended = <&exti 30 IRQ_TYPE_LEVEL_HIGH>; |
| 111 | clocks = <&rcc UART4_K>; |
| 112 | resets = <&rcc UART4_R>; |
| 113 | wakeup-source; |
| 114 | status = "disabled"; |
| 115 | }; |
| 116 | |
| 117 | uart5: serial@40011000 { |
| 118 | compatible = "st,stm32h7-uart"; |
| 119 | reg = <0x40011000 0x400>; |
| 120 | interrupts-extended = <&exti 31 IRQ_TYPE_LEVEL_HIGH>; |
| 121 | clocks = <&rcc UART5_K>; |
| 122 | resets = <&rcc UART5_R>; |
| 123 | status = "disabled"; |
| 124 | }; |
| 125 | |
Grzegorz Szymaszek | 2183f1a | 2021-04-21 19:06:57 +0200 | [diff] [blame] | 126 | i2c2: i2c@40013000 { |
| 127 | compatible = "st,stm32mp15-i2c"; |
| 128 | reg = <0x40013000 0x400>; |
| 129 | interrupt-names = "event", "error"; |
| 130 | interrupts = <&exti 22 IRQ_TYPE_LEVEL_HIGH>, |
| 131 | <&intc GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; |
| 132 | clocks = <&rcc I2C2_K>; |
| 133 | resets = <&rcc I2C2_R>; |
| 134 | #address-cells = <1>; |
| 135 | #size-cells = <0>; |
| 136 | st,syscfg-fmp = <&syscfg 0x4 0x2>; |
| 137 | wakeup-source; |
| 138 | status = "disabled"; |
| 139 | }; |
| 140 | |
Yann Gautier | 4ede20a | 2020-09-18 15:04:14 +0200 | [diff] [blame] | 141 | uart7: serial@40018000 { |
| 142 | compatible = "st,stm32h7-uart"; |
| 143 | reg = <0x40018000 0x400>; |
| 144 | interrupts-extended = <&exti 32 IRQ_TYPE_LEVEL_HIGH>; |
| 145 | clocks = <&rcc UART7_K>; |
| 146 | resets = <&rcc UART7_R>; |
| 147 | status = "disabled"; |
| 148 | }; |
| 149 | |
| 150 | uart8: serial@40019000 { |
| 151 | compatible = "st,stm32h7-uart"; |
| 152 | reg = <0x40019000 0x400>; |
| 153 | interrupts-extended = <&exti 33 IRQ_TYPE_LEVEL_HIGH>; |
| 154 | clocks = <&rcc UART8_K>; |
| 155 | resets = <&rcc UART8_R>; |
| 156 | status = "disabled"; |
| 157 | }; |
| 158 | |
| 159 | usart6: serial@44003000 { |
| 160 | compatible = "st,stm32h7-uart"; |
| 161 | reg = <0x44003000 0x400>; |
| 162 | interrupts-extended = <&exti 29 IRQ_TYPE_LEVEL_HIGH>; |
| 163 | clocks = <&rcc USART6_K>; |
| 164 | resets = <&rcc USART6_R>; |
| 165 | status = "disabled"; |
| 166 | }; |
| 167 | |
| 168 | timers15: timer@44006000 { |
| 169 | #address-cells = <1>; |
| 170 | #size-cells = <0>; |
| 171 | compatible = "st,stm32-timers"; |
| 172 | reg = <0x44006000 0x400>; |
| 173 | clocks = <&rcc TIM15_K>; |
| 174 | clock-names = "int"; |
| 175 | status = "disabled"; |
| 176 | }; |
| 177 | |
| 178 | usbotg_hs: usb-otg@49000000 { |
Yann Gautier | bb053d5 | 2021-10-20 17:22:32 +0200 | [diff] [blame] | 179 | compatible = "st,stm32mp15-hsotg", "snps,dwc2"; |
Yann Gautier | 4ede20a | 2020-09-18 15:04:14 +0200 | [diff] [blame] | 180 | reg = <0x49000000 0x10000>; |
| 181 | clocks = <&rcc USBO_K>; |
| 182 | clock-names = "otg"; |
| 183 | resets = <&rcc USBO_R>; |
| 184 | reset-names = "dwc2"; |
| 185 | interrupts-extended = <&exti 44 IRQ_TYPE_LEVEL_HIGH>; |
| 186 | g-rx-fifo-size = <512>; |
| 187 | g-np-tx-fifo-size = <32>; |
| 188 | g-tx-fifo-size = <256 16 16 16 16 16 16 16>; |
| 189 | dr_mode = "otg"; |
| 190 | usb33d-supply = <&usb33>; |
| 191 | status = "disabled"; |
| 192 | }; |
| 193 | |
| 194 | rcc: rcc@50000000 { |
| 195 | compatible = "st,stm32mp1-rcc", "syscon"; |
| 196 | reg = <0x50000000 0x1000>; |
| 197 | #address-cells = <1>; |
| 198 | #size-cells = <0>; |
| 199 | #clock-cells = <1>; |
| 200 | #reset-cells = <1>; |
| 201 | interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; |
| 202 | secure-interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; |
| 203 | secure-interrupt-names = "wakeup"; |
| 204 | }; |
| 205 | |
| 206 | pwr_regulators: pwr@50001000 { |
| 207 | compatible = "st,stm32mp1,pwr-reg"; |
| 208 | reg = <0x50001000 0x10>; |
| 209 | st,tzcr = <&rcc 0x0 0x1>; |
| 210 | |
| 211 | reg11: reg11 { |
| 212 | regulator-name = "reg11"; |
| 213 | regulator-min-microvolt = <1100000>; |
| 214 | regulator-max-microvolt = <1100000>; |
| 215 | }; |
| 216 | |
| 217 | reg18: reg18 { |
| 218 | regulator-name = "reg18"; |
| 219 | regulator-min-microvolt = <1800000>; |
| 220 | regulator-max-microvolt = <1800000>; |
| 221 | }; |
| 222 | |
| 223 | usb33: usb33 { |
| 224 | regulator-name = "usb33"; |
| 225 | regulator-min-microvolt = <3300000>; |
| 226 | regulator-max-microvolt = <3300000>; |
| 227 | }; |
| 228 | }; |
| 229 | |
| 230 | pwr_mcu: pwr_mcu@50001014 { |
| 231 | compatible = "st,stm32mp151-pwr-mcu", "syscon"; |
| 232 | reg = <0x50001014 0x4>; |
| 233 | }; |
| 234 | |
| 235 | pwr_irq: pwr@50001020 { |
| 236 | compatible = "st,stm32mp1-pwr"; |
| 237 | reg = <0x50001020 0x100>; |
| 238 | interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>; |
| 239 | interrupt-controller; |
| 240 | #interrupt-cells = <3>; |
| 241 | }; |
| 242 | |
| 243 | exti: interrupt-controller@5000d000 { |
| 244 | compatible = "st,stm32mp1-exti", "syscon"; |
| 245 | interrupt-controller; |
| 246 | #interrupt-cells = <2>; |
| 247 | reg = <0x5000d000 0x400>; |
| 248 | |
| 249 | /* exti_pwr is an extra interrupt controller used for |
| 250 | * EXTI 55 to 60. It's mapped on pwr interrupt |
| 251 | * controller. |
| 252 | */ |
| 253 | exti_pwr: exti-pwr { |
| 254 | interrupt-controller; |
| 255 | #interrupt-cells = <2>; |
| 256 | interrupt-parent = <&pwr_irq>; |
| 257 | st,irq-number = <6>; |
| 258 | }; |
| 259 | }; |
| 260 | |
| 261 | syscfg: syscon@50020000 { |
| 262 | compatible = "st,stm32mp157-syscfg", "syscon"; |
| 263 | reg = <0x50020000 0x400>; |
| 264 | clocks = <&rcc SYSCFG>; |
| 265 | }; |
| 266 | |
| 267 | hash1: hash@54002000 { |
| 268 | compatible = "st,stm32f756-hash"; |
| 269 | reg = <0x54002000 0x400>; |
| 270 | interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; |
| 271 | clocks = <&rcc HASH1>; |
| 272 | resets = <&rcc HASH1_R>; |
| 273 | status = "disabled"; |
| 274 | }; |
| 275 | |
| 276 | rng1: rng@54003000 { |
| 277 | compatible = "st,stm32-rng"; |
| 278 | reg = <0x54003000 0x400>; |
| 279 | clocks = <&rcc RNG1_K>; |
| 280 | resets = <&rcc RNG1_R>; |
| 281 | status = "disabled"; |
| 282 | }; |
| 283 | |
Christophe Kerello | 749c917 | 2020-07-16 16:57:34 +0200 | [diff] [blame] | 284 | fmc: memory-controller@58002000 { |
| 285 | #address-cells = <2>; |
| 286 | #size-cells = <1>; |
| 287 | compatible = "st,stm32mp1-fmc2-ebi"; |
| 288 | reg = <0x58002000 0x1000>; |
Yann Gautier | 4ede20a | 2020-09-18 15:04:14 +0200 | [diff] [blame] | 289 | clocks = <&rcc FMC_K>; |
| 290 | resets = <&rcc FMC_R>; |
| 291 | status = "disabled"; |
Christophe Kerello | 749c917 | 2020-07-16 16:57:34 +0200 | [diff] [blame] | 292 | |
| 293 | ranges = <0 0 0x60000000 0x04000000>, /* EBI CS 1 */ |
| 294 | <1 0 0x64000000 0x04000000>, /* EBI CS 2 */ |
| 295 | <2 0 0x68000000 0x04000000>, /* EBI CS 3 */ |
| 296 | <3 0 0x6c000000 0x04000000>, /* EBI CS 4 */ |
| 297 | <4 0 0x80000000 0x10000000>; /* NAND */ |
| 298 | |
| 299 | nand-controller@4,0 { |
| 300 | #address-cells = <1>; |
| 301 | #size-cells = <0>; |
| 302 | compatible = "st,stm32mp1-fmc2-nfc"; |
| 303 | reg = <4 0x00000000 0x1000>, |
| 304 | <4 0x08010000 0x1000>, |
| 305 | <4 0x08020000 0x1000>, |
| 306 | <4 0x01000000 0x1000>, |
| 307 | <4 0x09010000 0x1000>, |
| 308 | <4 0x09020000 0x1000>; |
| 309 | interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; |
| 310 | status = "disabled"; |
| 311 | }; |
Yann Gautier | 4ede20a | 2020-09-18 15:04:14 +0200 | [diff] [blame] | 312 | }; |
| 313 | |
| 314 | qspi: spi@58003000 { |
| 315 | compatible = "st,stm32f469-qspi"; |
| 316 | reg = <0x58003000 0x1000>, <0x70000000 0x10000000>; |
| 317 | reg-names = "qspi", "qspi_mm"; |
| 318 | interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; |
| 319 | clocks = <&rcc QSPI_K>; |
| 320 | resets = <&rcc QSPI_R>; |
| 321 | status = "disabled"; |
| 322 | }; |
| 323 | |
Yann Gautier | bb053d5 | 2021-10-20 17:22:32 +0200 | [diff] [blame] | 324 | sdmmc1: mmc@58005000 { |
Yann Gautier | 4ede20a | 2020-09-18 15:04:14 +0200 | [diff] [blame] | 325 | compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell"; |
| 326 | arm,primecell-periphid = <0x00253180>; |
| 327 | reg = <0x58005000 0x1000>, <0x58006000 0x1000>; |
| 328 | interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; |
| 329 | interrupt-names = "cmd_irq"; |
| 330 | clocks = <&rcc SDMMC1_K>; |
| 331 | clock-names = "apb_pclk"; |
| 332 | resets = <&rcc SDMMC1_R>; |
| 333 | cap-sd-highspeed; |
| 334 | cap-mmc-highspeed; |
| 335 | max-frequency = <120000000>; |
| 336 | status = "disabled"; |
| 337 | }; |
| 338 | |
Yann Gautier | bb053d5 | 2021-10-20 17:22:32 +0200 | [diff] [blame] | 339 | sdmmc2: mmc@58007000 { |
Yann Gautier | 4ede20a | 2020-09-18 15:04:14 +0200 | [diff] [blame] | 340 | compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell"; |
| 341 | arm,primecell-periphid = <0x00253180>; |
| 342 | reg = <0x58007000 0x1000>, <0x58008000 0x1000>; |
| 343 | interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>; |
| 344 | interrupt-names = "cmd_irq"; |
| 345 | clocks = <&rcc SDMMC2_K>; |
| 346 | clock-names = "apb_pclk"; |
| 347 | resets = <&rcc SDMMC2_R>; |
| 348 | cap-sd-highspeed; |
| 349 | cap-mmc-highspeed; |
| 350 | max-frequency = <120000000>; |
| 351 | status = "disabled"; |
| 352 | }; |
| 353 | |
| 354 | iwdg2: watchdog@5a002000 { |
| 355 | compatible = "st,stm32mp1-iwdg"; |
| 356 | reg = <0x5a002000 0x400>; |
| 357 | secure-interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>; |
| 358 | clocks = <&rcc IWDG2>, <&rcc CK_LSI>; |
| 359 | clock-names = "pclk", "lsi"; |
| 360 | status = "disabled"; |
| 361 | }; |
| 362 | |
Johann Neuhauser | a5ef16a | 2022-07-08 15:22:05 +0200 | [diff] [blame] | 363 | ddr: ddr@5a003000 { |
Nicolas Le Bayon | 5d8e64b | 2021-02-25 11:03:53 +0100 | [diff] [blame] | 364 | compatible = "st,stm32mp1-ddr"; |
| 365 | reg = <0x5A003000 0x550 0x5A004000 0x234>; |
| 366 | clocks = <&rcc AXIDCG>, |
| 367 | <&rcc DDRC1>, |
| 368 | <&rcc DDRC2>, |
| 369 | <&rcc DDRPHYC>, |
| 370 | <&rcc DDRCAPB>, |
| 371 | <&rcc DDRPHYCAPB>; |
| 372 | clock-names = "axidcg", |
| 373 | "ddrc1", |
| 374 | "ddrc2", |
| 375 | "ddrphyc", |
| 376 | "ddrcapb", |
| 377 | "ddrphycapb"; |
| 378 | status = "okay"; |
| 379 | }; |
| 380 | |
Yann Gautier | 4ede20a | 2020-09-18 15:04:14 +0200 | [diff] [blame] | 381 | usbphyc: usbphyc@5a006000 { |
| 382 | #address-cells = <1>; |
| 383 | #size-cells = <0>; |
| 384 | #clock-cells = <0>; |
| 385 | compatible = "st,stm32mp1-usbphyc"; |
| 386 | reg = <0x5a006000 0x1000>; |
| 387 | clocks = <&rcc USBPHY_K>; |
| 388 | resets = <&rcc USBPHY_R>; |
| 389 | vdda1v1-supply = <®11>; |
| 390 | vdda1v8-supply = <®18>; |
| 391 | status = "disabled"; |
| 392 | |
| 393 | usbphyc_port0: usb-phy@0 { |
| 394 | #phy-cells = <0>; |
| 395 | reg = <0>; |
| 396 | }; |
| 397 | |
| 398 | usbphyc_port1: usb-phy@1 { |
| 399 | #phy-cells = <1>; |
| 400 | reg = <1>; |
| 401 | }; |
| 402 | }; |
| 403 | |
| 404 | usart1: serial@5c000000 { |
| 405 | compatible = "st,stm32h7-uart"; |
| 406 | reg = <0x5c000000 0x400>; |
| 407 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
| 408 | clocks = <&rcc USART1_K>; |
| 409 | resets = <&rcc USART1_R>; |
| 410 | status = "disabled"; |
| 411 | }; |
| 412 | |
| 413 | spi6: spi@5c001000 { |
| 414 | #address-cells = <1>; |
| 415 | #size-cells = <0>; |
| 416 | compatible = "st,stm32h7-spi"; |
| 417 | reg = <0x5c001000 0x400>; |
| 418 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
| 419 | clocks = <&rcc SPI6_K>; |
| 420 | resets = <&rcc SPI6_R>; |
| 421 | status = "disabled"; |
| 422 | }; |
| 423 | |
| 424 | i2c4: i2c@5c002000 { |
| 425 | compatible = "st,stm32mp15-i2c"; |
| 426 | reg = <0x5c002000 0x400>; |
| 427 | interrupt-names = "event", "error"; |
| 428 | interrupts-extended = <&exti 24 IRQ_TYPE_LEVEL_HIGH>, |
| 429 | <&intc GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; |
| 430 | clocks = <&rcc I2C4_K>; |
| 431 | resets = <&rcc I2C4_R>; |
| 432 | #address-cells = <1>; |
| 433 | #size-cells = <0>; |
| 434 | st,syscfg-fmp = <&syscfg 0x4 0x8>; |
| 435 | wakeup-source; |
| 436 | status = "disabled"; |
| 437 | }; |
| 438 | |
| 439 | iwdg1: watchdog@5c003000 { |
| 440 | compatible = "st,stm32mp1-iwdg"; |
| 441 | reg = <0x5C003000 0x400>; |
| 442 | interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>; |
| 443 | clocks = <&rcc IWDG1>, <&rcc CK_LSI>; |
| 444 | clock-names = "pclk", "lsi"; |
| 445 | status = "disabled"; |
| 446 | }; |
| 447 | |
| 448 | rtc: rtc@5c004000 { |
| 449 | compatible = "st,stm32mp1-rtc"; |
| 450 | reg = <0x5c004000 0x400>; |
| 451 | clocks = <&rcc RTCAPB>, <&rcc RTC>; |
| 452 | clock-names = "pclk", "rtc_ck"; |
| 453 | interrupts-extended = <&exti 19 IRQ_TYPE_LEVEL_HIGH>; |
| 454 | status = "disabled"; |
| 455 | }; |
| 456 | |
Yann Gautier | bb053d5 | 2021-10-20 17:22:32 +0200 | [diff] [blame] | 457 | bsec: efuse@5c005000 { |
Yann Gautier | 4ede20a | 2020-09-18 15:04:14 +0200 | [diff] [blame] | 458 | compatible = "st,stm32mp15-bsec"; |
| 459 | reg = <0x5c005000 0x400>; |
| 460 | #address-cells = <1>; |
| 461 | #size-cells = <1>; |
Nicolas Le Bayon | 79c388e | 2020-09-25 17:25:09 +0200 | [diff] [blame] | 462 | |
| 463 | cfg0_otp: cfg0_otp@0 { |
| 464 | reg = <0x0 0x1>; |
| 465 | }; |
| 466 | part_number_otp: part_number_otp@4 { |
| 467 | reg = <0x4 0x1>; |
| 468 | }; |
| 469 | monotonic_otp: monotonic_otp@10 { |
| 470 | reg = <0x10 0x4>; |
| 471 | }; |
| 472 | nand_otp: nand_otp@24 { |
| 473 | reg = <0x24 0x4>; |
| 474 | }; |
| 475 | uid_otp: uid_otp@34 { |
| 476 | reg = <0x34 0xc>; |
| 477 | }; |
| 478 | package_otp: package_otp@40 { |
| 479 | reg = <0x40 0x4>; |
| 480 | }; |
| 481 | hw2_otp: hw2_otp@48 { |
| 482 | reg = <0x48 0x4>; |
| 483 | }; |
Yann Gautier | 4ede20a | 2020-09-18 15:04:14 +0200 | [diff] [blame] | 484 | ts_cal1: calib@5c { |
| 485 | reg = <0x5c 0x2>; |
| 486 | }; |
| 487 | ts_cal2: calib@5e { |
| 488 | reg = <0x5e 0x2>; |
| 489 | }; |
Nicolas Le Bayon | 79c388e | 2020-09-25 17:25:09 +0200 | [diff] [blame] | 490 | mac_addr: mac_addr@e4 { |
| 491 | reg = <0xe4 0x8>; |
| 492 | st,non-secure-otp; |
| 493 | }; |
Yann Gautier | 4ede20a | 2020-09-18 15:04:14 +0200 | [diff] [blame] | 494 | }; |
| 495 | |
| 496 | etzpc: etzpc@5c007000 { |
| 497 | compatible = "st,stm32-etzpc"; |
| 498 | reg = <0x5C007000 0x400>; |
| 499 | clocks = <&rcc TZPC>; |
| 500 | status = "disabled"; |
| 501 | secure-status = "okay"; |
| 502 | }; |
| 503 | |
| 504 | stgen: stgen@5c008000 { |
| 505 | compatible = "st,stm32-stgen"; |
| 506 | reg = <0x5C008000 0x1000>; |
| 507 | }; |
| 508 | |
| 509 | i2c6: i2c@5c009000 { |
| 510 | compatible = "st,stm32mp15-i2c"; |
| 511 | reg = <0x5c009000 0x400>; |
| 512 | interrupt-names = "event", "error"; |
| 513 | interrupts-extended = <&exti 54 IRQ_TYPE_LEVEL_HIGH>, |
| 514 | <&intc GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>; |
| 515 | clocks = <&rcc I2C6_K>; |
| 516 | resets = <&rcc I2C6_R>; |
| 517 | #address-cells = <1>; |
| 518 | #size-cells = <0>; |
| 519 | st,syscfg-fmp = <&syscfg 0x4 0x20>; |
| 520 | wakeup-source; |
| 521 | status = "disabled"; |
| 522 | }; |
| 523 | |
| 524 | tamp: tamp@5c00a000 { |
| 525 | compatible = "st,stm32-tamp", "simple-bus", "syscon", "simple-mfd"; |
| 526 | reg = <0x5c00a000 0x400>; |
| 527 | secure-interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>; |
| 528 | clocks = <&rcc RTCAPB>; |
| 529 | }; |
| 530 | |
| 531 | /* |
| 532 | * Break node order to solve dependency probe issue between |
| 533 | * pinctrl and exti. |
| 534 | */ |
Yann Gautier | 1bbb09e | 2022-03-11 14:23:43 +0100 | [diff] [blame] | 535 | pinctrl: pinctrl@50002000 { |
Yann Gautier | 4ede20a | 2020-09-18 15:04:14 +0200 | [diff] [blame] | 536 | #address-cells = <1>; |
| 537 | #size-cells = <1>; |
| 538 | compatible = "st,stm32mp157-pinctrl"; |
| 539 | ranges = <0 0x50002000 0xa400>; |
| 540 | interrupt-parent = <&exti>; |
| 541 | st,syscfg = <&exti 0x60 0xff>; |
| 542 | pins-are-numbered; |
| 543 | |
| 544 | gpioa: gpio@50002000 { |
| 545 | gpio-controller; |
| 546 | #gpio-cells = <2>; |
| 547 | interrupt-controller; |
| 548 | #interrupt-cells = <2>; |
| 549 | reg = <0x0 0x400>; |
| 550 | clocks = <&rcc GPIOA>; |
| 551 | st,bank-name = "GPIOA"; |
| 552 | status = "disabled"; |
| 553 | }; |
| 554 | |
| 555 | gpiob: gpio@50003000 { |
| 556 | gpio-controller; |
| 557 | #gpio-cells = <2>; |
| 558 | interrupt-controller; |
| 559 | #interrupt-cells = <2>; |
| 560 | reg = <0x1000 0x400>; |
| 561 | clocks = <&rcc GPIOB>; |
| 562 | st,bank-name = "GPIOB"; |
| 563 | status = "disabled"; |
| 564 | }; |
| 565 | |
| 566 | gpioc: gpio@50004000 { |
| 567 | gpio-controller; |
| 568 | #gpio-cells = <2>; |
| 569 | interrupt-controller; |
| 570 | #interrupt-cells = <2>; |
| 571 | reg = <0x2000 0x400>; |
| 572 | clocks = <&rcc GPIOC>; |
| 573 | st,bank-name = "GPIOC"; |
| 574 | status = "disabled"; |
| 575 | }; |
| 576 | |
| 577 | gpiod: gpio@50005000 { |
| 578 | gpio-controller; |
| 579 | #gpio-cells = <2>; |
| 580 | interrupt-controller; |
| 581 | #interrupt-cells = <2>; |
| 582 | reg = <0x3000 0x400>; |
| 583 | clocks = <&rcc GPIOD>; |
| 584 | st,bank-name = "GPIOD"; |
| 585 | status = "disabled"; |
| 586 | }; |
| 587 | |
| 588 | gpioe: gpio@50006000 { |
| 589 | gpio-controller; |
| 590 | #gpio-cells = <2>; |
| 591 | interrupt-controller; |
| 592 | #interrupt-cells = <2>; |
| 593 | reg = <0x4000 0x400>; |
| 594 | clocks = <&rcc GPIOE>; |
| 595 | st,bank-name = "GPIOE"; |
| 596 | status = "disabled"; |
| 597 | }; |
| 598 | |
| 599 | gpiof: gpio@50007000 { |
| 600 | gpio-controller; |
| 601 | #gpio-cells = <2>; |
| 602 | interrupt-controller; |
| 603 | #interrupt-cells = <2>; |
| 604 | reg = <0x5000 0x400>; |
| 605 | clocks = <&rcc GPIOF>; |
| 606 | st,bank-name = "GPIOF"; |
| 607 | status = "disabled"; |
| 608 | }; |
| 609 | |
| 610 | gpiog: gpio@50008000 { |
| 611 | gpio-controller; |
| 612 | #gpio-cells = <2>; |
| 613 | interrupt-controller; |
| 614 | #interrupt-cells = <2>; |
| 615 | reg = <0x6000 0x400>; |
| 616 | clocks = <&rcc GPIOG>; |
| 617 | st,bank-name = "GPIOG"; |
| 618 | status = "disabled"; |
| 619 | }; |
| 620 | |
| 621 | gpioh: gpio@50009000 { |
| 622 | gpio-controller; |
| 623 | #gpio-cells = <2>; |
| 624 | interrupt-controller; |
| 625 | #interrupt-cells = <2>; |
| 626 | reg = <0x7000 0x400>; |
| 627 | clocks = <&rcc GPIOH>; |
| 628 | st,bank-name = "GPIOH"; |
| 629 | status = "disabled"; |
| 630 | }; |
| 631 | |
| 632 | gpioi: gpio@5000a000 { |
| 633 | gpio-controller; |
| 634 | #gpio-cells = <2>; |
| 635 | interrupt-controller; |
| 636 | #interrupt-cells = <2>; |
| 637 | reg = <0x8000 0x400>; |
| 638 | clocks = <&rcc GPIOI>; |
| 639 | st,bank-name = "GPIOI"; |
| 640 | status = "disabled"; |
| 641 | }; |
| 642 | |
| 643 | gpioj: gpio@5000b000 { |
| 644 | gpio-controller; |
| 645 | #gpio-cells = <2>; |
| 646 | interrupt-controller; |
| 647 | #interrupt-cells = <2>; |
| 648 | reg = <0x9000 0x400>; |
| 649 | clocks = <&rcc GPIOJ>; |
| 650 | st,bank-name = "GPIOJ"; |
| 651 | status = "disabled"; |
| 652 | }; |
| 653 | |
| 654 | gpiok: gpio@5000c000 { |
| 655 | gpio-controller; |
| 656 | #gpio-cells = <2>; |
| 657 | interrupt-controller; |
| 658 | #interrupt-cells = <2>; |
| 659 | reg = <0xa000 0x400>; |
| 660 | clocks = <&rcc GPIOK>; |
| 661 | st,bank-name = "GPIOK"; |
| 662 | status = "disabled"; |
| 663 | }; |
| 664 | }; |
| 665 | |
Yann Gautier | 1bbb09e | 2022-03-11 14:23:43 +0100 | [diff] [blame] | 666 | pinctrl_z: pinctrl@54004000 { |
Yann Gautier | 4ede20a | 2020-09-18 15:04:14 +0200 | [diff] [blame] | 667 | #address-cells = <1>; |
| 668 | #size-cells = <1>; |
| 669 | compatible = "st,stm32mp157-z-pinctrl"; |
| 670 | ranges = <0 0x54004000 0x400>; |
| 671 | pins-are-numbered; |
| 672 | interrupt-parent = <&exti>; |
| 673 | st,syscfg = <&exti 0x60 0xff>; |
| 674 | |
| 675 | gpioz: gpio@54004000 { |
| 676 | gpio-controller; |
| 677 | #gpio-cells = <2>; |
| 678 | interrupt-controller; |
| 679 | #interrupt-cells = <2>; |
| 680 | reg = <0 0x400>; |
| 681 | clocks = <&rcc GPIOZ>; |
| 682 | st,bank-name = "GPIOZ"; |
| 683 | st,bank-ioport = <11>; |
| 684 | status = "disabled"; |
| 685 | }; |
| 686 | }; |
| 687 | }; |
| 688 | }; |