Skip to content

Commit 3a53845

Browse files
MichalMyczkowskikartben
authored andcommitted
dts: atmel sam4s: fix sram address
Changed Atmel SAM4S series sram adress from 0x20100000 to 0x20000000. Now it matches what is in Atmel SAM4S Series Datasheet chapter 8 section 1.1 Internal SRAM: https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/Atmel-11100-32-bitCortex-M4-Microcontroller-SAM4S_Datasheet.pdf#G1.1069257 Fixes #85211. Signed-off-by: Michal Myczkowski <[email protected]>
1 parent ea3dbe9 commit 3a53845

File tree

12 files changed

+23
-23
lines changed

12 files changed

+23
-23
lines changed

dts/arm/atmel/sam4s.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
status = "okay";
5656
};
5757

58-
sram0: memory@20100000 {
58+
sram0: memory@20000000 {
5959
compatible = "mmio-sram";
6060
};
6161

dts/arm/atmel/sam4s16b.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
};
1717
};
1818

19-
sram0: memory@20100000 {
20-
reg = <0x20100000 DT_SIZE_K(128)>;
19+
sram0: memory@20000000 {
20+
reg = <0x20000000 DT_SIZE_K(128)>;
2121
};
2222
};
2323
};

dts/arm/atmel/sam4s16c.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
};
1717
};
1818

19-
sram0: memory@20100000 {
20-
reg = <0x20100000 DT_SIZE_K(128)>;
19+
sram0: memory@20000000 {
20+
reg = <0x20000000 DT_SIZE_K(128)>;
2121
};
2222
};
2323
};

dts/arm/atmel/sam4s2a.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
};
1717
};
1818

19-
sram0: memory@20100000 {
20-
reg = <0x20100000 DT_SIZE_K(64)>;
19+
sram0: memory@20000000 {
20+
reg = <0x20000000 DT_SIZE_K(64)>;
2121
};
2222
};
2323
};

dts/arm/atmel/sam4s2b.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
};
1717
};
1818

19-
sram0: memory@20100000 {
20-
reg = <0x20100000 DT_SIZE_K(64)>;
19+
sram0: memory@20000000 {
20+
reg = <0x20000000 DT_SIZE_K(64)>;
2121
};
2222
};
2323
};

dts/arm/atmel/sam4s2c.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
};
1717
};
1818

19-
sram0: memory@20100000 {
20-
reg = <0x20100000 DT_SIZE_K(64)>;
19+
sram0: memory@20000000 {
20+
reg = <0x20000000 DT_SIZE_K(64)>;
2121
};
2222
};
2323
};

dts/arm/atmel/sam4s4a.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
};
1717
};
1818

19-
sram0: memory@20100000 {
20-
reg = <0x20100000 DT_SIZE_K(64)>;
19+
sram0: memory@20000000 {
20+
reg = <0x20000000 DT_SIZE_K(64)>;
2121
};
2222
};
2323
};

dts/arm/atmel/sam4s4b.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
};
1717
};
1818

19-
sram0: memory@20100000 {
20-
reg = <0x20100000 DT_SIZE_K(64)>;
19+
sram0: memory@20000000 {
20+
reg = <0x20000000 DT_SIZE_K(64)>;
2121
};
2222
};
2323
};

dts/arm/atmel/sam4s4c.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
};
1717
};
1818

19-
sram0: memory@20100000 {
20-
reg = <0x20100000 DT_SIZE_K(64)>;
19+
sram0: memory@20000000 {
20+
reg = <0x20000000 DT_SIZE_K(64)>;
2121
};
2222
};
2323
};

dts/arm/atmel/sam4s8b.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
};
1717
};
1818

19-
sram0: memory@20100000 {
20-
reg = <0x20100000 DT_SIZE_K(128)>;
19+
sram0: memory@20000000 {
20+
reg = <0x20000000 DT_SIZE_K(128)>;
2121
};
2222
};
2323
};

0 commit comments

Comments
 (0)