102 lines
2.4 KiB
Plaintext
102 lines
2.4 KiB
Plaintext
/*
|
|
* Copyright (c) 2020 Alexander Kozhinov <AlexanderKozhinov@yandex.com>
|
|
* Copyright (c) 2022 Georgij Cernysiov <geo.cgv@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <mem.h>
|
|
#include <st/h7/stm32h7.dtsi>
|
|
#include <zephyr/dt-bindings/display/stm32_ltdc.h>
|
|
|
|
/ {
|
|
soc {
|
|
flash-controller@52002000 {
|
|
flash0: flash@8000000 {
|
|
compatible = "soc-nv-flash";
|
|
write-block-size = <32>;
|
|
erase-block-size = <DT_SIZE_K(128)>;
|
|
label = "FLASH_STM32";
|
|
};
|
|
};
|
|
|
|
uart9: serial@40011800 {
|
|
compatible = "st,stm32-uart";
|
|
reg = <0x40011800 0x400>;
|
|
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000040>;
|
|
interrupts = <155 0>;
|
|
status = "disabled";
|
|
label = "UART_9";
|
|
};
|
|
|
|
usart10: serial@40011c00 {
|
|
compatible = "st,stm32-usart", "st,stm32-uart";
|
|
reg = <0x40011c00 0x400>;
|
|
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000080>;
|
|
interrupts = <156 0>;
|
|
status = "disabled";
|
|
label = "UART_10";
|
|
};
|
|
|
|
dmamux1: dmamux@40020800 {
|
|
dma-requests= <129>;
|
|
};
|
|
|
|
rng: rng@48021800 {
|
|
health-test-magic = <0x17590abc>;
|
|
health-test-config = <0xaa74>;
|
|
};
|
|
|
|
ltdc: display-controller@50001000 {
|
|
compatible = "st,stm32-ltdc";
|
|
reg = <0x50001000 0x200>;
|
|
interrupts = <88 0>, <89 0>;
|
|
interrupt-names = "ltdc", "ltdc_er";
|
|
clocks = <&rcc STM32_CLOCK_BUS_APB3 0x00000008>;
|
|
label = "LTDC";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
/* D1 domain, AXI SRAM (128KB with shared ITCM 192KB as `TCM_AXI_SHARED` is `000`) */
|
|
sram0: memory@24000000 {
|
|
reg = <0x24000000 DT_SIZE_K(320)>;
|
|
compatible = "mmio-sram";
|
|
};
|
|
|
|
/* D2 domain, AHB SRAM */
|
|
sram1: memory@30000000 {
|
|
reg = <0x30000000 DT_SIZE_K(16)>;
|
|
compatible = "zephyr,memory-region", "mmio-sram";
|
|
zephyr,memory-region = "SRAM1";
|
|
};
|
|
|
|
/* D2 domain, AHB SRAM */
|
|
sram2: memory@30040000 {
|
|
reg = <0x30040000 DT_SIZE_K(16)>;
|
|
compatible = "zephyr,memory-region", "mmio-sram";
|
|
zephyr,memory-region = "SRAM2";
|
|
};
|
|
|
|
/* D3 domain, AHB SRAM */
|
|
sram4: memory@38000000 {
|
|
reg = <0x38000000 DT_SIZE_K(16)>;
|
|
compatible = "zephyr,memory-region", "mmio-sram";
|
|
zephyr,memory-region = "SRAM4";
|
|
};
|
|
|
|
/* Data TCM RAM */
|
|
dtcm: memory@20000000 {
|
|
compatible = "zephyr,memory-region", "arm,dtcm";
|
|
reg = <0x20000000 DT_SIZE_K(128)>;
|
|
zephyr,memory-region = "DTCM";
|
|
};
|
|
|
|
/* Instruction TCM RAM (64KB as `TCM_AXI_SHARED` is `000`) */
|
|
itcm: memory@0 {
|
|
compatible = "zephyr,memory-region", "arm,itcm";
|
|
reg = <0x00000000 DT_SIZE_K(64)>;
|
|
zephyr,memory-region = "ITCM";
|
|
};
|
|
};
|