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

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 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@52};
                mmc0 = &esdhc;
        };
 
@@ -47,17 +47,6 @@
        status = "okay";
 };
 
-&i2c0 {
-       eeprom: eeprom@52 {
-               compatible = "atmel,24c04";
-       };
-
-       non_existent_eeprom: eeprom@53 {
-       };
-};
-
-/delete-node/ &non_existent_eeprom;
-
 &enet0 {
        status = "disabled";
 };
-- 
2.30.2


Reply via email to