31 lines
569 B
Plaintext
31 lines
569 B
Plaintext
|
/*
|
||
|
* Copyright (c) 2024 STMicroelectronics
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*/
|
||
|
|
||
|
#include <mem.h>
|
||
|
#include <st/u0/stm32u031.dtsi>
|
||
|
|
||
|
/ {
|
||
|
sram1: memory@20000000 {
|
||
|
compatible = "zephyr,memory-region", "mmio-sram";
|
||
|
reg = <0x20000000 DT_SIZE_K(8)>;
|
||
|
zephyr,memory-region = "SRAM1";
|
||
|
};
|
||
|
|
||
|
sram2: memory@20080000 {
|
||
|
compatible = "zephyr,memory-region", "mmio-sram";
|
||
|
reg = <0x20080000 DT_SIZE_K(4)>;
|
||
|
zephyr,memory-region = "SRAM2";
|
||
|
};
|
||
|
|
||
|
soc {
|
||
|
flash-controller@40022000 {
|
||
|
flash0: flash@8000000 {
|
||
|
reg = <0x08000000 DT_SIZE_K(64)>;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|