45 lines
788 B
Plaintext
45 lines
788 B
Plaintext
/*
|
|
* Copyright (c) 2020 Abel Sensors
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <mem.h>
|
|
#include <st/l1/stm32l152.dtsi>
|
|
|
|
/ {
|
|
sram0: memory@20000000 {
|
|
reg = <0x20000000 DT_SIZE_K(32)>;
|
|
};
|
|
|
|
soc {
|
|
flash-controller@40023c00 {
|
|
flash0: flash@8000000 {
|
|
reg = <0x08000000 DT_SIZE_K(256)>;
|
|
};
|
|
};
|
|
|
|
timers5: timers@40000C00 {
|
|
compatible = "st,stm32-timers";
|
|
reg = <0x40000C00 0x400>;
|
|
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00000008>;
|
|
interrupts = <45 0>;
|
|
interrupt-names = "global";
|
|
st,prescaler = <0>;
|
|
status = "disabled";
|
|
label = "TIMERS_5";
|
|
|
|
pwm {
|
|
compatible = "st,stm32-pwm";
|
|
status = "disabled";
|
|
label = "PWM_5";
|
|
#pwm-cells = <3>;
|
|
};
|
|
};
|
|
|
|
eeprom: eeprom@8080000{
|
|
reg = <0x08080000 DT_SIZE_K(8)>;
|
|
};
|
|
};
|
|
};
|