Patrick Delaunay | 5059914 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) |
| 2 | /* |
| 3 | * Copyright (C) STMicroelectronics 2017 - All Rights Reserved |
| 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>; |
| 22 | }; |
| 23 | |
| 24 | cpu1: cpu@1 { |
| 25 | compatible = "arm,cortex-a7"; |
| 26 | device_type = "cpu"; |
| 27 | reg = <1>; |
| 28 | }; |
| 29 | }; |
| 30 | |
| 31 | psci { |
| 32 | compatible = "arm,psci"; |
| 33 | method = "smc"; |
| 34 | cpu_off = <0x84000002>; |
| 35 | cpu_on = <0x84000003>; |
| 36 | }; |
| 37 | |
| 38 | aliases { |
| 39 | gpio0 = &gpioa; |
| 40 | gpio1 = &gpiob; |
| 41 | gpio2 = &gpioc; |
| 42 | gpio3 = &gpiod; |
| 43 | gpio4 = &gpioe; |
| 44 | gpio5 = &gpiof; |
| 45 | gpio6 = &gpiog; |
| 46 | gpio7 = &gpioh; |
| 47 | gpio8 = &gpioi; |
| 48 | gpio9 = &gpioj; |
| 49 | gpio10 = &gpiok; |
| 50 | serial0 = &usart1; |
| 51 | serial1 = &usart2; |
| 52 | serial2 = &usart3; |
| 53 | serial3 = &uart4; |
| 54 | serial4 = &uart5; |
| 55 | serial5 = &usart6; |
| 56 | serial6 = &uart7; |
| 57 | serial7 = &uart8; |
| 58 | }; |
| 59 | |
| 60 | intc: interrupt-controller@a0021000 { |
| 61 | compatible = "arm,cortex-a7-gic"; |
| 62 | #interrupt-cells = <3>; |
| 63 | interrupt-controller; |
| 64 | reg = <0xa0021000 0x1000>, |
| 65 | <0xa0022000 0x2000>; |
| 66 | }; |
| 67 | |
| 68 | timer { |
| 69 | compatible = "arm,armv7-timer"; |
| 70 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 71 | <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 72 | <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 73 | <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; |
| 74 | interrupt-parent = <&intc>; |
| 75 | }; |
| 76 | |
| 77 | clocks { |
| 78 | clk_hse: clk-hse { |
| 79 | #clock-cells = <0>; |
| 80 | compatible = "fixed-clock"; |
| 81 | clock-frequency = <24000000>; |
| 82 | }; |
| 83 | |
| 84 | clk_hsi: clk-hsi { |
| 85 | #clock-cells = <0>; |
| 86 | compatible = "fixed-clock"; |
| 87 | clock-frequency = <64000000>; |
| 88 | }; |
| 89 | |
| 90 | clk_lse: clk-lse { |
| 91 | #clock-cells = <0>; |
| 92 | compatible = "fixed-clock"; |
| 93 | clock-frequency = <32768>; |
| 94 | }; |
| 95 | |
| 96 | clk_lsi: clk-lsi { |
| 97 | #clock-cells = <0>; |
| 98 | compatible = "fixed-clock"; |
| 99 | clock-frequency = <32000>; |
| 100 | }; |
| 101 | |
| 102 | clk_csi: clk-csi { |
| 103 | #clock-cells = <0>; |
| 104 | compatible = "fixed-clock"; |
| 105 | clock-frequency = <4000000>; |
| 106 | }; |
| 107 | }; |
| 108 | |
Patrice Chotard | 18cb6f5 | 2018-08-10 17:12:11 +0200 | [diff] [blame^] | 109 | pm_domain { |
| 110 | #address-cells = <1>; |
| 111 | #size-cells = <0>; |
| 112 | compatible = "st,stm32mp157c-pd"; |
| 113 | |
| 114 | pd_core_ret: core-ret-power-domain@1 { |
| 115 | #address-cells = <1>; |
| 116 | #size-cells = <0>; |
| 117 | reg = <1>; |
| 118 | #power-domain-cells = <0>; |
| 119 | label = "CORE-RETENTION"; |
| 120 | |
| 121 | pd_core: core-power-domain@2 { |
| 122 | reg = <2>; |
| 123 | #power-domain-cells = <0>; |
| 124 | label = "CORE"; |
| 125 | }; |
| 126 | }; |
| 127 | }; |
| 128 | |
Patrick Delaunay | 5059914 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 129 | soc { |
| 130 | compatible = "simple-bus"; |
| 131 | #address-cells = <1>; |
| 132 | #size-cells = <1>; |
| 133 | interrupt-parent = <&intc>; |
| 134 | ranges; |
| 135 | |
| 136 | timers2: timer@40000000 { |
| 137 | #address-cells = <1>; |
| 138 | #size-cells = <0>; |
| 139 | compatible = "st,stm32-timers"; |
| 140 | reg = <0x40000000 0x400>; |
| 141 | clocks = <&rcc TIM2_K>; |
| 142 | clock-names = "int"; |
| 143 | status = "disabled"; |
| 144 | |
| 145 | pwm { |
| 146 | compatible = "st,stm32-pwm"; |
| 147 | status = "disabled"; |
| 148 | }; |
| 149 | |
| 150 | timer@1 { |
| 151 | compatible = "st,stm32h7-timer-trigger"; |
| 152 | reg = <1>; |
| 153 | status = "disabled"; |
| 154 | }; |
| 155 | }; |
| 156 | |
| 157 | timers3: timer@40001000 { |
| 158 | #address-cells = <1>; |
| 159 | #size-cells = <0>; |
| 160 | compatible = "st,stm32-timers"; |
| 161 | reg = <0x40001000 0x400>; |
| 162 | clocks = <&rcc TIM3_K>; |
| 163 | clock-names = "int"; |
| 164 | status = "disabled"; |
| 165 | |
| 166 | pwm { |
| 167 | compatible = "st,stm32-pwm"; |
| 168 | status = "disabled"; |
| 169 | }; |
| 170 | |
| 171 | timer@2 { |
| 172 | compatible = "st,stm32h7-timer-trigger"; |
| 173 | reg = <2>; |
| 174 | status = "disabled"; |
| 175 | }; |
| 176 | }; |
| 177 | |
| 178 | timers4: timer@40002000 { |
| 179 | #address-cells = <1>; |
| 180 | #size-cells = <0>; |
| 181 | compatible = "st,stm32-timers"; |
| 182 | reg = <0x40002000 0x400>; |
| 183 | clocks = <&rcc TIM4_K>; |
| 184 | clock-names = "int"; |
| 185 | status = "disabled"; |
| 186 | |
| 187 | pwm { |
| 188 | compatible = "st,stm32-pwm"; |
| 189 | status = "disabled"; |
| 190 | }; |
| 191 | |
| 192 | timer@3 { |
| 193 | compatible = "st,stm32h7-timer-trigger"; |
| 194 | reg = <3>; |
| 195 | status = "disabled"; |
| 196 | }; |
| 197 | }; |
| 198 | |
| 199 | timers5: timer@40003000 { |
| 200 | #address-cells = <1>; |
| 201 | #size-cells = <0>; |
| 202 | compatible = "st,stm32-timers"; |
| 203 | reg = <0x40003000 0x400>; |
| 204 | clocks = <&rcc TIM5_K>; |
| 205 | clock-names = "int"; |
| 206 | status = "disabled"; |
| 207 | |
| 208 | pwm { |
| 209 | compatible = "st,stm32-pwm"; |
| 210 | status = "disabled"; |
| 211 | }; |
| 212 | |
| 213 | timer@4 { |
| 214 | compatible = "st,stm32h7-timer-trigger"; |
| 215 | reg = <4>; |
| 216 | status = "disabled"; |
| 217 | }; |
| 218 | }; |
| 219 | |
| 220 | timers6: timer@40004000 { |
| 221 | #address-cells = <1>; |
| 222 | #size-cells = <0>; |
| 223 | compatible = "st,stm32-timers"; |
| 224 | reg = <0x40004000 0x400>; |
| 225 | clocks = <&rcc TIM6_K>; |
| 226 | clock-names = "int"; |
| 227 | status = "disabled"; |
| 228 | |
| 229 | timer@5 { |
| 230 | compatible = "st,stm32h7-timer-trigger"; |
| 231 | reg = <5>; |
| 232 | status = "disabled"; |
| 233 | }; |
| 234 | }; |
| 235 | |
| 236 | timers7: timer@40005000 { |
| 237 | #address-cells = <1>; |
| 238 | #size-cells = <0>; |
| 239 | compatible = "st,stm32-timers"; |
| 240 | reg = <0x40005000 0x400>; |
| 241 | clocks = <&rcc TIM7_K>; |
| 242 | clock-names = "int"; |
| 243 | status = "disabled"; |
| 244 | |
| 245 | timer@6 { |
| 246 | compatible = "st,stm32h7-timer-trigger"; |
| 247 | reg = <6>; |
| 248 | status = "disabled"; |
| 249 | }; |
| 250 | }; |
| 251 | |
| 252 | timers12: timer@40006000 { |
| 253 | #address-cells = <1>; |
| 254 | #size-cells = <0>; |
| 255 | compatible = "st,stm32-timers"; |
| 256 | reg = <0x40006000 0x400>; |
| 257 | clocks = <&rcc TIM12_K>; |
| 258 | clock-names = "int"; |
| 259 | status = "disabled"; |
| 260 | |
| 261 | pwm { |
| 262 | compatible = "st,stm32-pwm"; |
| 263 | status = "disabled"; |
| 264 | }; |
| 265 | |
| 266 | timer@11 { |
| 267 | compatible = "st,stm32h7-timer-trigger"; |
| 268 | reg = <11>; |
| 269 | status = "disabled"; |
| 270 | }; |
| 271 | }; |
| 272 | |
| 273 | timers13: timer@40007000 { |
| 274 | #address-cells = <1>; |
| 275 | #size-cells = <0>; |
| 276 | compatible = "st,stm32-timers"; |
| 277 | reg = <0x40007000 0x400>; |
| 278 | clocks = <&rcc TIM13_K>; |
| 279 | clock-names = "int"; |
| 280 | status = "disabled"; |
| 281 | |
| 282 | pwm { |
| 283 | compatible = "st,stm32-pwm"; |
| 284 | status = "disabled"; |
| 285 | }; |
| 286 | |
| 287 | timer@12 { |
| 288 | compatible = "st,stm32h7-timer-trigger"; |
| 289 | reg = <12>; |
| 290 | status = "disabled"; |
| 291 | }; |
| 292 | }; |
| 293 | |
| 294 | timers14: timer@40008000 { |
| 295 | #address-cells = <1>; |
| 296 | #size-cells = <0>; |
| 297 | compatible = "st,stm32-timers"; |
| 298 | reg = <0x40008000 0x400>; |
| 299 | clocks = <&rcc TIM14_K>; |
| 300 | clock-names = "int"; |
| 301 | status = "disabled"; |
| 302 | |
| 303 | pwm { |
| 304 | compatible = "st,stm32-pwm"; |
| 305 | status = "disabled"; |
| 306 | }; |
| 307 | |
| 308 | timer@13 { |
| 309 | compatible = "st,stm32h7-timer-trigger"; |
| 310 | reg = <13>; |
| 311 | status = "disabled"; |
| 312 | }; |
| 313 | }; |
| 314 | |
| 315 | lptimer1: timer@40009000 { |
| 316 | #address-cells = <1>; |
| 317 | #size-cells = <0>; |
| 318 | compatible = "st,stm32-lptimer"; |
| 319 | reg = <0x40009000 0x400>; |
| 320 | clocks = <&rcc LPTIM1_K>; |
| 321 | clock-names = "mux"; |
| 322 | status = "disabled"; |
| 323 | |
| 324 | pwm { |
| 325 | compatible = "st,stm32-pwm-lp"; |
| 326 | #pwm-cells = <3>; |
| 327 | status = "disabled"; |
| 328 | }; |
| 329 | |
| 330 | trigger@0 { |
| 331 | compatible = "st,stm32-lptimer-trigger"; |
| 332 | reg = <0>; |
| 333 | status = "disabled"; |
| 334 | }; |
| 335 | |
| 336 | counter { |
| 337 | compatible = "st,stm32-lptimer-counter"; |
| 338 | status = "disabled"; |
| 339 | }; |
| 340 | }; |
| 341 | |
| 342 | usart2: serial@4000e000 { |
| 343 | compatible = "st,stm32h7-uart"; |
| 344 | reg = <0x4000e000 0x400>; |
| 345 | interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; |
| 346 | clocks = <&rcc USART2_K>; |
| 347 | status = "disabled"; |
| 348 | }; |
| 349 | |
| 350 | usart3: serial@4000f000 { |
| 351 | compatible = "st,stm32h7-uart"; |
| 352 | reg = <0x4000f000 0x400>; |
| 353 | interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; |
| 354 | clocks = <&rcc USART3_K>; |
| 355 | status = "disabled"; |
| 356 | }; |
| 357 | |
| 358 | uart4: serial@40010000 { |
| 359 | compatible = "st,stm32h7-uart"; |
| 360 | reg = <0x40010000 0x400>; |
| 361 | interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; |
| 362 | clocks = <&rcc UART4_K>; |
| 363 | status = "disabled"; |
| 364 | }; |
| 365 | |
| 366 | uart5: serial@40011000 { |
| 367 | compatible = "st,stm32h7-uart"; |
| 368 | reg = <0x40011000 0x400>; |
| 369 | interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; |
| 370 | clocks = <&rcc UART5_K>; |
| 371 | status = "disabled"; |
| 372 | }; |
| 373 | |
| 374 | i2c1: i2c@40012000 { |
| 375 | compatible = "st,stm32f7-i2c"; |
| 376 | reg = <0x40012000 0x400>; |
| 377 | interrupt-names = "event", "error"; |
| 378 | interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>, |
| 379 | <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; |
| 380 | clocks = <&rcc I2C1_K>; |
| 381 | resets = <&rcc I2C1_R>; |
| 382 | #address-cells = <1>; |
| 383 | #size-cells = <0>; |
| 384 | status = "disabled"; |
| 385 | }; |
| 386 | |
| 387 | i2c2: i2c@40013000 { |
| 388 | compatible = "st,stm32f7-i2c"; |
| 389 | reg = <0x40013000 0x400>; |
| 390 | interrupt-names = "event", "error"; |
| 391 | interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>, |
| 392 | <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; |
| 393 | clocks = <&rcc I2C2_K>; |
| 394 | resets = <&rcc I2C2_R>; |
| 395 | #address-cells = <1>; |
| 396 | #size-cells = <0>; |
| 397 | status = "disabled"; |
| 398 | }; |
| 399 | |
| 400 | i2c3: i2c@40014000 { |
| 401 | compatible = "st,stm32f7-i2c"; |
| 402 | reg = <0x40014000 0x400>; |
| 403 | interrupt-names = "event", "error"; |
| 404 | interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, |
| 405 | <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; |
| 406 | clocks = <&rcc I2C3_K>; |
| 407 | resets = <&rcc I2C3_R>; |
| 408 | #address-cells = <1>; |
| 409 | #size-cells = <0>; |
| 410 | status = "disabled"; |
| 411 | }; |
| 412 | |
| 413 | i2c5: i2c@40015000 { |
| 414 | compatible = "st,stm32f7-i2c"; |
| 415 | reg = <0x40015000 0x400>; |
| 416 | interrupt-names = "event", "error"; |
| 417 | interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, |
| 418 | <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; |
| 419 | clocks = <&rcc I2C5_K>; |
| 420 | resets = <&rcc I2C5_R>; |
| 421 | #address-cells = <1>; |
| 422 | #size-cells = <0>; |
| 423 | status = "disabled"; |
| 424 | }; |
| 425 | |
| 426 | cec: cec@40016000 { |
| 427 | compatible = "st,stm32-cec"; |
| 428 | reg = <0x40016000 0x400>; |
| 429 | interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>; |
| 430 | clocks = <&rcc CEC_K>, <&clk_lse>; |
| 431 | clock-names = "cec", "hdmi-cec"; |
| 432 | status = "disabled"; |
| 433 | }; |
| 434 | |
| 435 | dac: dac@40017000 { |
| 436 | compatible = "st,stm32h7-dac-core"; |
| 437 | reg = <0x40017000 0x400>; |
| 438 | clocks = <&rcc DAC12>; |
| 439 | clock-names = "pclk"; |
| 440 | #address-cells = <1>; |
| 441 | #size-cells = <0>; |
| 442 | status = "disabled"; |
| 443 | |
| 444 | dac1: dac@1 { |
| 445 | compatible = "st,stm32-dac"; |
| 446 | #io-channels-cells = <1>; |
| 447 | reg = <1>; |
| 448 | status = "disabled"; |
| 449 | }; |
| 450 | |
| 451 | dac2: dac@2 { |
| 452 | compatible = "st,stm32-dac"; |
| 453 | #io-channels-cells = <1>; |
| 454 | reg = <2>; |
| 455 | status = "disabled"; |
| 456 | }; |
| 457 | }; |
| 458 | |
| 459 | uart7: serial@40018000 { |
| 460 | compatible = "st,stm32h7-uart"; |
| 461 | reg = <0x40018000 0x400>; |
| 462 | interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; |
| 463 | clocks = <&rcc UART7_K>; |
| 464 | status = "disabled"; |
| 465 | }; |
| 466 | |
| 467 | uart8: serial@40019000 { |
| 468 | compatible = "st,stm32h7-uart"; |
| 469 | reg = <0x40019000 0x400>; |
| 470 | interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; |
| 471 | clocks = <&rcc UART8_K>; |
| 472 | status = "disabled"; |
| 473 | }; |
| 474 | |
| 475 | timers1: timer@44000000 { |
| 476 | #address-cells = <1>; |
| 477 | #size-cells = <0>; |
| 478 | compatible = "st,stm32-timers"; |
| 479 | reg = <0x44000000 0x400>; |
| 480 | clocks = <&rcc TIM1_K>; |
| 481 | clock-names = "int"; |
| 482 | status = "disabled"; |
| 483 | |
| 484 | pwm { |
| 485 | compatible = "st,stm32-pwm"; |
| 486 | status = "disabled"; |
| 487 | }; |
| 488 | |
| 489 | timer@0 { |
| 490 | compatible = "st,stm32h7-timer-trigger"; |
| 491 | reg = <0>; |
| 492 | status = "disabled"; |
| 493 | }; |
| 494 | }; |
| 495 | |
| 496 | timers8: timer@44001000 { |
| 497 | #address-cells = <1>; |
| 498 | #size-cells = <0>; |
| 499 | compatible = "st,stm32-timers"; |
| 500 | reg = <0x44001000 0x400>; |
| 501 | clocks = <&rcc TIM8_K>; |
| 502 | clock-names = "int"; |
| 503 | status = "disabled"; |
| 504 | |
| 505 | pwm { |
| 506 | compatible = "st,stm32-pwm"; |
| 507 | status = "disabled"; |
| 508 | }; |
| 509 | |
| 510 | timer@7 { |
| 511 | compatible = "st,stm32h7-timer-trigger"; |
| 512 | reg = <7>; |
| 513 | status = "disabled"; |
| 514 | }; |
| 515 | }; |
| 516 | |
| 517 | usart6: serial@44003000 { |
| 518 | compatible = "st,stm32h7-uart"; |
| 519 | reg = <0x44003000 0x400>; |
| 520 | interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; |
| 521 | clocks = <&rcc USART6_K>; |
| 522 | status = "disabled"; |
| 523 | }; |
| 524 | |
| 525 | timers15: timer@44006000 { |
| 526 | #address-cells = <1>; |
| 527 | #size-cells = <0>; |
| 528 | compatible = "st,stm32-timers"; |
| 529 | reg = <0x44006000 0x400>; |
| 530 | clocks = <&rcc TIM15_K>; |
| 531 | clock-names = "int"; |
| 532 | status = "disabled"; |
| 533 | |
| 534 | pwm { |
| 535 | compatible = "st,stm32-pwm"; |
| 536 | status = "disabled"; |
| 537 | }; |
| 538 | |
| 539 | timer@14 { |
| 540 | compatible = "st,stm32h7-timer-trigger"; |
| 541 | reg = <14>; |
| 542 | status = "disabled"; |
| 543 | }; |
| 544 | }; |
| 545 | |
| 546 | timers16: timer@44007000 { |
| 547 | #address-cells = <1>; |
| 548 | #size-cells = <0>; |
| 549 | compatible = "st,stm32-timers"; |
| 550 | reg = <0x44007000 0x400>; |
| 551 | clocks = <&rcc TIM16_K>; |
| 552 | clock-names = "int"; |
| 553 | status = "disabled"; |
| 554 | |
| 555 | pwm { |
| 556 | compatible = "st,stm32-pwm"; |
| 557 | status = "disabled"; |
| 558 | }; |
| 559 | timer@15 { |
| 560 | compatible = "st,stm32h7-timer-trigger"; |
| 561 | reg = <15>; |
| 562 | status = "disabled"; |
| 563 | }; |
| 564 | }; |
| 565 | |
| 566 | timers17: timer@44008000 { |
| 567 | #address-cells = <1>; |
| 568 | #size-cells = <0>; |
| 569 | compatible = "st,stm32-timers"; |
| 570 | reg = <0x44008000 0x400>; |
| 571 | clocks = <&rcc TIM17_K>; |
| 572 | clock-names = "int"; |
| 573 | status = "disabled"; |
| 574 | |
| 575 | pwm { |
| 576 | compatible = "st,stm32-pwm"; |
| 577 | status = "disabled"; |
| 578 | }; |
| 579 | |
| 580 | timer@16 { |
| 581 | compatible = "st,stm32h7-timer-trigger"; |
| 582 | reg = <16>; |
| 583 | status = "disabled"; |
| 584 | }; |
| 585 | }; |
| 586 | |
| 587 | dma1: dma@48000000 { |
| 588 | compatible = "st,stm32-dma"; |
| 589 | reg = <0x48000000 0x400>; |
| 590 | interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>, |
| 591 | <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, |
| 592 | <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>, |
| 593 | <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, |
| 594 | <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>, |
| 595 | <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, |
| 596 | <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>, |
| 597 | <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; |
| 598 | clocks = <&rcc DMA1>; |
| 599 | #dma-cells = <4>; |
| 600 | st,mem2mem; |
| 601 | dma-requests = <8>; |
| 602 | }; |
| 603 | |
| 604 | dma2: dma@48001000 { |
| 605 | compatible = "st,stm32-dma"; |
| 606 | reg = <0x48001000 0x400>; |
| 607 | interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, |
| 608 | <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>, |
| 609 | <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, |
| 610 | <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, |
| 611 | <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, |
| 612 | <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, |
| 613 | <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>, |
| 614 | <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>; |
| 615 | clocks = <&rcc DMA2>; |
| 616 | #dma-cells = <4>; |
| 617 | st,mem2mem; |
| 618 | dma-requests = <8>; |
| 619 | }; |
| 620 | |
| 621 | dmamux1: dma-router@48002000 { |
| 622 | compatible = "st,stm32h7-dmamux"; |
| 623 | reg = <0x48002000 0x1c>; |
| 624 | #dma-cells = <3>; |
| 625 | dma-requests = <128>; |
| 626 | dma-masters = <&dma1 &dma2>; |
| 627 | dma-channels = <16>; |
| 628 | clocks = <&rcc DMAMUX>; |
| 629 | }; |
| 630 | |
Patrice Chotard | b5c87a4 | 2018-08-06 09:54:04 +0200 | [diff] [blame] | 631 | adc: adc@48003000 { |
| 632 | compatible = "st,stm32mp1-adc-core"; |
| 633 | reg = <0x48003000 0x400>; |
| 634 | interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>, |
| 635 | <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; |
| 636 | clocks = <&rcc ADC12>, <&rcc ADC12_K>; |
| 637 | clock-names = "bus", "adc"; |
| 638 | interrupt-controller; |
| 639 | #interrupt-cells = <1>; |
| 640 | #address-cells = <1>; |
| 641 | #size-cells = <0>; |
| 642 | status = "disabled"; |
| 643 | |
| 644 | adc1: adc@0 { |
| 645 | compatible = "st,stm32mp1-adc"; |
| 646 | #io-channel-cells = <1>; |
| 647 | reg = <0x0>; |
| 648 | interrupt-parent = <&adc>; |
| 649 | interrupts = <0>; |
| 650 | status = "disabled"; |
| 651 | }; |
| 652 | |
| 653 | adc2: adc@100 { |
| 654 | compatible = "st,stm32mp1-adc"; |
| 655 | #io-channel-cells = <1>; |
| 656 | reg = <0x100>; |
| 657 | interrupt-parent = <&adc>; |
| 658 | interrupts = <1>; |
| 659 | status = "disabled"; |
| 660 | }; |
| 661 | }; |
| 662 | |
Patrick Delaunay | 5059914 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 663 | sdmmc3: sdmmc@48004000 { |
| 664 | compatible = "st,stm32-sdmmc2"; |
| 665 | reg = <0x48004000 0x400>, <0x48005000 0x400>; |
| 666 | reg-names = "sdmmc", "delay"; |
| 667 | interrupts = <GIC_SPI 137 IRQ_TYPE_NONE>; |
| 668 | clocks = <&rcc SDMMC3_K>; |
| 669 | resets = <&rcc SDMMC3_R>; |
| 670 | st,idma = <1>; |
| 671 | cap-sd-highspeed; |
| 672 | cap-mmc-highspeed; |
| 673 | max-frequency = <120000000>; |
| 674 | status = "disabled"; |
| 675 | }; |
| 676 | |
Patrice Chotard | 18cb6f5 | 2018-08-10 17:12:11 +0200 | [diff] [blame^] | 677 | usbotg_hs: usb-otg@49000000 { |
| 678 | compatible = "st,stm32mp1-hsotg", "snps,dwc2"; |
| 679 | reg = <0x49000000 0x10000>; |
| 680 | clocks = <&rcc USBO_K>; |
| 681 | clock-names = "otg"; |
| 682 | resets = <&rcc USBO_R>; |
| 683 | reset-names = "dwc2"; |
| 684 | interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; |
| 685 | g-rx-fifo-size = <256>; |
| 686 | g-np-tx-fifo-size = <32>; |
| 687 | g-tx-fifo-size = <128 128 64 64 64 64 32 32>; |
| 688 | dr_mode = "otg"; |
| 689 | power-domains = <&pd_core>; |
| 690 | status = "disabled"; |
| 691 | }; |
| 692 | |
Patrick Delaunay | 5059914 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 693 | rcc: rcc@50000000 { |
| 694 | compatible = "st,stm32mp1-rcc", "syscon"; |
| 695 | reg = <0x50000000 0x1000>; |
| 696 | #clock-cells = <1>; |
| 697 | #reset-cells = <1>; |
| 698 | }; |
| 699 | |
| 700 | rcc_reboot: rcc-reboot@50000000 { |
| 701 | compatible = "syscon-reboot"; |
| 702 | regmap = <&rcc>; |
| 703 | offset = <0x404>; |
| 704 | mask = <0x1>; |
| 705 | }; |
| 706 | |
| 707 | pwr: pwr@50001000 { |
| 708 | compatible = "st,stm32mp1-pwr", "st,stm32-pwr", "syscon", "simple-mfd"; |
| 709 | reg = <0x50001000 0x400>; |
| 710 | system-power-controller; |
| 711 | interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>; |
| 712 | st,sysrcc = <&rcc>; |
| 713 | clocks = <&rcc PLL2_R>; |
| 714 | clock-names = "phyclk"; |
| 715 | |
| 716 | pwr-regulators@c { |
| 717 | compatible = "st,stm32mp1,pwr-reg"; |
| 718 | st,tzcr = <&rcc 0x0 0x1>; |
| 719 | |
| 720 | reg11: reg11 { |
| 721 | regulator-name = "reg11"; |
| 722 | regulator-min-microvolt = <1100000>; |
| 723 | regulator-max-microvolt = <1100000>; |
| 724 | }; |
| 725 | |
| 726 | reg18: reg18 { |
| 727 | regulator-name = "reg18"; |
| 728 | regulator-min-microvolt = <1800000>; |
| 729 | regulator-max-microvolt = <1800000>; |
| 730 | }; |
| 731 | |
| 732 | usb33: usb33 { |
| 733 | regulator-name = "usb33"; |
| 734 | regulator-min-microvolt = <3300000>; |
| 735 | regulator-max-microvolt = <3300000>; |
| 736 | }; |
| 737 | }; |
| 738 | }; |
| 739 | |
| 740 | exti: interrupt-controller@5000d000 { |
| 741 | compatible = "st,stm32mp1-exti", "syscon"; |
| 742 | interrupt-controller; |
| 743 | #interrupt-cells = <2>; |
| 744 | reg = <0x5000d000 0x400>; |
| 745 | }; |
| 746 | |
| 747 | syscfg: system-config@50020000 { |
| 748 | compatible = "st,stm32-syscfg", "syscon"; |
| 749 | reg = <0x50020000 0x400>; |
| 750 | }; |
| 751 | |
| 752 | lptimer2: timer@50021000 { |
| 753 | #address-cells = <1>; |
| 754 | #size-cells = <0>; |
| 755 | compatible = "st,stm32-lptimer"; |
| 756 | reg = <0x50021000 0x400>; |
| 757 | clocks = <&rcc LPTIM2_K>; |
| 758 | clock-names = "mux"; |
| 759 | status = "disabled"; |
| 760 | |
| 761 | pwm { |
| 762 | compatible = "st,stm32-pwm-lp"; |
| 763 | #pwm-cells = <3>; |
| 764 | status = "disabled"; |
| 765 | }; |
| 766 | |
| 767 | trigger@1 { |
| 768 | compatible = "st,stm32-lptimer-trigger"; |
| 769 | reg = <1>; |
| 770 | status = "disabled"; |
| 771 | }; |
| 772 | |
| 773 | counter { |
| 774 | compatible = "st,stm32-lptimer-counter"; |
| 775 | status = "disabled"; |
| 776 | }; |
| 777 | }; |
| 778 | |
| 779 | lptimer3: timer@50022000 { |
| 780 | #address-cells = <1>; |
| 781 | #size-cells = <0>; |
| 782 | compatible = "st,stm32-lptimer"; |
| 783 | reg = <0x50022000 0x400>; |
| 784 | clocks = <&rcc LPTIM3_K>; |
| 785 | clock-names = "mux"; |
| 786 | status = "disabled"; |
| 787 | |
| 788 | pwm { |
| 789 | compatible = "st,stm32-pwm-lp"; |
| 790 | #pwm-cells = <3>; |
| 791 | status = "disabled"; |
| 792 | }; |
| 793 | |
| 794 | trigger@2 { |
| 795 | compatible = "st,stm32-lptimer-trigger"; |
| 796 | reg = <2>; |
| 797 | status = "disabled"; |
| 798 | }; |
| 799 | }; |
| 800 | |
| 801 | lptimer4: timer@50023000 { |
| 802 | compatible = "st,stm32-lptimer"; |
| 803 | reg = <0x50023000 0x400>; |
| 804 | clocks = <&rcc LPTIM4_K>; |
| 805 | clock-names = "mux"; |
| 806 | status = "disabled"; |
| 807 | |
| 808 | pwm { |
| 809 | compatible = "st,stm32-pwm-lp"; |
| 810 | #pwm-cells = <3>; |
| 811 | status = "disabled"; |
| 812 | }; |
| 813 | }; |
| 814 | |
| 815 | lptimer5: timer@50024000 { |
| 816 | compatible = "st,stm32-lptimer"; |
| 817 | reg = <0x50024000 0x400>; |
| 818 | clocks = <&rcc LPTIM5_K>; |
| 819 | clock-names = "mux"; |
| 820 | status = "disabled"; |
| 821 | |
| 822 | pwm { |
| 823 | compatible = "st,stm32-pwm-lp"; |
| 824 | #pwm-cells = <3>; |
| 825 | status = "disabled"; |
| 826 | }; |
| 827 | }; |
| 828 | |
| 829 | vrefbuf: vrefbuf@50025000 { |
| 830 | compatible = "st,stm32-vrefbuf"; |
| 831 | reg = <0x50025000 0x8>; |
| 832 | regulator-min-microvolt = <1500000>; |
| 833 | regulator-max-microvolt = <2500000>; |
| 834 | clocks = <&rcc VREF>; |
| 835 | status = "disabled"; |
| 836 | }; |
| 837 | |
| 838 | cryp1: cryp@54001000 { |
| 839 | compatible = "st,stm32mp1-cryp"; |
| 840 | reg = <0x54001000 0x400>; |
| 841 | interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; |
| 842 | clocks = <&rcc CRYP1>; |
| 843 | resets = <&rcc CRYP1_R>; |
| 844 | status = "disabled"; |
| 845 | }; |
| 846 | |
| 847 | rng1: rng@54003000 { |
| 848 | compatible = "st,stm32-rng"; |
| 849 | reg = <0x54003000 0x400>; |
| 850 | clocks = <&rcc RNG1_K>; |
| 851 | resets = <&rcc RNG1_R>; |
| 852 | status = "disabled"; |
| 853 | }; |
| 854 | |
| 855 | mdma1: dma@58000000 { |
| 856 | compatible = "st,stm32h7-mdma"; |
| 857 | reg = <0x58000000 0x1000>; |
| 858 | interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; |
| 859 | clocks = <&rcc MDMA>; |
| 860 | #dma-cells = <5>; |
| 861 | dma-channels = <32>; |
| 862 | dma-requests = <48>; |
| 863 | }; |
| 864 | |
| 865 | qspi: qspi@58003000 { |
| 866 | compatible = "st,stm32f469-qspi"; |
| 867 | reg = <0x58003000 0x1000>, <0x70000000 0x10000000>; |
| 868 | reg-names = "qspi", "qspi_mm"; |
| 869 | interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; |
| 870 | clocks = <&rcc QSPI_K>; |
| 871 | resets = <&rcc QSPI_R>; |
| 872 | status = "disabled"; |
| 873 | }; |
| 874 | |
| 875 | sdmmc1: sdmmc@58005000 { |
| 876 | compatible = "st,stm32-sdmmc2"; |
| 877 | reg = <0x58005000 0x1000>, <0x58006000 0x1000>; |
| 878 | reg-names = "sdmmc", "delay"; |
| 879 | clocks = <&rcc SDMMC1_K>; |
| 880 | resets = <&rcc SDMMC1_R>; |
| 881 | st,idma = <1>; |
| 882 | cap-sd-highspeed; |
| 883 | cap-mmc-highspeed; |
| 884 | max-frequency = <120000000>; |
| 885 | status = "disabled"; |
| 886 | }; |
| 887 | |
| 888 | sdmmc2: sdmmc@58007000 { |
| 889 | compatible = "st,stm32-sdmmc2"; |
| 890 | reg = <0x58007000 0x1000>, <0x58008000 0x1000>; |
| 891 | reg-names = "sdmmc", "delay"; |
| 892 | interrupts = <GIC_SPI 124 IRQ_TYPE_NONE>; |
| 893 | clocks = <&rcc SDMMC2_K>; |
| 894 | resets = <&rcc SDMMC2_R>; |
| 895 | st,idma = <1>; |
| 896 | cap-sd-highspeed; |
| 897 | cap-mmc-highspeed; |
| 898 | max-frequency = <120000000>; |
| 899 | status = "disabled"; |
| 900 | }; |
| 901 | |
| 902 | crc1: crc@58009000 { |
| 903 | compatible = "st,stm32f7-crc"; |
| 904 | reg = <0x58009000 0x400>; |
| 905 | clocks = <&rcc CRC1>; |
| 906 | status = "disabled"; |
| 907 | }; |
| 908 | |
| 909 | usbh_ohci: usbh-ohci@5800c000 { |
| 910 | compatible = "generic-ohci"; |
| 911 | reg = <0x5800c000 0x1000>; |
| 912 | clocks = <&rcc USBH>; |
| 913 | resets = <&rcc USBH_R>; |
| 914 | interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; |
| 915 | status = "disabled"; |
| 916 | }; |
| 917 | |
| 918 | usbh_ehci: usbh-ehci@5800d000 { |
| 919 | compatible = "generic-ehci"; |
| 920 | reg = <0x5800d000 0x1000>; |
| 921 | clocks = <&rcc USBH>; |
| 922 | resets = <&rcc USBH_R>; |
| 923 | interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; |
| 924 | companion = <&usbh_ohci>; |
| 925 | status = "disabled"; |
| 926 | }; |
| 927 | |
| 928 | dsi: dsi@5a000000 { |
| 929 | compatible = "st,stm32-dsi"; |
| 930 | reg = <0x5a000000 0x800>; |
| 931 | clocks = <&rcc DSI_K>, <&clk_hse>, <&rcc DSI_PX>; |
| 932 | clock-names = "pclk", "ref", "px_clk"; |
| 933 | resets = <&rcc DSI_R>; |
| 934 | reset-names = "apb"; |
| 935 | status = "disabled"; |
| 936 | }; |
| 937 | |
| 938 | ltdc: display-controller@5a001000 { |
| 939 | compatible = "st,stm32-ltdc"; |
| 940 | reg = <0x5a001000 0x400>; |
| 941 | interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>, |
| 942 | <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; |
| 943 | clocks = <&rcc LTDC_PX>; |
| 944 | clock-names = "lcd"; |
| 945 | resets = <&rcc LTDC_R>; |
| 946 | status = "disabled"; |
| 947 | }; |
| 948 | |
| 949 | usbphyc: usbphyc@5a006000 { |
| 950 | #address-cells = <1>; |
| 951 | #size-cells = <0>; |
| 952 | compatible = "st,stm32mp1-usbphyc"; |
| 953 | reg = <0x5a006000 0x1000>; |
| 954 | clocks = <&rcc USBPHY_K>; |
| 955 | resets = <&rcc USBPHY_R>; |
| 956 | status = "disabled"; |
| 957 | |
| 958 | usbphyc_port0: usb-phy@0 { |
| 959 | #phy-cells = <0>; |
| 960 | reg = <0>; |
| 961 | }; |
| 962 | |
| 963 | usbphyc_port1: usb-phy@1 { |
| 964 | #phy-cells = <1>; |
| 965 | reg = <1>; |
| 966 | }; |
| 967 | }; |
| 968 | |
| 969 | usart1: serial@5c000000 { |
| 970 | compatible = "st,stm32h7-uart"; |
| 971 | reg = <0x5c000000 0x400>; |
| 972 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
| 973 | clocks = <&rcc USART1_K>; |
| 974 | status = "disabled"; |
| 975 | }; |
| 976 | |
| 977 | i2c4: i2c@5c002000 { |
| 978 | compatible = "st,stm32f7-i2c"; |
| 979 | reg = <0x5c002000 0x400>; |
| 980 | interrupt-names = "event", "error"; |
| 981 | interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, |
| 982 | <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; |
| 983 | clocks = <&rcc I2C4_K>; |
| 984 | resets = <&rcc I2C4_R>; |
| 985 | #address-cells = <1>; |
| 986 | #size-cells = <0>; |
| 987 | status = "disabled"; |
| 988 | }; |
| 989 | |
| 990 | i2c6: i2c@5c009000 { |
| 991 | compatible = "st,stm32f7-i2c"; |
| 992 | reg = <0x5c009000 0x400>; |
| 993 | interrupt-names = "event", "error"; |
| 994 | interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>, |
| 995 | <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>; |
| 996 | clocks = <&rcc I2C6_K>; |
| 997 | resets = <&rcc I2C6_R>; |
| 998 | #address-cells = <1>; |
| 999 | #size-cells = <0>; |
| 1000 | status = "disabled"; |
| 1001 | }; |
| 1002 | }; |
| 1003 | }; |