dts: arm: stm32l452 dtsi files updated

Fixed warning for uppercase hex addresses and added stm32l452Xe.dtsi

Signed-off-by: Martin Jaeger <17674105+martinjaeger@users.noreply.github.com>
This commit is contained in:
Martin Jaeger 2019-12-10 17:19:33 +01:00 committed by Maureen Helm
commit 3d1834e5d6
2 changed files with 26 additions and 4 deletions

View file

@ -78,11 +78,11 @@
label = "SPI_2"; label = "SPI_2";
}; };
spi3: spi@40003C00 { spi3: spi@40003c00 {
compatible = "st,stm32-spi-fifo"; compatible = "st,stm32-spi-fifo";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
reg = <0x40003C00 0x400>; reg = <0x40003c00 0x400>;
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00008000>; clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00008000>;
interrupts = <51 5>; interrupts = <51 5>;
status = "disabled"; status = "disabled";
@ -98,9 +98,9 @@
label = "UART_3"; label = "UART_3";
}; };
uart4: serial@40004C00 { uart4: serial@40004c00 {
compatible = "st,stm32-uart"; compatible = "st,stm32-uart";
reg = <0x40004C00 0x400>; reg = <0x40004c00 0x400>;
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00080000>; clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00080000>;
interrupts = <52 0>; interrupts = <52 0>;
status = "disabled"; status = "disabled";

View file

@ -0,0 +1,22 @@
/*
* Copyright (c) 2018 Libre Solar Technologies GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
#include <st/l4/stm32l452.dtsi>
/ {
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(160)>;
};
soc {
flash-controller@40022000 {
flash0: flash@8000000 {
reg = <0x08000000 DT_SIZE_K(512)>;
};
};
};
};