1/* 2 * Copyright (c) 2020 Thomas Stranger 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <st/g0/stm32g030.dtsi> 8 9/ { 10 soc { 11 compatible = "st,stm32g050", "st,stm32g0", "simple-bus"; 12 13 timers6: timers@40001000 { 14 compatible = "st,stm32-timers"; 15 reg = <0x40001000 0x400>; 16 clocks = <&rcc STM32_CLOCK(APB1, 4U)>; 17 resets = <&rctl STM32_RESET(APB1L, 4U)>; 18 interrupts = <17 0>; 19 interrupt-names = "global"; 20 st,prescaler = <0>; 21 status = "disabled"; 22 }; 23 24 timers7: timers@40001400 { 25 compatible = "st,stm32-timers"; 26 reg = <0x40001400 0x400>; 27 clocks = <&rcc STM32_CLOCK(APB1, 5U)>; 28 resets = <&rctl STM32_RESET(APB1L, 5U)>; 29 interrupts = <18 0>; 30 interrupt-names = "global"; 31 st,prescaler = <0>; 32 status = "disabled"; 33 }; 34 35 dma1: dma@40020000 { 36 interrupts = <9 0 10 0 10 0 11 0 11 0 11 0 11 0>; 37 dma-requests = <7>; 38 }; 39 40 dmamux1: dmamux@40020800 { 41 dma-channels = <7>; 42 }; 43 }; 44}; 45