ARM: dts: socfpga: add #address-cells and #size-cells for sram node

Add #address-cells and #size-cells for sram node to fix below DTB_CHECK
warnings:

socfpga_arria5_socdk.dtb: sram@ffff0000 (mmio-sram): '#size-cells' is a
required property from schema $id: http://devicetree.org/schemas/sram/sram.yaml

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
This commit is contained in:
Dinh Nguyen 2025-12-26 15:31:16 -06:00
parent 42918d28cb
commit 6ba5f9b424
2 changed files with 6 additions and 0 deletions

View File

@ -785,6 +785,9 @@ nand0: nand-controller@ff900000 {
ocram: sram@ffff0000 {
compatible = "mmio-sram";
reg = <0xffff0000 0x10000>;
#address-cells = <0x1>;
#size-cells = <0x1>;
ranges;
};
qspi: spi@ff705000 {

View File

@ -686,6 +686,9 @@ nand: nand-controller@ffb90000 {
ocram: sram@ffe00000 {
compatible = "mmio-sram";
reg = <0xffe00000 0x40000>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
};
eccmgr: eccmgr {