dts: arm: st: h7: add support for stm32h7b0

Add device tree support for STM32H7B0 line.

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
This commit is contained in:
Charles Dias 2023-11-12 12:33:57 -03:00 committed by Carles Cufí
parent de51fca769
commit d15f5bbcc7
3 changed files with 46 additions and 12 deletions

View File

@ -0,0 +1,27 @@
/*
* Copyright (c) 2023 Charles Dias <charlesdias.cd@outlook.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
#include <st/h7/stm32h7a3.dtsi>
/*
* STM32H7B0 line contains the same peripherals as STM32H7A3,
* with addition of CRYPTO/HASH and OTFDEC peripherals.
*/
/ {
soc {
compatible = "st,stm32h7b0", "st,stm32h7", "simple-bus";
cryp: cryp@48021000 {
compatible = "st,stm32-cryp";
reg = <0x48021000 0x400>;
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00000010>;
interrupts = <79 0>;
interrupt-names = "cryp";
status = "disabled";
};
};
};

View File

@ -0,0 +1,17 @@
/*
* Copyright (c) 2023 Charles Dias <charlesdias.cd@outlook.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
#include <st/h7/stm32h7b0.dtsi>
/ {
soc {
flash-controller@52002000 {
flash0: flash@8000000 {
reg = <0x08000000 DT_SIZE_K(128)>;
};
};
};
};

View File

@ -5,23 +5,13 @@
*/
#include <mem.h>
#include <st/h7/stm32h7a3.dtsi>
#include <st/h7/stm32h7b0.dtsi>
/*
* STM32H7B3 line contains the same peripherals as STM32H7A3,
* with addition of CRYPTO/HASH and OTFDEC peripherals
* STM32H7B3 line contains the same peripherals as STM32H7B0.
*/
/ {
soc {
compatible = "st,stm32h7b3", "st,stm32h7", "simple-bus";
cryp: cryp@48021000 {
compatible = "st,stm32-cryp";
reg = <0x48021000 0x400>;
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00000010>;
interrupts = <79 0>;
interrupt-names = "cryp";
status = "disabled";
};
};
};