Skip to content

Commit 63fcaee

Browse files
DerekSnellhenrikbrixandersen
authored andcommitted
dts: arm: nxp: LPC55S1x add memory-region to SRAMs
Enable linker to allocate to these SRAM regions. Signed-off-by: Derek Snell <[email protected]>
1 parent 18d9ba4 commit 63fcaee

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dts/arm/nxp/nxp_lpc55S1x_common.dtsi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,15 @@
3636
#size-cells = <1>;
3737

3838
sramx: memory@4000000 {
39-
compatible = "mmio-sram";
39+
compatible = "zephyr,memory-region", "mmio-sram";
4040
reg = <0x4000000 DT_SIZE_K(16)>;
41+
zephyr,memory-region = "SRAMX";
4142
};
4243

4344
sram0: memory@20000000 {
44-
compatible = "mmio-sram";
45+
compatible = "zephyr,memory-region", "mmio-sram";
4546
reg = <0x20000000 DT_SIZE_K(32)>;
47+
zephyr,memory-region = "SRAM0";
4648
};
4749

4850
sram1: memory@20008000 {

0 commit comments

Comments
 (0)