dts: arm: st: l4: add support for STM32L486 and STM32L4A6

This families differ from STM32L476 and STM32L4A6 only in AES peripheral

Signed-off-by: Tomislav Milkovic <tomislav.milkovic95@gmail.com>
This commit is contained in:
Tomislav Milkovic 2022-11-05 18:06:29 +01:00 committed by Carles Cufí
parent e4f0bcdd56
commit 4088f6c40d
4 changed files with 84 additions and 0 deletions

View File

@ -0,0 +1,20 @@
/*
* Copyright (c) 2022 Tomislav Milkovic
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <st/l4/stm32l476.dtsi>
/ {
soc {
aes: aes@50060000 {
compatible = "st,stm32-aes";
reg = <0x50060000 0x400>;
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00010000>;
interrupts = <79 0>;
interrupt-names = "aes";
status = "disabled";
};
};
};

View File

@ -0,0 +1,22 @@
/*
* Copyright (c) 2022 Tomislav Milkovic
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
#include <st/l4/stm32l486.dtsi>
/ {
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(128)>;
};
soc {
flash-controller@40022000 {
flash0: flash@8000000 {
reg = <0x08000000 DT_SIZE_K(1024)>;
};
};
};
};

View File

@ -0,0 +1,20 @@
/*
* Copyright (c) 2022 Tomislav Milkovic
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <st/l4/stm32l496.dtsi>
/ {
soc {
aes: aes@50060000 {
compatible = "st,stm32-aes";
reg = <0x50060000 0x400>;
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00010000>;
interrupts = <79 0>;
interrupt-names = "aes";
status = "disabled";
};
};
};

View File

@ -0,0 +1,22 @@
/*
* Copyright (c) 2022 Tomislav Milkovic
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
#include <st/l4/stm32l4a6.dtsi>
/ {
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(320)>;
};
soc {
flash-controller@40022000 {
flash0: flash@8000000 {
reg = <0x08000000 DT_SIZE_K(1024)>;
};
};
};
};