mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-16 15:02:16 +01:00
imx8mn-var-som: read eth MAC address from EEPROM
Read ethernet MAC address from EEPROM located on the SOM. Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
This commit is contained in:
parent
89bd008da4
commit
2ae1267342
@ -13,6 +13,19 @@
|
|||||||
bootph-pre-ram;
|
bootph-pre-ram;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&eeprom_som {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
eth_mac_address: eth-mac-address@19 {
|
||||||
|
reg = <0x19 0x06>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&fec1 {
|
||||||
|
nvmem-cells = <ð_mac_address>;
|
||||||
|
nvmem-cell-names = "mac-address";
|
||||||
|
};
|
||||||
|
|
||||||
&gpio1 {
|
&gpio1 {
|
||||||
bootph-pre-ram;
|
bootph-pre-ram;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -248,6 +248,7 @@ config TARGET_IMX8MN_VAR_SOM
|
|||||||
select MISC
|
select MISC
|
||||||
select I2C_EEPROM
|
select I2C_EEPROM
|
||||||
select DM_ETH_PHY
|
select DM_ETH_PHY
|
||||||
|
select NVMEM
|
||||||
|
|
||||||
config TARGET_KONTRON_PITX_IMX8M
|
config TARGET_KONTRON_PITX_IMX8M
|
||||||
bool "Support Kontron pITX-imx8m"
|
bool "Support Kontron pITX-imx8m"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user