1/* 2 * Copyright (c) 2020 Steven Daglish <s.c.daglish@gmail.com> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <st/l0/stm32l0.dtsi> 8 9/ { 10 soc { 11 compatible = "st,stm32l031", "st,stm32l0", "simple-bus"; 12 13 timers22: timers@40011400 { 14 compatible = "st,stm32-timers"; 15 reg = <0x40011400 0x400>; 16 clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000020>; 17 resets = <&rctl STM32_RESET(APB2, 5U)>; 18 interrupts = <22 0>; 19 interrupt-names = "global"; 20 st,prescaler = <0>; 21 status = "disabled"; 22 23 pwm { 24 compatible = "st,stm32-pwm"; 25 status = "disabled"; 26 #pwm-cells = <3>; 27 }; 28 }; 29 30 eeprom: eeprom@8080000{ 31 reg = <0x08080000 DT_SIZE_K(1)>; 32 }; 33 }; 34}; 35