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)
committerShawn Guo <shawnguo@kernel.org>
Mon, 5 Sep 2022 01:27:36 +0000 (09:27 +0800)
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>
arch/arm/boot/dts/imx6qp.dtsi

index 0503655..fc16499 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>;
                };