Commit d4d7b663 authored by Marc Ferland's avatar Marc Ferland Committed by Stefano Babic
Browse files

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: default avatarMarc Ferland <ferlandm@amotus.ca>
Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
parent f23c7068
...@@ -14,6 +14,10 @@ ...@@ -14,6 +14,10 @@
chosen { chosen {
stdout-path = &uart1; stdout-path = &uart1;
}; };
aliases {
eeprom0 = &eeprom_som;
};
}; };
&fec1 { &fec1 {
...@@ -97,9 +101,10 @@ ...@@ -97,9 +101,10 @@
sda-gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>; sda-gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>;
status = "okay"; status = "okay";
eeprom@50 { eeprom_som: eeprom@50 {
compatible = "cat,24c32"; compatible = "atmel,24c04";
reg = <0x50>; reg = <0x50>;
status = "okay";
}; };
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment