ARM: dts: imx6qdl-mba6: add mac address for USB ethernet controller

The mac address is stored in mainboard eeprom.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Alexander Stein 2023-05-15 07:44:29 +02:00 committed by Shawn Guo
parent 6de27598cf
commit 171342e6af
3 changed files with 28 additions and 0 deletions

View File

@ -271,6 +271,22 @@ &uart5 {
&usbh1 {
disable-over-current;
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
hub@1 {
compatible = "usb424,2517";
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
ethernet@1 {
compatible = "usb424,9e00";
reg = <1>;
nvmem-cells = <&mba_mac_address>;
nvmem-cell-names = "mac-address";
};
};
};
&usbotg {

View File

@ -21,6 +21,12 @@ m24c64_57: eeprom@57 {
compatible = "atmel,24c64";
reg = <0x57>;
pagesize = <32>;
#address-cells = <1>;
#size-cells = <1>;
mba_mac_address: mac-address@20 {
reg = <0x20 0x6>;
};
};
rtc0: rtc@68 {

View File

@ -31,6 +31,12 @@ m24c64_57: eeprom@57 {
compatible = "atmel,24c64";
reg = <0x57>;
pagesize = <32>;
#address-cells = <1>;
#size-cells = <1>;
mba_mac_address: mac-address@20 {
reg = <0x20 0x6>;
};
};
rtc0: rtc@68 {