Skip to content

Commit 397bb3c

Browse files
glneokartben
authored andcommitted
boards: ti: am62: Fix size of DDR1 memory region
Unlike most other remote cores on most other TI K3 devices, the M4 on AM62 was only reserved 14MB of shared memory DDR vs the normal 15MB. Update the same for all AM62 boards to prevent writing into unreserved memory. Signed-off-by: Andrew Davis <[email protected]>
1 parent c7dc59f commit 397bb3c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

boards/beagle/pocketbeagle_2/pocketbeagle_2_m4-common.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
ddr1: memory@9cc01000 {
5050
compatible = "zephyr,memory-region", "mmio-sram";
51-
reg = <0x9cc01000 (DT_SIZE_M(15) - DT_SIZE_K(4))>;
51+
reg = <0x9cc01000 (DT_SIZE_M(14) - DT_SIZE_K(4))>;
5252
zephyr,memory-region = "DDR";
5353
};
5454

boards/phytec/phyboard_lyra/phyboard_lyra_am6234_m4.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
ddr1: memory@9cc01000 {
4747
compatible = "zephyr,memory-region", "mmio-sram";
48-
reg = <0x9cc01000 (DT_SIZE_M(15) - DT_SIZE_K(4))>;
48+
reg = <0x9cc01000 (DT_SIZE_M(14) - DT_SIZE_K(4))>;
4949
zephyr,memory-region = "DDR";
5050
};
5151

boards/ti/sk_am62/sk_am62_am6234_m4.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
ddr1: memory@9cc01000 {
4242
compatible = "zephyr,memory-region", "mmio-sram";
43-
reg = <0x9cc01000 (DT_SIZE_M(15) - DT_SIZE_K(4))>;
43+
reg = <0x9cc01000 (DT_SIZE_M(14) - DT_SIZE_K(4))>;
4444
zephyr,memory-region = "DDR";
4545
};
4646
};

boards/toradex/verdin_am62/verdin_am62_am6234_m4.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
ddr1: memory@9cc01000 {
4949
compatible = "zephyr,memory-region", "mmio-sram";
50-
reg = <0x9cc01000 (DT_SIZE_M(15) - DT_SIZE_K(4))>;
50+
reg = <0x9cc01000 (DT_SIZE_M(14) - DT_SIZE_K(4))>;
5151
zephyr,memory-region = "DDR";
5252
};
5353
};

0 commit comments

Comments
 (0)