diff mbox series

[1/2] ARM: dts: imx27: Fix sram node

Message ID 20231206123921.2255532-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/2] ARM: dts: imx27: Fix sram node | expand

Commit Message

Fabio Estevam Dec. 6, 2023, 12:39 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 dt-schema warnings:

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

Comments

Shawn Guo Dec. 13, 2023, 9:13 a.m. UTC | #1
On Wed, Dec 06, 2023 at 09:39:20AM -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 dt-schema warnings:
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied both, thanks!
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/nxp/imx/imx27.dtsi b/arch/arm/boot/dts/nxp/imx/imx27.dtsi
index faba12ee7465..cac4b3d68986 100644
--- a/arch/arm/boot/dts/nxp/imx/imx27.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx27.dtsi
@@ -588,6 +588,9 @@  weim: weim@d8002000 {
 		iram: sram@ffff4c00 {
 			compatible = "mmio-sram";
 			reg = <0xffff4c00 0xb400>;
+			ranges = <0 0xffff4c00 0xb400>;
+			#address-cells = <1>;
+			#size-cells = <1>;
 		};
 	};
 };