diff options
author | Fabio Estevam | 2022-04-12 13:05:37 -0300 |
---|---|---|
committer | Stefano Babic | 2022-04-12 19:10:44 +0200 |
commit | 79bc9dcfa2d7d9557f32f9c84712169e041ced70 (patch) | |
tree | 780784425eead654f3fa1cb35fb0635a24148070 /arch | |
parent | 6924bc7ca28f773c32aa3763834e1027f5a9edbf (diff) |
imx8mm-cl-iot-gate: Retrieve the MAC address from EEPROM
Currently the eth0 MAC address is randomly assigned.
Retrieve the MAC address from EEPROM.
Signed-off-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/dts/imx8mm-cl-iot-gate.dts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/dts/imx8mm-cl-iot-gate.dts b/arch/arm/dts/imx8mm-cl-iot-gate.dts index 62e8d039493..425701204a0 100644 --- a/arch/arm/dts/imx8mm-cl-iot-gate.dts +++ b/arch/arm/dts/imx8mm-cl-iot-gate.dts @@ -17,6 +17,11 @@ stdout-path = &uart3; }; + aliases { + eeprom0 = &i2c_eeprom0; + eeprom1 = &i2c_eeprom1; + }; + reg_vusb_5v: regulator-usdhc2 { compatible = "regulator-fixed"; regulator-name = "VUSB_5V"; @@ -79,7 +84,7 @@ pinctrl-0 = <&pinctrl_i2c1>; status = "okay"; - eeprom@54 { + i2c_eeprom0: eeprom@54 { compatible = "atmel,24c08"; reg = <0x54>; pagesize = <16>; @@ -92,6 +97,11 @@ pinctrl-0 = <&pinctrl_i2c2>; status = "okay"; + i2c_eeprom1: eeprom@50 { + compatible = "atmel,24c08"; + reg = <0x50>; + pagesize = <16>; + }; rtc@69 { compatible = "abracon,ab1805"; reg = <0x69>; |