1/* 2 * Copyright (c) 2019 SEAL AG 3 * Copyright (c) 2020 Thomas Stranger 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8#include <st/g0/stm32g030.dtsi> 9 10/ { 11 soc { 12 compatible = "st,stm32g031", "st,stm32g0", "simple-bus"; 13 14 lpuart1: serial@40008000 { 15 compatible = "st,stm32-lpuart", "st,stm32-uart"; 16 reg = <0x40008000 0x400>; 17 clocks = <&rcc STM32_CLOCK(APB1, 20U)>; 18 resets = <&rctl STM32_RESET(APB1L, 20U)>; 19 interrupts = <29 0>; 20 status = "disabled"; 21 }; 22 23 timers2: timers@40000000 { 24 compatible = "st,stm32-timers"; 25 reg = <0x40000000 0x400>; 26 clocks = <&rcc STM32_CLOCK(APB1, 0U)>; 27 resets = <&rctl STM32_RESET(APB1L, 0U)>; 28 interrupts = <15 0>; 29 interrupt-names = "global"; 30 st,prescaler = <0>; 31 status = "disabled"; 32 33 pwm { 34 compatible = "st,stm32-pwm"; 35 status = "disabled"; 36 #pwm-cells = <3>; 37 }; 38 }; 39 }; 40}; 41