Commit 2ffa24e4 authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo

ARM: dts: imx53: Fix sram.yaml warnings

Add ranges, #address-cells and #size-cells properties to the sram
node to fix the following warnings when checking sram.yaml:

make dtbs_check DT_SCHEMA_FILES=sram.yaml
...
  DTC_CHK arch/arm/boot/dts/imx53-qsb.dtb
arch/arm/boot/dts/imx53-qsb.dtb: sram@f8000000: '#address-cells' is a required property
	From schema: Documentation/devicetree/bindings/sram/sram.yaml
/home/fabio/linux-next/arch/arm/boot/dts/imx53-qsb.dtb: sram@f8000000: '#size-cells' is a required property
	From schema: Documentation/devicetree/bindings/sram/sram.yaml
/home/fabio/linux-next/arch/arm/boot/dts/imx53-qsb.dtb: sram@f8000000: 'ranges' is a required property
	From schema: Documentation/devicetree/bindings/sram/sram.yaml
Signed-off-by: default avatarFabio Estevam <festevam@denx.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 1b929c02
...@@ -850,6 +850,9 @@ sahara: crypto@63ff8000 { ...@@ -850,6 +850,9 @@ sahara: crypto@63ff8000 {
ocram: sram@f8000000 { ocram: sram@f8000000 {
compatible = "mmio-sram"; compatible = "mmio-sram";
reg = <0xf8000000 0x20000>; reg = <0xf8000000 0x20000>;
ranges = <0 0xf8000000 0x20000>;
#address-cells = <1>;
#size-cells = <1>;
clocks = <&clks IMX5_CLK_OCRAM>; clocks = <&clks IMX5_CLK_OCRAM>;
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment