]> git.itanic.dy.fi Git - linux-stable/commitdiff
ARM: dts: imx6dl: add missing properties for sram
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Fri, 26 Aug 2022 05:53:32 +0000 (07:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 11:17:12 +0000 (13:17 +0200)
[ Upstream commit f5848b95633d598bacf0500e0108dc5961af88c0 ]

All 3 properties are required by sram.yaml. Fixes the dtbs_check warning:
sram@900000: '#address-cells' is a required property
sram@900000: '#size-cells' is a required property
sram@900000: 'ranges' is a required property

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/imx6dl.dtsi

index 8475e6cc59ac63c68036987845e33f8c3e50a164..71e7c87c7497e25595efa1b7de7c558d28c94030 100644 (file)
@@ -63,6 +63,9 @@ soc {
                ocram: sram@00900000 {
                        compatible = "mmio-sram";
                        reg = <0x00900000 0x20000>;
+                       ranges = <0 0x00900000 0x20000>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        clocks = <&clks IMX6QDL_CLK_OCRAM>;
                };