ARM: dts: imx27: Fix sram node
authorFabio Estevam <festevam@denx.de>
Wed, 6 Dec 2023 12:39:20 +0000 (09:39 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Feb 2024 20:14:22 +0000 (20:14 +0000)
[ Upstream commit 2fb7b2a2f06bb3f8321cf26c33e4e820c5b238b6 ]

Per sram.yaml, address-cells, size-cells and ranges are mandatory.

Pass them to fix the following dt-schema warnings:

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/nxp/imx/imx27.dtsi

index faba12e..cac4b3d 100644 (file)
                iram: sram@ffff4c00 {
                        compatible = "mmio-sram";
                        reg = <0xffff4c00 0xb400>;
+                       ranges = <0 0xffff4c00 0xb400>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                };
        };
 };