From 677d51d5f9c624692ebbf6e1e57532675a0c74b6 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Fri, 28 Feb 2020 04:44:13 -0800 Subject: [PATCH] dts: arm: st: h7: add support for stm32h743Xi Add DeviceTree support for STM32H743XI series. Signed-off-by: Gerard Marull-Paretas --- dts/arm/st/h7/stm32h743.dtsi | 20 ++++++++++++++++++++ dts/arm/st/h7/stm32h743Xi.dtsi | 18 ++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dts/arm/st/h7/stm32h743.dtsi create mode 100644 dts/arm/st/h7/stm32h743Xi.dtsi diff --git a/dts/arm/st/h7/stm32h743.dtsi b/dts/arm/st/h7/stm32h743.dtsi new file mode 100644 index 00000000000..97d3c64b7ee --- /dev/null +++ b/dts/arm/st/h7/stm32h743.dtsi @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2020 Teslabs Engineering S.L. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include + +/ { + /* system data RAM accessible over over AXI bus */ + sram0: memory@24000000 { + compatible = "mmio-sram"; + reg = <0x24000000 DT_SIZE_K(512)>; + }; + + dtcm: memory@20000000 { + compatible = "arm,dtcm"; + reg = <0x20000000 DT_SIZE_K(128)>; + }; +}; diff --git a/dts/arm/st/h7/stm32h743Xi.dtsi b/dts/arm/st/h7/stm32h743Xi.dtsi new file mode 100644 index 00000000000..490185ae2a5 --- /dev/null +++ b/dts/arm/st/h7/stm32h743Xi.dtsi @@ -0,0 +1,18 @@ +/* + * Copyright (c) 2020 Teslabs Engineering S.L. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include +#include + +/ { + soc { + flash-controller@52002000 { + flash0: flash@8000000 { + reg = <0x08000000 DT_SIZE_K(2048)>; + }; + }; + }; +};