Seems only one mac is stored in ART.
PCI Link Intialized
In: serial@78AF000
Out: serial@78AF000
Err: serial@78AF000
machid: 8040004
eth0 MAC Address from ART is not valid
Net: cmbblk is stable 5
MAC0 addr:0:11:22:33:44:55
PHY ID1: 0x4d
PHY ID2: 0xd0c0
MAC1 addr:94:83:c4:a4:a7:21
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init done
board_update_caldata: Unable to find slot-Id, Default CapIn/CapOut values used
eth0, eth1
root@OpenWrt:~# cat /sys/class/net/eth0/address
00:11:22:33:44:55
should i just use the same phandle for both
partition@480000 {
label = "0:ART";
reg = <0x00480000 0x100000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_dp1: macaddr@0 {
reg = <0x0 0x6>;
};
};
};
* ge_phy to detect IPQ5018 dummy switch.
*/
nvmem-cells = <&macaddr_dp1>;
nvmem-cell-names = "mac-address";
status = "okay";
};
// MAC1 ---SGMII---> QCA8337 SerDes
&dp2 {
status = "okay";
phy-mode = "sgmii";
nvmem-cells = <&macaddr_dp1>;
nvmem-cell-names = "mac-address";
fixed-link {
speed = <1000>;
full-duplex;
};
};
building now