aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarc Ferland <ferlandm@amotus.ca>2020-12-22 14:24:11 -0500
committerStefano Babic <sbabic@denx.de>2020-12-26 14:56:09 +0100
commitd4d7b663b8cae5ef4209aaef21a2435a7d5d4dd7 (patch)
treec7e0dcafbc992059ad7bb0d424a401c92de48e1f /arch
parentf23c7068633d6087a4909b2cd0d83a62689a7d47 (diff)
downloadu-boot-d4d7b663b8cae5ef4209aaef21a2435a7d5d4dd7.zip
u-boot-d4d7b663b8cae5ef4209aaef21a2435a7d5d4dd7.tar.gz
u-boot-d4d7b663b8cae5ef4209aaef21a2435a7d5d4dd7.tar.bz2
arm: dart6ul: change compatible string for eeprom
The eeprom at address 0x50 is a BR24G04NUX-3TTR. It has a 4Kbit (512x8) capacity, change the compatible string to reflect this fact. Also, add an alias to easily refer to this eeprom with fdt_path_offset() which will be in another commit. Signed-off-by: Marc Ferland <ferlandm@amotus.ca> Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/imx6ull-dart-6ul.dtsi9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/dts/imx6ull-dart-6ul.dtsi b/arch/arm/dts/imx6ull-dart-6ul.dtsi
index e96669f..fed40b0 100644
--- a/arch/arm/dts/imx6ull-dart-6ul.dtsi
+++ b/arch/arm/dts/imx6ull-dart-6ul.dtsi
@@ -14,6 +14,10 @@
chosen {
stdout-path = &uart1;
};
+
+ aliases {
+ eeprom0 = &eeprom_som;
+ };
};
&fec1 {
@@ -97,9 +101,10 @@
sda-gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>;
status = "okay";
- eeprom@50 {
- compatible = "cat,24c32";
+ eeprom_som: eeprom@50 {
+ compatible = "atmel,24c04";
reg = <0x50>;
+ status = "okay";
};
};