]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: socfpga: add #address-cells and #size-cells for sram node
authorDinh Nguyen <dinguyen@kernel.org>
Fri, 26 Dec 2025 21:31:16 +0000 (15:31 -0600)
committerDinh Nguyen <dinguyen@kernel.org>
Fri, 30 Jan 2026 15:27:12 +0000 (09:27 -0600)
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>
arch/arm/boot/dts/intel/socfpga/socfpga.dtsi
arch/arm/boot/dts/intel/socfpga/socfpga_arria10.dtsi

index 35be14150f4167be5f1361a5a6a4265a49d5c78c..58d9fd0c34f0bd7bffba1fa5a6702011e11e69fe 100644 (file)
                ocram: sram@ffff0000 {
                        compatible = "mmio-sram";
                        reg = <0xffff0000 0x10000>;
+                       #address-cells = <0x1>;
+                       #size-cells = <0x1>;
+                       ranges;
                };
 
                qspi: spi@ff705000 {
index b108265e9bde42fbaf10f2e2f235b3add6eea366..4df2b98a3e59abdaefe2e861ad3013ab215f5eb6 100644 (file)
                ocram: sram@ffe00000 {
                        compatible = "mmio-sram";
                        reg = <0xffe00000 0x40000>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       ranges;
                };
 
                eccmgr: eccmgr {