1/* 2 * Copyright (c) 2019 Sierra Wireless 3 * Copyright (c) 2020 Thomas Stranger 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8#include <st/g0/stm32g050.dtsi> 9 10/ { 11 soc { 12 compatible = "st,stm32g070", "st,stm32g0", "simple-bus"; 13 14 usart3: serial@40004800 { 15 compatible = "st,stm32-usart", "st,stm32-uart"; 16 reg = <0x40004800 0x400>; 17 clocks = <&rcc STM32_CLOCK(APB1, 18U)>; 18 resets = <&rctl STM32_RESET(APB1L, 18U)>; 19 interrupts = <29 0>; 20 status = "disabled"; 21 }; 22 23 usart4: serial@40004c00 { 24 compatible = "st,stm32-usart", "st,stm32-uart"; 25 reg = <0x40004c00 0x400>; 26 clocks = <&rcc STM32_CLOCK(APB1, 19U)>; 27 resets = <&rctl STM32_RESET(APB1L, 19U)>; 28 interrupts = <29 0>; 29 status = "disabled"; 30 }; 31 32 timers15: timers@40014000 { 33 compatible = "st,stm32-timers"; 34 reg = <0x40014000 0x400>; 35 clocks = <&rcc STM32_CLOCK(APB1_2, 16U)>; 36 resets = <&rctl STM32_RESET(APB1H, 16U)>; 37 interrupts = <20 0>; 38 interrupt-names = "global"; 39 st,prescaler = <0>; 40 status = "disabled"; 41 42 pwm { 43 compatible = "st,stm32-pwm"; 44 status = "disabled"; 45 #pwm-cells = <3>; 46 }; 47 }; 48 49 dmamux1: dmamux@40020800 { 50 dma-requests= <53>; 51 }; 52 }; 53}; 54