[PATCH] ARM: dts: imx25: Fix sram node

Fabio Estevam festevam at gmail.com
Wed Sep 27 13:33:18 PDT 2023


From: Fabio Estevam <festevam at denx.de>

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

Pass them to fix the following schema warnings:

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

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

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 at 53ffc000 {
 		iram: sram at 78000000 {
 			compatible = "mmio-sram";
 			reg = <0x78000000 0x20000>;
+			ranges = <0 0x78000000 0x20000>;
+			#address-cells = <1>;
+			#size-cells = <1>;
 		};
 
 		emi at 80000000 {
-- 
2.34.1




More information about the linux-arm-kernel mailing list