[PATCH 5/8] ARM: dts: Fix dtc warnings in barebox,environment nodes

Sascha Hauer s.hauer at pengutronix.de
Thu Mar 2 02:39:40 PST 2023


Some environment nodes have a unit name, but no reg property. Remove
the unit name.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/dts/imx6qdl-prti6q-emmc.dtsi | 2 +-
 arch/arm/dts/imx6ul-prti6g.dts        | 2 +-
 arch/arm/dts/imx6ull-jozacp.dts       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/dts/imx6qdl-prti6q-emmc.dtsi b/arch/arm/dts/imx6qdl-prti6q-emmc.dtsi
index 581ff349a4..c9c75a9ade 100644
--- a/arch/arm/dts/imx6qdl-prti6q-emmc.dtsi
+++ b/arch/arm/dts/imx6qdl-prti6q-emmc.dtsi
@@ -8,7 +8,7 @@
 	chosen {
 		stdout-path = &uart4;
 
-		environment at 0 {
+		environment {
 			compatible = "barebox,environment";
 			device-path = &env_sd3;
 		};
diff --git a/arch/arm/dts/imx6ul-prti6g.dts b/arch/arm/dts/imx6ul-prti6g.dts
index 3efbf357f1..23fafa0dce 100644
--- a/arch/arm/dts/imx6ul-prti6g.dts
+++ b/arch/arm/dts/imx6ul-prti6g.dts
@@ -7,7 +7,7 @@
 	chosen {
 		stdout-path = &uart4;
 
-		environment at 0 {
+		environment {
 			compatible = "barebox,environment";
 			device-path = &env_sd2;
 		};
diff --git a/arch/arm/dts/imx6ull-jozacp.dts b/arch/arm/dts/imx6ull-jozacp.dts
index c30ba759ee..612dac67ca 100644
--- a/arch/arm/dts/imx6ull-jozacp.dts
+++ b/arch/arm/dts/imx6ull-jozacp.dts
@@ -7,7 +7,7 @@
 	chosen {
 		stdout-path = &uart1;
 
-		environment at 0 {
+		environment {
 			compatible = "barebox,environment";
 			device-path = &env_sd1;
 		};
-- 
2.30.2




More information about the barebox mailing list