1/* 2 * Copyright (c) 2020 Abel Sensors 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <mem.h> 8#include <st/l1/stm32l151.dtsi> 9 10/ { 11 sram0: memory@20000000 { 12 reg = <0x20000000 DT_SIZE_K(32)>; 13 }; 14 15 soc { 16 flash-controller@40023c00 { 17 flash0: flash@8000000 { 18 reg = <0x08000000 DT_SIZE_K(256)>; 19 }; 20 }; 21 22 timers5: timers@40000c00 { 23 compatible = "st,stm32-timers"; 24 reg = <0x40000c00 0x400>; 25 clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00000008>; 26 resets = <&rctl STM32_RESET(APB1, 3U)>; 27 interrupts = <45 0>; 28 interrupt-names = "global"; 29 st,prescaler = <0>; 30 status = "disabled"; 31 32 pwm { 33 compatible = "st,stm32-pwm"; 34 status = "disabled"; 35 #pwm-cells = <3>; 36 }; 37 }; 38 39 spi3: spi@40003c00 { 40 compatible = "st,stm32-spi"; 41 #address-cells = <1>; 42 #size-cells = <0>; 43 reg = <0x40003c00 0x400>; 44 clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00008000>; 45 interrupts = <47 0>; 46 status = "disabled"; 47 }; 48 49 eeprom: eeprom@8080000{ 50 reg = <0x08080000 DT_SIZE_K(8)>; 51 }; 52 53 rtc@40002800 { 54 bbram: backup_regs { 55 compatible = "st,stm32-bbram"; 56 st,backup-regs = <32>; 57 status = "disabled"; 58 }; 59 }; 60 }; 61}; 62