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

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

authored by

Fabio Estevam and committed by
Shawn Guo
2ffa24e4 1b929c02

+3
+3
arch/arm/boot/dts/imx53.dtsi
··· 850 850 ocram: sram@f8000000 { 851 851 compatible = "mmio-sram"; 852 852 reg = <0xf8000000 0x20000>; 853 + ranges = <0 0xf8000000 0x20000>; 854 + #address-cells = <1>; 855 + #size-cells = <1>; 853 856 clocks = <&clks IMX5_CLK_OCRAM>; 854 857 }; 855 858 };