2020-03-06 19:44:29 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 Teslabs Engineering S.L.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <st/h7/stm32h7.dtsi>
|
2022-05-11 22:03:29 +08:00
|
|
|
#include <zephyr/dt-bindings/display/stm32_ltdc.h>
|
2020-03-06 19:44:29 +08:00
|
|
|
|
|
|
|
/ {
|
2021-03-20 21:27:05 +08:00
|
|
|
soc {
|
2022-04-06 21:47:33 +08:00
|
|
|
flash-controller@52002000 {
|
|
|
|
flash0: flash@8000000 {
|
2022-06-18 03:17:45 +08:00
|
|
|
compatible = "st,stm32-nv-flash", "soc-nv-flash";
|
2022-04-06 21:47:33 +08:00
|
|
|
write-block-size = <32>;
|
|
|
|
erase-block-size = <DT_SIZE_K(128)>;
|
2022-06-18 03:17:45 +08:00
|
|
|
/* maximum erase time for a 128K sector */
|
|
|
|
max-erase-time = <4000>;
|
2022-04-06 21:47:33 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-03-20 21:27:05 +08:00
|
|
|
dmamux1: dmamux@40020800 {
|
|
|
|
dma-requests= <107>;
|
|
|
|
};
|
2022-03-18 17:19:20 +08:00
|
|
|
|
|
|
|
ltdc: display-controller@50001000 {
|
|
|
|
compatible = "st,stm32-ltdc";
|
|
|
|
reg = <0x50001000 0x200>;
|
|
|
|
interrupts = <88 0>, <89 0>;
|
|
|
|
interrupt-names = "ltdc", "ltdc_er";
|
2022-05-24 03:27:57 +08:00
|
|
|
clocks = <&rcc STM32_CLOCK_BUS_APB3 0x00000008>;
|
2022-03-18 17:19:20 +08:00
|
|
|
status = "disabled";
|
|
|
|
};
|
2021-03-20 21:27:05 +08:00
|
|
|
};
|
|
|
|
|
2021-03-02 01:27:34 +08:00
|
|
|
/* System data RAM accessible over AXI bus: AXI SRAM in D1 domain */
|
2020-03-06 19:44:29 +08:00
|
|
|
sram0: memory@24000000 {
|
|
|
|
reg = <0x24000000 DT_SIZE_K(512)>;
|
2021-03-02 01:27:34 +08:00
|
|
|
compatible = "mmio-sram";
|
|
|
|
};
|
|
|
|
|
|
|
|
/* System data RAM accessible over AHB bus: SRAM1 in D2 domain */
|
|
|
|
sram1: memory@30000000 {
|
|
|
|
reg = <0x30000000 DT_SIZE_K(128)>;
|
2022-01-21 00:51:06 +08:00
|
|
|
compatible = "zephyr,memory-region", "mmio-sram";
|
2021-07-28 18:31:24 +08:00
|
|
|
zephyr,memory-region = "SRAM1";
|
2021-03-02 01:27:34 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
/* System data RAM accessible over AHB bus: SRAM2 in D2 domain */
|
|
|
|
sram2: memory@30020000 {
|
2022-01-21 00:51:06 +08:00
|
|
|
compatible = "zephyr,memory-region", "mmio-sram";
|
2021-03-02 01:27:34 +08:00
|
|
|
reg = <0x30020000 DT_SIZE_K(128)>;
|
2021-07-28 18:31:24 +08:00
|
|
|
zephyr,memory-region = "SRAM2";
|
2021-03-02 01:27:34 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
/* System data RAM accessible over AHB bus: SRAM3 in D2 domain */
|
|
|
|
sram3: memory@30040000 {
|
2022-01-21 00:51:06 +08:00
|
|
|
compatible = "zephyr,memory-region", "mmio-sram";
|
2021-03-02 01:27:34 +08:00
|
|
|
reg = <0x30040000 DT_SIZE_K(32)>;
|
2021-07-28 18:31:24 +08:00
|
|
|
zephyr,memory-region = "SRAM3";
|
2021-03-02 01:27:34 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
/* System data RAM accessible over AHB bus: SRAM4 in D3 domain */
|
|
|
|
sram4: memory@38000000 {
|
|
|
|
reg = <0x38000000 DT_SIZE_K(64)>;
|
2022-01-21 00:51:06 +08:00
|
|
|
compatible = "zephyr,memory-region", "mmio-sram";
|
2021-07-28 18:31:24 +08:00
|
|
|
zephyr,memory-region = "SRAM4";
|
2020-03-06 19:44:29 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
dtcm: memory@20000000 {
|
2022-01-21 00:51:06 +08:00
|
|
|
compatible = "zephyr,memory-region", "arm,dtcm";
|
2020-03-06 19:44:29 +08:00
|
|
|
reg = <0x20000000 DT_SIZE_K(128)>;
|
2021-07-28 18:31:24 +08:00
|
|
|
zephyr,memory-region = "DTCM";
|
2020-03-06 19:44:29 +08:00
|
|
|
};
|
|
|
|
};
|