summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-11-27 11:26:34 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-27 12:21:36 +0100
commit08bad2f11575cb147a5d38822168672a2b83704c (patch)
tree8223214e4f2aa81b48e4b19e06b0078234dc8fd7
parent2000da7ad10277f8d4560289131349e775bfdfda (diff)
downloadbarebox-08bad2f11575cb147a5d38822168672a2b83704c.tar.gz
ARM Layerscape: ls1046ardb: Fix EEPROM nodes
The ls1046ardb only has one EEPROM instead of two and this is a 24c04 (which spans two addresses on the I2C bus) and not a 24c512. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/dts/fsl-ls1046a-rdb.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/dts/fsl-ls1046a-rdb.dts b/arch/arm/dts/fsl-ls1046a-rdb.dts
index ee4ddf0..32b3f40 100644
--- a/arch/arm/dts/fsl-ls1046a-rdb.dts
+++ b/arch/arm/dts/fsl-ls1046a-rdb.dts
@@ -5,6 +5,10 @@
#include <arm64/freescale/fsl-ls1046a-rdb.dts>
/ {
+ aliases {
+ eeprom = &eeprom;
+ };
+
chosen {
stdout-path = &duart0;
@@ -46,6 +50,17 @@
status = "okay";
};
+&i2c0 {
+ eeprom: eeprom@52 {
+ compatible = "atmel,24c04";
+ };
+
+ non_existent_eeprom: eeprom@53 {
+ };
+};
+
+/delete-node/ &non_existent_eeprom;
+
&fman0 {
ethernet@e0000 {
status = "disabled";