ARM: dts: imx6qp: add missing properties for sram
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Fri, 26 Aug 2022 05:53:33 +0000 (07:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 10:35:43 +0000 (12:35 +0200)
[ Upstream commit 088fe5237435ee2f7ed4450519b2ef58b94c832f ]

All 3 properties are required by sram.yaml. Fixes the dtbs_check warning:
sram@940000: '#address-cells' is a required property
sram@940000: '#size-cells' is a required property
sram@940000: '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/imx6qp.dtsi

index b310f13a53f22eb6c59ab2d3ca21b2803b5d7921..4d23c92aa8a6bf9fa16820f4a3706bed0c6aee23 100644 (file)
@@ -9,12 +9,18 @@
                ocram2: sram@940000 {
                        compatible = "mmio-sram";
                        reg = <0x00940000 0x20000>;
+                       ranges = <0 0x00940000 0x20000>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        clocks = <&clks IMX6QDL_CLK_OCRAM>;
                };
 
                ocram3: sram@960000 {
                        compatible = "mmio-sram";
                        reg = <0x00960000 0x20000>;
+                       ranges = <0 0x00960000 0x20000>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        clocks = <&clks IMX6QDL_CLK_OCRAM>;
                };