Commit 63e1654d authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo

ARM: dts: imx51: 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
...
arch/arm/boot/dts/imx51-apf51.dtb: sram@1ffe0000: '#address-cells' is a required property
	From schema: Documentation/devicetree/bindings/sram/sram.yaml
arch/arm/boot/dts/imx51-apf51.dtb: sram@1ffe0000: '#size-cells' is a required property
	From schema: Documentation/devicetree/bindings/sram/sram.yaml
arch/arm/boot/dts/imx51-apf51.dtb: sram@1ffe0000: '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 2ffa24e4
...@@ -124,6 +124,9 @@ soc: soc { ...@@ -124,6 +124,9 @@ soc: soc {
iram: sram@1ffe0000 { iram: sram@1ffe0000 {
compatible = "mmio-sram"; compatible = "mmio-sram";
reg = <0x1ffe0000 0x20000>; reg = <0x1ffe0000 0x20000>;
ranges = <0 0x1ffe0000 0x20000>;
#address-cells = <1>;
#size-cells = <1>;
}; };
gpu: gpu@30000000 { gpu: gpu@30000000 {
......
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