Skip to content

Commit

Permalink
arm: dart6ul: change compatible string for eeprom
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marc Ferland authored and sbabic committed Dec 26, 2020
1 parent f23c706 commit d4d7b66
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions arch/arm/dts/imx6ull-dart-6ul.dtsi
Expand Up @@ -14,6 +14,10 @@
chosen {
stdout-path = &uart1;
};

aliases {
eeprom0 = &eeprom_som;
};
};

&fec1 {
Expand Down Expand Up @@ -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";
};
};

Expand Down

0 comments on commit d4d7b66

Please sign in to comment.