|
| 1 | +/* |
| 2 | + * Copyright (c) 2025 STMicroelectronics |
| 3 | + * |
| 4 | + * SPDX-License-Identifier: Apache-2.0 |
| 5 | + */ |
| 6 | +#include <st/wba/stm32wba55.dtsi> |
| 7 | + |
| 8 | +/ { |
| 9 | + soc { |
| 10 | + compatible = "st,stm32wba65", "st,stm32wba", "simple-bus"; |
| 11 | + |
| 12 | + pinctrl: pin-controller@42020000 { |
| 13 | + gpiod: gpio@42020c00 { |
| 14 | + compatible = "st,stm32-gpio"; |
| 15 | + gpio-controller; |
| 16 | + #gpio-cells = <2>; |
| 17 | + reg = <0x42020c00 0x400>; |
| 18 | + clocks = <&rcc STM32_CLOCK(AHB2, 3)>; |
| 19 | + }; |
| 20 | + |
| 21 | + gpioe: gpio@42021000 { |
| 22 | + compatible = "st,stm32-gpio"; |
| 23 | + gpio-controller; |
| 24 | + #gpio-cells = <2>; |
| 25 | + reg = <0x42021000 0x400>; |
| 26 | + clocks = <&rcc STM32_CLOCK(AHB2, 4)>; |
| 27 | + }; |
| 28 | + |
| 29 | + gpiog: gpio@42021800 { |
| 30 | + compatible = "st,stm32-gpio"; |
| 31 | + gpio-controller; |
| 32 | + #gpio-cells = <2>; |
| 33 | + /* GPIOG has an independent IO supply VDDIO2 */ |
| 34 | + reg = <0x42021800 0x400>; |
| 35 | + clocks = <&rcc STM32_CLOCK(AHB2, 6)>; |
| 36 | + }; |
| 37 | + }; |
| 38 | + |
| 39 | + usart3: serial@40004800 { |
| 40 | + compatible = "st,stm32-usart", "st,stm32-uart"; |
| 41 | + reg = <0x40004800 0x400>; |
| 42 | + clocks = <&rcc STM32_CLOCK(APB1, 18)>; |
| 43 | + resets = <&rctl STM32_RESET(APB1L, 18U)>; |
| 44 | + interrupts = <79 0>; |
| 45 | + status = "disabled"; |
| 46 | + }; |
| 47 | + |
| 48 | + spi2: spi@40003800 { |
| 49 | + compatible = "st,stm32h7-spi", "st,stm32-spi-fifo", "st,stm32-spi"; |
| 50 | + #address-cells = <1>; |
| 51 | + #size-cells = <0>; |
| 52 | + reg = <0x40003800 0x400>; |
| 53 | + interrupts = <75 5>; |
| 54 | + clocks = <&rcc STM32_CLOCK(APB1, 14)>; |
| 55 | + status = "disabled"; |
| 56 | + }; |
| 57 | + |
| 58 | + timers4: timers@40000800 { |
| 59 | + compatible = "st,stm32-timers"; |
| 60 | + reg = <0x40000800 0x400>; |
| 61 | + clocks = <&rcc STM32_CLOCK(APB1, 2)>; |
| 62 | + resets = <&rctl STM32_RESET(APB1L, 2U)>; |
| 63 | + interrupts = <72 0>; |
| 64 | + interrupt-names = "global"; |
| 65 | + st,prescaler = <0>; |
| 66 | + status = "disabled"; |
| 67 | + |
| 68 | + counter { |
| 69 | + compatible = "st,stm32-counter"; |
| 70 | + status = "disabled"; |
| 71 | + }; |
| 72 | + |
| 73 | + pwm { |
| 74 | + compatible = "st,stm32-pwm"; |
| 75 | + status = "disabled"; |
| 76 | + #pwm-cells = <3>; |
| 77 | + }; |
| 78 | + }; |
| 79 | + }; |
| 80 | +}; |
0 commit comments