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 <haiyuewa@163.com>
This commit is contained in:
Haiyue Wang 2024-12-07 19:59:25 +08:00 committed by Benjamin Cabé
commit bb6856606c

View file

@ -58,14 +58,14 @@ description: |
sdram1: sdram@c0000000 {
compatible = "zephyr,memory-region", "mmio-sram";
device_type = "memory";
reg = <0xc000000 DT_SIZE_M(X)>;
reg = <0xc0000000 DT_SIZE_M(X)>;
zephyr,memory-region = "SDRAM1";
};
sdram2: sdram@d0000000 {
compatible = "zephyr,memory-region", "mmio-sram";
device_type = "memory";
reg = <0xd000000 DT_SIZE_M(X)>;
reg = <0xd0000000 DT_SIZE_M(X)>;
zephyr,memory-region = "SDRAM2";
};