diff mbox series

ARM: dts: imx25: Fix sram node

Message ID 20230927203318.311038-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: imx25: Fix sram node | expand

Commit Message

Fabio Estevam Sept. 27, 2023, 8:33 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

Per sram.yaml, address-cells, size-cells and ranges are mandatory.

Pass them to fix the following schema warnings:

sram@78000000: '#address-cells' is a required property
from schema $id: http://devicetree.org/schemas/sram/sram.yaml#
sram@78000000: '#size-cells' is a required property
from schema $id: http://devicetree.org/schemas/sram/sram.yaml#
sram@78000000: 'ranges' is a required property
from schema $id: http://devicetree.org/schemas/sram/sram.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/boot/dts/nxp/imx/imx25.dtsi | 3 +++
 1 file changed, 3 insertions(+)

Comments

Shawn Guo Oct. 10, 2023, 1:20 a.m. UTC | #1
On Wed, Sep 27, 2023 at 05:33:18PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Per sram.yaml, address-cells, size-cells and ranges are mandatory.
> 
> Pass them to fix the following schema warnings:
> 
> sram@78000000: '#address-cells' is a required property
> from schema $id: http://devicetree.org/schemas/sram/sram.yaml#
> sram@78000000: '#size-cells' is a required property
> from schema $id: http://devicetree.org/schemas/sram/sram.yaml#
> sram@78000000: 'ranges' is a required property
> from schema $id: http://devicetree.org/schemas/sram/sram.yaml#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/nxp/imx/imx25.dtsi b/arch/arm/boot/dts/nxp/imx/imx25.dtsi
index 22f07980f58a..e9c57e8f9f0b 100644
--- a/arch/arm/boot/dts/nxp/imx/imx25.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx25.dtsi
@@ -593,6 +593,9 @@  dryice@53ffc000 {
 		iram: sram@78000000 {
 			compatible = "mmio-sram";
 			reg = <0x78000000 0x20000>;
+			ranges = <0 0x78000000 0x20000>;
+			#address-cells = <1>;
+			#size-cells = <1>;
 		};
 
 		emi@80000000 {