mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 03:24:19 +02:00
ARM: zynq: Point via nvmem0 alias to eeprom on zc702/zc706
EEPROM stores identification information about board like a board name, revision, serial number and ethernet MAC address. U-Boot is capable to read nvmemX aliases and read/display provided information when nvmem alias link is described. Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/c4a28874455a8747638551cf09ba31aa803b8b09.1733920873.git.michal.simek@amd.com
This commit is contained in:
parent
1701669821
commit
09b180054b
|
|
@ -16,6 +16,7 @@ aliases {
|
|||
i2c0 = &i2c0;
|
||||
serial0 = &uart1;
|
||||
mmc0 = &sdhci0;
|
||||
nvmem0 = &eeprom;
|
||||
};
|
||||
|
||||
memory@0 {
|
||||
|
|
@ -138,7 +139,7 @@ i2c@2 {
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <2>;
|
||||
eeprom@54 {
|
||||
eeprom: eeprom@54 {
|
||||
compatible = "atmel,24c08";
|
||||
reg = <0x54>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ aliases {
|
|||
i2c0 = &i2c0;
|
||||
serial0 = &uart1;
|
||||
mmc0 = &sdhci0;
|
||||
nvmem0 = &eeprom;
|
||||
};
|
||||
|
||||
memory@0 {
|
||||
|
|
@ -99,7 +100,7 @@ i2c@2 {
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <2>;
|
||||
eeprom@54 {
|
||||
eeprom: eeprom@54 {
|
||||
compatible = "atmel,24c08";
|
||||
reg = <0x54>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user