Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'stm32-dt-for-v5.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32 into arm/dt

STM32 DT updates for v5.4, round 1

Highlights:
----------

MPU part:
-Add FMC2 NAND controller support on stm32mp157c-ev1.
-Add M4 remoteproc support:
-Add support in stm32mp157c.dtsi.
-Declare copro reserved memories region on stm32mp157 EV1 and DK1
boards.
-Enable M4 copro support on stm32mp157 EV1 and DK1.
-Add booster for ADC on stm32mp157c.
-Add audio codec support on stm32mp157 DK1.

MCU part:
-Remove fixed regulator unit address on stm32429i-eval used by ADC.
-Add missing vdd-supply required by ADC on stm32429i-eval and
stm32h743i-eval.
-Add pwm cells on f746 and f429.

* tag 'stm32-dt-for-v5.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32: (21 commits)
ARM: dts: stm32: remove useless pinctrl entries in stm32mp157-pinctrl
ARM: dts: stm32: add phy-dsi-supply property on stm32mp157c-ev1
ARM: dts: stm32: add audio codec support on stm32mp157a-dk1 board
ARM: dts: stm32: add syscfg to ADC on stm32mp157c
ARM: dts: stm32: add pwm cells to stm32f746
ARM: dts: stm32: add pwm cells to stm32f429
ARM: dts: stm32: add pwm cells to stm32mp157c
ARM: dts: stm32: fix -Wall W=1 compilation in stm32mp157 pinctrl for mcan
ARM: dts: stm32: add booster for ADC analog switches on stm32mp157c
ARM: dts: stm32: enable m4 coprocessor support on STM32MP157a-dk1
ARM: dts: stm32: declare copro reserved memories on STM32MP157a-dk1
ARM: dts: stm32: enable m4 coprocessor support on STM32MP157c-ed1
ARM: dts: stm32: declare copro reserved memories on STM32MP157c-ed1
ARM: dts: stm32: add m4 remoteproc support on STM32MP157c
ARM: dts: stm32: add missing vdda-supply to adc on stm32h743i-eval
ARM: dts: stm32: add missing vdda-supply to adc on stm32429i-eval
ARM: dts: stm32: remove fixed regulator unit address on stm32429i-eval
ARM: dts: stm32: enable FMC2 NAND controller on stm32mp157c-ev1
ARM: dts: stm32: add FMC2 NAND controller pins muxing on stm32mp157c-ev1
ARM: dts: stm32: add FMC2 NAND controller support on stm32mp157c
...

Link: https://lore.kernel.org/r/482a2a40-a246-6654-7e3b-8e38b137752f@st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+342 -37
+13 -12
arch/arm/boot/dts/stm32429i-eval.dts
··· 81 81 dma-ranges = <0xc0000000 0x0 0x10000000>; 82 82 }; 83 83 84 - regulators { 85 - compatible = "simple-bus"; 86 - #address-cells = <1>; 87 - #size-cells = <0>; 84 + vdda: regulator-vdda { 85 + compatible = "regulator-fixed"; 86 + regulator-name = "vdda"; 87 + regulator-min-microvolt = <3300000>; 88 + regulator-max-microvolt = <3300000>; 89 + }; 88 90 89 - reg_vref: regulator@0 { 90 - compatible = "regulator-fixed"; 91 - reg = <0>; 92 - regulator-name = "vref"; 93 - regulator-min-microvolt = <3300000>; 94 - regulator-max-microvolt = <3300000>; 95 - }; 91 + vref: regulator-vref { 92 + compatible = "regulator-fixed"; 93 + regulator-name = "vref"; 94 + regulator-min-microvolt = <3300000>; 95 + regulator-max-microvolt = <3300000>; 96 96 }; 97 97 98 98 leds { ··· 157 157 &adc { 158 158 pinctrl-names = "default"; 159 159 pinctrl-0 = <&adc3_in8_pin>; 160 - vref-supply = <&reg_vref>; 160 + vdda-supply = <&vdda>; 161 + vref-supply = <&vref>; 161 162 status = "okay"; 162 163 adc3: adc@200 { 163 164 st,adc-channels = <8>;
+12
arch/arm/boot/dts/stm32f429.dtsi
··· 112 112 113 113 pwm { 114 114 compatible = "st,stm32-pwm"; 115 + #pwm-cells = <3>; 115 116 status = "disabled"; 116 117 }; 117 118 ··· 142 141 143 142 pwm { 144 143 compatible = "st,stm32-pwm"; 144 + #pwm-cells = <3>; 145 145 status = "disabled"; 146 146 }; 147 147 ··· 172 170 173 171 pwm { 174 172 compatible = "st,stm32-pwm"; 173 + #pwm-cells = <3>; 175 174 status = "disabled"; 176 175 }; 177 176 ··· 201 198 202 199 pwm { 203 200 compatible = "st,stm32-pwm"; 201 + #pwm-cells = <3>; 204 202 status = "disabled"; 205 203 }; 206 204 ··· 271 267 272 268 pwm { 273 269 compatible = "st,stm32-pwm"; 270 + #pwm-cells = <3>; 274 271 status = "disabled"; 275 272 }; 276 273 ··· 293 288 294 289 pwm { 295 290 compatible = "st,stm32-pwm"; 291 + #pwm-cells = <3>; 296 292 status = "disabled"; 297 293 }; 298 294 }; ··· 309 303 310 304 pwm { 311 305 compatible = "st,stm32-pwm"; 306 + #pwm-cells = <3>; 312 307 status = "disabled"; 313 308 }; 314 309 }; ··· 455 448 456 449 pwm { 457 450 compatible = "st,stm32-pwm"; 451 + #pwm-cells = <3>; 458 452 status = "disabled"; 459 453 }; 460 454 ··· 477 469 478 470 pwm { 479 471 compatible = "st,stm32-pwm"; 472 + #pwm-cells = <3>; 480 473 status = "disabled"; 481 474 }; 482 475 ··· 611 602 612 603 pwm { 613 604 compatible = "st,stm32-pwm"; 605 + #pwm-cells = <3>; 614 606 status = "disabled"; 615 607 }; 616 608 ··· 633 623 634 624 pwm { 635 625 compatible = "st,stm32-pwm"; 626 + #pwm-cells = <3>; 636 627 status = "disabled"; 637 628 }; 638 629 }; ··· 649 638 650 639 pwm { 651 640 compatible = "st,stm32-pwm"; 641 + #pwm-cells = <3>; 652 642 status = "disabled"; 653 643 }; 654 644 };
+12
arch/arm/boot/dts/stm32f746.dtsi
··· 94 94 95 95 pwm { 96 96 compatible = "st,stm32-pwm"; 97 + #pwm-cells = <3>; 97 98 status = "disabled"; 98 99 }; 99 100 ··· 124 123 125 124 pwm { 126 125 compatible = "st,stm32-pwm"; 126 + #pwm-cells = <3>; 127 127 status = "disabled"; 128 128 }; 129 129 ··· 154 152 155 153 pwm { 156 154 compatible = "st,stm32-pwm"; 155 + #pwm-cells = <3>; 157 156 status = "disabled"; 158 157 }; 159 158 ··· 183 180 184 181 pwm { 185 182 compatible = "st,stm32-pwm"; 183 + #pwm-cells = <3>; 186 184 status = "disabled"; 187 185 }; 188 186 ··· 253 249 254 250 pwm { 255 251 compatible = "st,stm32-pwm"; 252 + #pwm-cells = <3>; 256 253 status = "disabled"; 257 254 }; 258 255 ··· 275 270 276 271 pwm { 277 272 compatible = "st,stm32-pwm"; 273 + #pwm-cells = <3>; 278 274 status = "disabled"; 279 275 }; 280 276 }; ··· 291 285 292 286 pwm { 293 287 compatible = "st,stm32-pwm"; 288 + #pwm-cells = <3>; 294 289 status = "disabled"; 295 290 }; 296 291 }; ··· 426 419 427 420 pwm { 428 421 compatible = "st,stm32-pwm"; 422 + #pwm-cells = <3>; 429 423 status = "disabled"; 430 424 }; 431 425 ··· 448 440 449 441 pwm { 450 442 compatible = "st,stm32-pwm"; 443 + #pwm-cells = <3>; 451 444 status = "disabled"; 452 445 }; 453 446 ··· 521 512 522 513 pwm { 523 514 compatible = "st,stm32-pwm"; 515 + #pwm-cells = <3>; 524 516 status = "disabled"; 525 517 }; 526 518 ··· 543 533 544 534 pwm { 545 535 compatible = "st,stm32-pwm"; 536 + #pwm-cells = <3>; 546 537 status = "disabled"; 547 538 }; 548 539 }; ··· 559 548 560 549 pwm { 561 550 compatible = "st,stm32-pwm"; 551 + #pwm-cells = <3>; 562 552 status = "disabled"; 563 553 }; 564 554 };
+1
arch/arm/boot/dts/stm32h743i-eval.dts
··· 87 87 }; 88 88 89 89 &adc_12 { 90 + vdda-supply = <&vdda>; 90 91 vref-supply = <&vdda>; 91 92 status = "okay"; 92 93 adc1: adc@0 {
+45 -25
arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
··· 24 24 reg = <0x0 0x400>; 25 25 clocks = <&rcc GPIOA>; 26 26 st,bank-name = "GPIOA"; 27 - ngpios = <16>; 28 - gpio-ranges = <&pinctrl 0 0 16>; 29 27 status = "disabled"; 30 28 }; 31 29 ··· 35 37 reg = <0x1000 0x400>; 36 38 clocks = <&rcc GPIOB>; 37 39 st,bank-name = "GPIOB"; 38 - ngpios = <16>; 39 - gpio-ranges = <&pinctrl 0 16 16>; 40 40 status = "disabled"; 41 41 }; 42 42 ··· 46 50 reg = <0x2000 0x400>; 47 51 clocks = <&rcc GPIOC>; 48 52 st,bank-name = "GPIOC"; 49 - ngpios = <16>; 50 - gpio-ranges = <&pinctrl 0 32 16>; 51 53 status = "disabled"; 52 54 }; 53 55 ··· 57 63 reg = <0x3000 0x400>; 58 64 clocks = <&rcc GPIOD>; 59 65 st,bank-name = "GPIOD"; 60 - ngpios = <16>; 61 - gpio-ranges = <&pinctrl 0 48 16>; 62 66 status = "disabled"; 63 67 }; 64 68 ··· 68 76 reg = <0x4000 0x400>; 69 77 clocks = <&rcc GPIOE>; 70 78 st,bank-name = "GPIOE"; 71 - ngpios = <16>; 72 - gpio-ranges = <&pinctrl 0 64 16>; 73 79 status = "disabled"; 74 80 }; 75 81 ··· 79 89 reg = <0x5000 0x400>; 80 90 clocks = <&rcc GPIOF>; 81 91 st,bank-name = "GPIOF"; 82 - ngpios = <16>; 83 - gpio-ranges = <&pinctrl 0 80 16>; 84 92 status = "disabled"; 85 93 }; 86 94 ··· 90 102 reg = <0x6000 0x400>; 91 103 clocks = <&rcc GPIOG>; 92 104 st,bank-name = "GPIOG"; 93 - ngpios = <16>; 94 - gpio-ranges = <&pinctrl 0 96 16>; 95 105 status = "disabled"; 96 106 }; 97 107 ··· 101 115 reg = <0x7000 0x400>; 102 116 clocks = <&rcc GPIOH>; 103 117 st,bank-name = "GPIOH"; 104 - ngpios = <16>; 105 - gpio-ranges = <&pinctrl 0 112 16>; 106 118 status = "disabled"; 107 119 }; 108 120 ··· 112 128 reg = <0x8000 0x400>; 113 129 clocks = <&rcc GPIOI>; 114 130 st,bank-name = "GPIOI"; 115 - ngpios = <16>; 116 - gpio-ranges = <&pinctrl 0 128 16>; 117 131 status = "disabled"; 118 132 }; 119 133 ··· 123 141 reg = <0x9000 0x400>; 124 142 clocks = <&rcc GPIOJ>; 125 143 st,bank-name = "GPIOJ"; 126 - ngpios = <16>; 127 - gpio-ranges = <&pinctrl 0 144 16>; 128 144 status = "disabled"; 129 145 }; 130 146 ··· 134 154 reg = <0xa000 0x400>; 135 155 clocks = <&rcc GPIOK>; 136 156 st,bank-name = "GPIOK"; 137 - ngpios = <8>; 138 - gpio-ranges = <&pinctrl 0 160 8>; 139 157 status = "disabled"; 140 158 }; 141 159 ··· 251 273 <STM32_PINMUX('B', 1, ANALOG)>, /* ETH_RGMII_RXD3 */ 252 274 <STM32_PINMUX('A', 1, ANALOG)>, /* ETH_RGMII_RX_CLK */ 253 275 <STM32_PINMUX('A', 7, ANALOG)>; /* ETH_RGMII_RX_CTL */ 276 + }; 277 + }; 278 + 279 + fmc_pins_a: fmc-0 { 280 + pins1 { 281 + pinmux = <STM32_PINMUX('D', 4, AF12)>, /* FMC_NOE */ 282 + <STM32_PINMUX('D', 5, AF12)>, /* FMC_NWE */ 283 + <STM32_PINMUX('D', 11, AF12)>, /* FMC_A16_FMC_CLE */ 284 + <STM32_PINMUX('D', 12, AF12)>, /* FMC_A17_FMC_ALE */ 285 + <STM32_PINMUX('D', 14, AF12)>, /* FMC_D0 */ 286 + <STM32_PINMUX('D', 15, AF12)>, /* FMC_D1 */ 287 + <STM32_PINMUX('D', 0, AF12)>, /* FMC_D2 */ 288 + <STM32_PINMUX('D', 1, AF12)>, /* FMC_D3 */ 289 + <STM32_PINMUX('E', 7, AF12)>, /* FMC_D4 */ 290 + <STM32_PINMUX('E', 8, AF12)>, /* FMC_D5 */ 291 + <STM32_PINMUX('E', 9, AF12)>, /* FMC_D6 */ 292 + <STM32_PINMUX('E', 10, AF12)>, /* FMC_D7 */ 293 + <STM32_PINMUX('G', 9, AF12)>; /* FMC_NE2_FMC_NCE */ 294 + bias-disable; 295 + drive-push-pull; 296 + slew-rate = <1>; 297 + }; 298 + pins2 { 299 + pinmux = <STM32_PINMUX('D', 6, AF12)>; /* FMC_NWAIT */ 300 + bias-pull-up; 301 + }; 302 + }; 303 + 304 + fmc_sleep_pins_a: fmc-sleep-0 { 305 + pins { 306 + pinmux = <STM32_PINMUX('D', 4, ANALOG)>, /* FMC_NOE */ 307 + <STM32_PINMUX('D', 5, ANALOG)>, /* FMC_NWE */ 308 + <STM32_PINMUX('D', 11, ANALOG)>, /* FMC_A16_FMC_CLE */ 309 + <STM32_PINMUX('D', 12, ANALOG)>, /* FMC_A17_FMC_ALE */ 310 + <STM32_PINMUX('D', 14, ANALOG)>, /* FMC_D0 */ 311 + <STM32_PINMUX('D', 15, ANALOG)>, /* FMC_D1 */ 312 + <STM32_PINMUX('D', 0, ANALOG)>, /* FMC_D2 */ 313 + <STM32_PINMUX('D', 1, ANALOG)>, /* FMC_D3 */ 314 + <STM32_PINMUX('E', 7, ANALOG)>, /* FMC_D4 */ 315 + <STM32_PINMUX('E', 8, ANALOG)>, /* FMC_D5 */ 316 + <STM32_PINMUX('E', 9, ANALOG)>, /* FMC_D6 */ 317 + <STM32_PINMUX('E', 10, ANALOG)>, /* FMC_D7 */ 318 + <STM32_PINMUX('D', 6, ANALOG)>, /* FMC_NWAIT */ 319 + <STM32_PINMUX('G', 9, ANALOG)>; /* FMC_NE2_FMC_NCE */ 254 320 }; 255 321 }; 256 322 ··· 552 530 }; 553 531 }; 554 532 555 - m_can1_sleep_pins_a: m_can1-sleep@0 { 533 + m_can1_sleep_pins_a: m_can1-sleep-0 { 556 534 pins { 557 535 pinmux = <STM32_PINMUX('H', 13, ANALOG)>, /* CAN1_TX */ 558 536 <STM32_PINMUX('I', 9, ANALOG)>; /* CAN1_RX */ ··· 871 849 clocks = <&rcc GPIOZ>; 872 850 st,bank-name = "GPIOZ"; 873 851 st,bank-ioport = <11>; 874 - ngpios = <8>; 875 - gpio-ranges = <&pinctrl_z 0 400 8>; 876 852 status = "disabled"; 877 853 }; 878 854
+135
arch/arm/boot/dts/stm32mp157a-dk1.dts
··· 33 33 #size-cells = <1>; 34 34 ranges; 35 35 36 + mcuram2: mcuram2@10000000 { 37 + compatible = "shared-dma-pool"; 38 + reg = <0x10000000 0x40000>; 39 + no-map; 40 + }; 41 + 42 + vdev0vring0: vdev0vring0@10040000 { 43 + compatible = "shared-dma-pool"; 44 + reg = <0x10040000 0x1000>; 45 + no-map; 46 + }; 47 + 48 + vdev0vring1: vdev0vring1@10041000 { 49 + compatible = "shared-dma-pool"; 50 + reg = <0x10041000 0x1000>; 51 + no-map; 52 + }; 53 + 54 + vdev0buffer: vdev0buffer@10042000 { 55 + compatible = "shared-dma-pool"; 56 + reg = <0x10042000 0x4000>; 57 + no-map; 58 + }; 59 + 60 + mcuram: mcuram@30000000 { 61 + compatible = "shared-dma-pool"; 62 + reg = <0x30000000 0x40000>; 63 + no-map; 64 + }; 65 + 66 + retram: retram@38000000 { 67 + compatible = "shared-dma-pool"; 68 + reg = <0x38000000 0x10000>; 69 + no-map; 70 + }; 71 + 36 72 gpu_reserved: gpu@d4000000 { 37 73 reg = <0xd4000000 0x4000000>; 38 74 no-map; ··· 83 47 linux,default-trigger = "heartbeat"; 84 48 default-state = "off"; 85 49 }; 50 + }; 51 + 52 + sound { 53 + compatible = "audio-graph-card"; 54 + label = "STM32MP1-DK"; 55 + routing = 56 + "Playback" , "MCLK", 57 + "Capture" , "MCLK", 58 + "MICL" , "Mic Bias"; 59 + dais = <&sai2a_port &sai2b_port>; 60 + status = "okay"; 86 61 }; 87 62 }; 88 63 ··· 160 113 sii9022_in: endpoint { 161 114 remote-endpoint = <&ltdc_ep0_out>; 162 115 }; 116 + }; 117 + }; 118 + }; 119 + 120 + cs42l51: cs42l51@4a { 121 + compatible = "cirrus,cs42l51"; 122 + reg = <0x4a>; 123 + #sound-dai-cells = <0>; 124 + VL-supply = <&v3v3>; 125 + VD-supply = <&v1v8_audio>; 126 + VA-supply = <&v1v8_audio>; 127 + VAHP-supply = <&v1v8_audio>; 128 + reset-gpios = <&gpiog 9 GPIO_ACTIVE_LOW>; 129 + clocks = <&sai2a>; 130 + clock-names = "MCLK"; 131 + status = "okay"; 132 + 133 + cs42l51_port: port { 134 + #address-cells = <1>; 135 + #size-cells = <0>; 136 + 137 + cs42l51_tx_endpoint: endpoint@0 { 138 + reg = <0>; 139 + remote-endpoint = <&sai2a_endpoint>; 140 + frame-master; 141 + bitclock-master; 142 + }; 143 + 144 + cs42l51_rx_endpoint: endpoint@1 { 145 + reg = <1>; 146 + remote-endpoint = <&sai2b_endpoint>; 147 + frame-master; 148 + bitclock-master; 163 149 }; 164 150 }; 165 151 }; ··· 369 289 }; 370 290 }; 371 291 292 + &m4_rproc { 293 + memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>, 294 + <&vdev0vring1>, <&vdev0buffer>; 295 + mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>; 296 + mbox-names = "vq0", "vq1", "shutdown"; 297 + interrupt-parent = <&exti>; 298 + interrupts = <68 1>; 299 + status = "okay"; 300 + }; 301 + 372 302 &rng1 { 373 303 status = "okay"; 374 304 }; 375 305 376 306 &rtc { 377 307 status = "okay"; 308 + }; 309 + 310 + &sai2 { 311 + clocks = <&rcc SAI2>, <&rcc PLL3_Q>, <&rcc PLL3_R>; 312 + clock-names = "pclk", "x8k", "x11k"; 313 + pinctrl-names = "default", "sleep"; 314 + pinctrl-0 = <&sai2a_pins_a>, <&sai2b_pins_b>; 315 + pinctrl-1 = <&sai2a_sleep_pins_a>, <&sai2b_sleep_pins_b>; 316 + status = "okay"; 317 + 318 + sai2a: audio-controller@4400b004 { 319 + #clock-cells = <0>; 320 + dma-names = "tx"; 321 + clocks = <&rcc SAI2_K>; 322 + clock-names = "sai_ck"; 323 + status = "okay"; 324 + 325 + sai2a_port: port { 326 + sai2a_endpoint: endpoint { 327 + remote-endpoint = <&cs42l51_tx_endpoint>; 328 + format = "i2s"; 329 + mclk-fs = <256>; 330 + dai-tdm-slot-num = <2>; 331 + dai-tdm-slot-width = <32>; 332 + }; 333 + }; 334 + }; 335 + 336 + sai2b: audio-controller@4400b024 { 337 + dma-names = "rx"; 338 + st,sync = <&sai2a 2>; 339 + clocks = <&rcc SAI2_K>, <&sai2a>; 340 + clock-names = "sai_ck", "MCLK"; 341 + status = "okay"; 342 + 343 + sai2b_port: port { 344 + sai2b_endpoint: endpoint { 345 + remote-endpoint = <&cs42l51_rx_endpoint>; 346 + format = "i2s"; 347 + mclk-fs = <256>; 348 + dai-tdm-slot-num = <2>; 349 + dai-tdm-slot-width = <32>; 350 + }; 351 + }; 352 + }; 378 353 }; 379 354 380 355 &sdmmc1 {
+46
arch/arm/boot/dts/stm32mp157c-ed1.dts
··· 28 28 #size-cells = <1>; 29 29 ranges; 30 30 31 + mcuram2: mcuram2@10000000 { 32 + compatible = "shared-dma-pool"; 33 + reg = <0x10000000 0x40000>; 34 + no-map; 35 + }; 36 + 37 + vdev0vring0: vdev0vring0@10040000 { 38 + compatible = "shared-dma-pool"; 39 + reg = <0x10040000 0x1000>; 40 + no-map; 41 + }; 42 + 43 + vdev0vring1: vdev0vring1@10041000 { 44 + compatible = "shared-dma-pool"; 45 + reg = <0x10041000 0x1000>; 46 + no-map; 47 + }; 48 + 49 + vdev0buffer: vdev0buffer@10042000 { 50 + compatible = "shared-dma-pool"; 51 + reg = <0x10042000 0x4000>; 52 + no-map; 53 + }; 54 + 55 + mcuram: mcuram@30000000 { 56 + compatible = "shared-dma-pool"; 57 + reg = <0x30000000 0x40000>; 58 + no-map; 59 + }; 60 + 61 + retram: retram@38000000 { 62 + compatible = "shared-dma-pool"; 63 + reg = <0x38000000 0x10000>; 64 + no-map; 65 + }; 66 + 31 67 gpu_reserved: gpu@e8000000 { 32 68 reg = <0xe8000000 0x8000000>; 33 69 no-map; ··· 266 230 267 231 &iwdg2 { 268 232 timeout-sec = <32>; 233 + status = "okay"; 234 + }; 235 + 236 + &m4_rproc { 237 + memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>, 238 + <&vdev0vring1>, <&vdev0buffer>; 239 + mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>; 240 + mbox-names = "vq0", "vq1", "shutdown"; 241 + interrupt-parent = <&exti>; 242 + interrupts = <68 1>; 269 243 status = "okay"; 270 244 }; 271 245
+17
arch/arm/boot/dts/stm32mp157c-ev1.dts
··· 101 101 &dsi { 102 102 #address-cells = <1>; 103 103 #size-cells = <0>; 104 + phy-dsi-supply = <&reg18>; 104 105 status = "okay"; 105 106 106 107 ports { ··· 155 154 phy0: ethernet-phy@0 { 156 155 reg = <0>; 157 156 }; 157 + }; 158 + }; 159 + 160 + &fmc { 161 + pinctrl-names = "default", "sleep"; 162 + pinctrl-0 = <&fmc_pins_a>; 163 + pinctrl-1 = <&fmc_sleep_pins_a>; 164 + status = "okay"; 165 + #address-cells = <1>; 166 + #size-cells = <0>; 167 + 168 + nand@0 { 169 + reg = <0>; 170 + nand-on-flash-bbt; 171 + #address-cells = <1>; 172 + #size-cells = <1>; 158 173 }; 159 174 }; 160 175
+61
arch/arm/boot/dts/stm32mp157c.dtsi
··· 109 109 }; 110 110 }; 111 111 112 + booster: regulator-booster { 113 + compatible = "st,stm32mp1-booster"; 114 + st,syscfg = <&syscfg>; 115 + status = "disabled"; 116 + }; 117 + 112 118 soc { 113 119 compatible = "simple-bus"; 114 120 #address-cells = <1>; ··· 139 133 140 134 pwm { 141 135 compatible = "st,stm32-pwm"; 136 + #pwm-cells = <3>; 142 137 status = "disabled"; 143 138 }; 144 139 ··· 168 161 169 162 pwm { 170 163 compatible = "st,stm32-pwm"; 164 + #pwm-cells = <3>; 171 165 status = "disabled"; 172 166 }; 173 167 ··· 195 187 196 188 pwm { 197 189 compatible = "st,stm32-pwm"; 190 + #pwm-cells = <3>; 198 191 status = "disabled"; 199 192 }; 200 193 ··· 224 215 225 216 pwm { 226 217 compatible = "st,stm32-pwm"; 218 + #pwm-cells = <3>; 227 219 status = "disabled"; 228 220 }; 229 221 ··· 282 272 283 273 pwm { 284 274 compatible = "st,stm32-pwm"; 275 + #pwm-cells = <3>; 285 276 status = "disabled"; 286 277 }; 287 278 ··· 304 293 305 294 pwm { 306 295 compatible = "st,stm32-pwm"; 296 + #pwm-cells = <3>; 307 297 status = "disabled"; 308 298 }; 309 299 ··· 326 314 327 315 pwm { 328 316 compatible = "st,stm32-pwm"; 317 + #pwm-cells = <3>; 329 318 status = "disabled"; 330 319 }; 331 320 ··· 580 567 581 568 pwm { 582 569 compatible = "st,stm32-pwm"; 570 + #pwm-cells = <3>; 583 571 status = "disabled"; 584 572 }; 585 573 ··· 611 597 612 598 pwm { 613 599 compatible = "st,stm32-pwm"; 600 + #pwm-cells = <3>; 614 601 status = "disabled"; 615 602 }; 616 603 ··· 685 670 686 671 pwm { 687 672 compatible = "st,stm32-pwm"; 673 + #pwm-cells = <3>; 688 674 status = "disabled"; 689 675 }; 690 676 ··· 710 694 711 695 pwm { 712 696 compatible = "st,stm32-pwm"; 697 + #pwm-cells = <3>; 713 698 status = "disabled"; 714 699 }; 715 700 timer@15 { ··· 734 717 735 718 pwm { 736 719 compatible = "st,stm32-pwm"; 720 + #pwm-cells = <3>; 737 721 status = "disabled"; 738 722 }; 739 723 ··· 1001 983 clocks = <&rcc ADC12>, <&rcc ADC12_K>; 1002 984 clock-names = "bus", "adc"; 1003 985 interrupt-controller; 986 + st,syscfg = <&syscfg>; 1004 987 #interrupt-cells = <1>; 1005 988 #address-cells = <1>; 1006 989 #size-cells = <0>; ··· 1258 1239 dma-requests = <48>; 1259 1240 }; 1260 1241 1242 + fmc: nand-controller@58002000 { 1243 + compatible = "st,stm32mp15-fmc2"; 1244 + reg = <0x58002000 0x1000>, 1245 + <0x80000000 0x1000>, 1246 + <0x88010000 0x1000>, 1247 + <0x88020000 0x1000>, 1248 + <0x81000000 0x1000>, 1249 + <0x89010000 0x1000>, 1250 + <0x89020000 0x1000>; 1251 + interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; 1252 + dmas = <&mdma1 20 0x10 0x12000a02 0x0 0x0>, 1253 + <&mdma1 20 0x10 0x12000a08 0x0 0x0>, 1254 + <&mdma1 21 0x10 0x12000a0a 0x0 0x0>; 1255 + dma-names = "tx", "rx", "ecc"; 1256 + clocks = <&rcc FMC_K>; 1257 + resets = <&rcc FMC_R>; 1258 + status = "disabled"; 1259 + }; 1260 + 1261 1261 qspi: spi@58003000 { 1262 1262 compatible = "st,stm32f469-qspi"; 1263 1263 reg = <0x58003000 0x1000>, <0x70000000 0x10000000>; 1264 1264 reg-names = "qspi", "qspi_mm"; 1265 1265 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; 1266 + dmas = <&mdma1 22 0x10 0x100002 0x0 0x0>, 1267 + <&mdma1 22 0x10 0x100008 0x0 0x0>; 1268 + dma-names = "tx", "rx"; 1266 1269 clocks = <&rcc QSPI_K>; 1267 1270 resets = <&rcc QSPI_R>; 1268 1271 status = "disabled"; ··· 1486 1445 resets = <&rcc I2C6_R>; 1487 1446 #address-cells = <1>; 1488 1447 #size-cells = <0>; 1448 + status = "disabled"; 1449 + }; 1450 + }; 1451 + 1452 + mlahb { 1453 + compatible = "simple-bus"; 1454 + #address-cells = <1>; 1455 + #size-cells = <1>; 1456 + dma-ranges = <0x00000000 0x38000000 0x10000>, 1457 + <0x10000000 0x10000000 0x60000>, 1458 + <0x30000000 0x30000000 0x60000>; 1459 + 1460 + m4_rproc: m4@10000000 { 1461 + compatible = "st,stm32mp1-m4"; 1462 + reg = <0x10000000 0x40000>, 1463 + <0x30000000 0x40000>, 1464 + <0x38000000 0x10000>; 1465 + resets = <&rcc MCU_R>; 1466 + st,syscfg-holdboot = <&rcc 0x10C 0x1>; 1467 + st,syscfg-tz = <&rcc 0x000 0x1>; 1489 1468 status = "disabled"; 1490 1469 }; 1491 1470 };