Skip to content

Commit dcce5b1

Browse files
Jordan Yatescarlescufi
authored andcommitted
dts: linker region properties
Add `zephyr,linker-region` properties to all nodes sram1, sram2, sram3, sram4, sdram1, sdram2, backup_sram, ti_ccfg, dtcm and itcm. Signed-off-by: Jordan Yates <[email protected]>
1 parent 6da04c9 commit dcce5b1

38 files changed

+71
-0
lines changed

boards/arm/arty/arty_a7_arm_designstart_m1.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@
2828
itcm: memory@0 {
2929
compatible = "arm,itcm";
3030
reg = <0x00000000 DT_SIZE_K(64)>;
31+
zephyr,memory-region = "ITCM";
3132
};
3233

3334
dtcm: memory@20000000 {
3435
compatible = "arm,dtcm";
3536
reg = <0x20000000 DT_SIZE_K(32)>;
37+
zephyr,memory-region = "DTCM";
3638
};
3739

3840
bram0: memory@60000000 {

boards/arm/arty/arty_a7_arm_designstart_m3.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@
3434
itcm: memory@0 {
3535
compatible = "arm,itcm";
3636
reg = <0x00000000 DT_SIZE_K(32)>;
37+
zephyr,memory-region = "ITCM";
3738
};
3839

3940
dtcm: memory@20000000 {
4041
compatible = "arm,dtcm";
4142
reg = <0x20000000 DT_SIZE_K(32)>;
43+
zephyr,memory-region = "DTCM";
4244
};
4345

4446
bram0: memory@60000000 {

boards/arm/mps2_an521/mps2_an521.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,13 @@
8282
sram1: memory@10000000 {
8383
compatible = "mmio-sram";
8484
reg = <0x10000000 DT_SIZE_M(4)>;
85+
zephyr,memory-region = "SRAM1";
8586
};
8687

8788
sram2_3: memory@38000000 {
8889
compatible = "mmio-sram";
8990
reg = <0x38000000 DT_SIZE_M(4)>;
91+
zephyr,memory-region = "SRAM2_3";
9092
};
9193

9294
psram: memory@80000000 {

boards/arm/mps2_an521/mps2_an521_ns.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,13 @@
8282
sram1: memory@0 {
8383
compatible = "mmio-sram";
8484
reg = <0x0 DT_SIZE_M(4)>;
85+
zephyr,memory-region = "SRAM1";
8586
};
8687

8788
sram2_3: memory@28000000 {
8889
compatible = "mmio-sram";
8990
reg = <0x28000000 DT_SIZE_M(4)>;
91+
zephyr,memory-region = "SRAM2_3";
9092
};
9193

9294
psram: memory@80000000 {

boards/arm/mps2_an521/mps2_an521_remote.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,13 @@
8282
sram1: memory@0 {
8383
compatible = "mmio-sram";
8484
reg = <0x0 DT_SIZE_M(4)>;
85+
zephyr,memory-region = "SRAM1";
8586
};
8687

8788
sram2_3: memory@28000000 {
8889
compatible = "mmio-sram";
8990
reg = <0x28000000 DT_SIZE_M(4)>;
91+
zephyr,memory-region = "SRAM2_3";
9092
};
9193

9294
psram: memory@80000000 {

boards/arm/mps3_an547/mps3_an547.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
*/
110110
itcm: itcm@10000000 { /* alias @ 0x0 */
111111
reg = <0x10000000 DT_SIZE_K(512)>;
112+
zephyr,memory-region = "ITCM";
112113
};
113114

114115
sram: sram@11000000 { /* alias @ 0x01000000 */
@@ -118,6 +119,7 @@
118119

119120
dtcm: dtcm@30000000 { /* alias @ 0x20000000 */
120121
reg = <0x30000000 DT_SIZE_K(512)>;
122+
zephyr,memory-region = "DTCM";
121123
};
122124

123125
isram: sram@31000000 {/* alias @ 0x21000000 */

boards/arm/stm32f429i_disc1/stm32f429i_disc1.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
sdram2: sdram@d0000000 {
2424
device_type = "memory";
2525
reg = <0xd0000000 DT_SIZE_M(8)>;
26+
zephyr,memory-region = "SDRAM2";
2627
};
2728

2829
leds {

boards/arm/stm32h747i_disco/stm32h747i_disco_m7.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
sdram2: sdram@d0000000 {
2525
device_type = "memory";
2626
reg = <0xd0000000 DT_SIZE_M(32)>;
27+
zephyr,memory-region = "SDRAM2";
2728
};
2829

2930
leds {

dts/arm/atmel/sam4l.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
sram1: memory@21000000 {
4949
compatible = "mmio-sram";
5050
reg = <0x21000000 DT_SIZE_K(4)>;
51+
zephyr,memory-region = "SRAM1";
5152
};
5253

5354
soc {

dts/arm/cypress/psoc6.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,13 @@
5959
sram1: memory@8023000 {
6060
compatible = "mmio-sram";
6161
reg = <0x08023000 DT_SIZE_K(4)>;
62+
zephyr,memory-region = "SRAM1";
6263
};
6364

6465
sram2: memory@8024000 {
6566
compatible = "mmio-sram";
6667
reg = <0x08024000 DT_SIZE_K(112)>;
68+
zephyr,memory-region = "SRAM2";
6769
};
6870

6971
soc {

0 commit comments

Comments
 (0)