From 01744484cbb0aeff848485b20ee567805a4ab628 Mon Sep 17 00:00:00 2001
From: Lukasz Majewski <lukma@denx.de>
Date: Fri, 19 May 2023 12:43:49 +0200
Subject: [PATCH] dts: xea: Remove clocks property from debug UART on XEA

The imx287 SoC doesn't support common clock framework (CCF), so the
'clocks' property is removed to avoid early (i.e. in SPL) errors when
SPL_OF_PLATDATA is used.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
---
 arch/arm/dts/imx28-xea-u-boot.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/dts/imx28-xea-u-boot.dtsi b/arch/arm/dts/imx28-xea-u-boot.dtsi
index 50289cf6d7..52fec31fbb 100644
--- a/arch/arm/dts/imx28-xea-u-boot.dtsi
+++ b/arch/arm/dts/imx28-xea-u-boot.dtsi
@@ -35,6 +35,7 @@
 };
 
 &duart {
+	/delete-property/ clocks;
 	bootph-pre-ram;
 	type = <1>; /* TYPE_PL011 */
 };
-- 
2.39.5