Skip to content

Commit 3d1834e

Browse files
martinjaegerMaureenHelm
authored andcommitted
dts: arm: stm32l452 dtsi files updated
Fixed warning for uppercase hex addresses and added stm32l452Xe.dtsi Signed-off-by: Martin Jaeger <[email protected]>
1 parent 5b49027 commit 3d1834e

File tree

2 files changed

+26
-4
lines changed

2 files changed

+26
-4
lines changed

dts/arm/st/l4/stm32l452.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@
7878
label = "SPI_2";
7979
};
8080

81-
spi3: spi@40003C00 {
81+
spi3: spi@40003c00 {
8282
compatible = "st,stm32-spi-fifo";
8383
#address-cells = <1>;
8484
#size-cells = <0>;
85-
reg = <0x40003C00 0x400>;
85+
reg = <0x40003c00 0x400>;
8686
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00008000>;
8787
interrupts = <51 5>;
8888
status = "disabled";
@@ -98,9 +98,9 @@
9898
label = "UART_3";
9999
};
100100

101-
uart4: serial@40004C00 {
101+
uart4: serial@40004c00 {
102102
compatible = "st,stm32-uart";
103-
reg = <0x40004C00 0x400>;
103+
reg = <0x40004c00 0x400>;
104104
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00080000>;
105105
interrupts = <52 0>;
106106
status = "disabled";

dts/arm/st/l4/stm32l452Xe.dtsi

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Copyright (c) 2018 Libre Solar Technologies GmbH
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <st/l4/stm32l452.dtsi>
9+
10+
/ {
11+
sram0: memory@20000000 {
12+
reg = <0x20000000 DT_SIZE_K(160)>;
13+
};
14+
15+
soc {
16+
flash-controller@40022000 {
17+
flash0: flash@8000000 {
18+
reg = <0x08000000 DT_SIZE_K(512)>;
19+
};
20+
};
21+
};
22+
};

0 commit comments

Comments
 (0)