[PATCH v1 12/20] ARM: dts: Layerscape: drop unneeded EEPROM node overriding

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Feb 17 09:30:49 PST 2023


There's no eeprom at 53 defined in the upstream device tree, so no need to
define one, just to delete it. The eeprom at 52 already has this very
compatible, so we can do that too.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 arch/arm/dts/fsl-ls1046a-rdb.dts | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/arch/arm/dts/fsl-ls1046a-rdb.dts b/arch/arm/dts/fsl-ls1046a-rdb.dts
index 10f716a974c0..a27f8a8f39db 100644
--- a/arch/arm/dts/fsl-ls1046a-rdb.dts
+++ b/arch/arm/dts/fsl-ls1046a-rdb.dts
@@ -6,7 +6,7 @@
 
 / {
 	aliases {
-		eeprom = &eeprom;
+		eeprom = &{i2c0/eeprom at 52};
 		mmc0 = &esdhc;
 	};
 
@@ -47,17 +47,6 @@
 	status = "okay";
 };
 
-&i2c0 {
-	eeprom: eeprom at 52 {
-		compatible = "atmel,24c04";
-	};
-
-	non_existent_eeprom: eeprom at 53 {
-	};
-};
-
-/delete-node/ &non_existent_eeprom;
-
 &enet0 {
 	status = "disabled";
 };
-- 
2.30.2




More information about the barebox mailing list