Skip to content

Commit bb68566

Browse files
haiyuewakartben
authored andcommitted
dts: bindings: memc: stm32: correct the SDRAM base address description
Catch the DTS warning by copying the SDRAM node in description: unit address and first address in 'reg' (0xc000000) don't match for /sdram@c0000000 Signed-off-by: Haiyue Wang <[email protected]>
1 parent 87468a2 commit bb68566

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dts/bindings/memory-controllers/st,stm32-fmc-sdram.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ description: |
5858
sdram1: sdram@c0000000 {
5959
compatible = "zephyr,memory-region", "mmio-sram";
6060
device_type = "memory";
61-
reg = <0xc000000 DT_SIZE_M(X)>;
61+
reg = <0xc0000000 DT_SIZE_M(X)>;
6262
zephyr,memory-region = "SDRAM1";
6363
};
6464
6565
sdram2: sdram@d0000000 {
6666
compatible = "zephyr,memory-region", "mmio-sram";
6767
device_type = "memory";
68-
reg = <0xd000000 DT_SIZE_M(X)>;
68+
reg = <0xd0000000 DT_SIZE_M(X)>;
6969
zephyr,memory-region = "SDRAM2";
7070
};
7171

0 commit comments

Comments
 (0)