ARM: dts: imx25: Fix sram node
authorFabio Estevam <festevam@denx.de>
Wed, 27 Sep 2023 20:33:18 +0000 (17:33 -0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 10 Oct 2023 12:41:47 +0000 (20:41 +0800)
Per sram.yaml, address-cells, size-cells and ranges are mandatory.

Pass them to fix the following schema warnings:

sram@78000000: '#address-cells' is a required property
from schema $id: http://devicetree.org/schemas/sram/sram.yaml#
sram@78000000: '#size-cells' is a required property
from schema $id: http://devicetree.org/schemas/sram/sram.yaml#
sram@78000000: 'ranges' is a required property
from schema $id: http://devicetree.org/schemas/sram/sram.yaml#

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

index 22f07980f58a8d584bbaf9e0fd956d26f78df897..e9c57e8f9f0b9cf4397869e8d291a9906a33259b 100644 (file)
                iram: sram@78000000 {
                        compatible = "mmio-sram";
                        reg = <0x78000000 0x20000>;
+                       ranges = <0 0x78000000 0x20000>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                };
 
                emi@80000000 {