]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: dts: imx6sl: add missing properties for sram
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Fri, 26 Aug 2022 05:53:34 +0000 (07:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 11:22:54 +0000 (13:22 +0200)
[ Upstream commit db65761cf1695e2766242f7e3ec2775e137f564f ]

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/imx6sl.dtsi

index 540880f0413fdbe500417a7f176ba7431ced239c..852f66944c7d4de06bb685eabd973287316dd1b4 100644 (file)
                ocram: sram@900000 {
                        compatible = "mmio-sram";
                        reg = <0x00900000 0x20000>;
+                       ranges = <0 0x00900000 0x20000>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        clocks = <&clks IMX6SL_CLK_OCRAM>;
                };