Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Fabio Estevam and committed by
Shawn Guo
63e1654d 2ffa24e4

+3
+3
arch/arm/boot/dts/imx51.dtsi
··· 124 124 iram: sram@1ffe0000 { 125 125 compatible = "mmio-sram"; 126 126 reg = <0x1ffe0000 0x20000>; 127 + ranges = <0 0x1ffe0000 0x20000>; 128 + #address-cells = <1>; 129 + #size-cells = <1>; 127 130 }; 128 131 129 132 gpu: gpu@30000000 {