diff options
author | Fabio Estevam <festevam@denx.de> | 2022-11-18 10:20:16 -0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2022-12-31 15:00:13 +0800 |
commit | 63e1654d82f3462ff322d71504f3192f2c8636a0 (patch) | |
tree | bc842b11b1846e00b2f2feaebe4ad5b753e1ce9c | |
parent | 2ffa24e42317f080e86ea92dc81d26b99fcca611 (diff) | |
download | lwn-63e1654d82f3462ff322d71504f3192f2c8636a0.tar.gz lwn-63e1654d82f3462ff322d71504f3192f2c8636a0.zip |
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>
-rw-r--r-- | arch/arm/boot/dts/imx51.dtsi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx51.dtsi b/arch/arm/boot/dts/imx51.dtsi index 853707574d2e..ba92a3ea6872 100644 --- a/arch/arm/boot/dts/imx51.dtsi +++ b/arch/arm/boot/dts/imx51.dtsi @@ -124,6 +124,9 @@ iram: sram@1ffe0000 { compatible = "mmio-sram"; reg = <0x1ffe0000 0x20000>; + ranges = <0 0x1ffe0000 0x20000>; + #address-cells = <1>; + #size-cells = <1>; }; gpu: gpu@30000000 { |