mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
be7f9ad4dd
This fixes:
[ 0.586649] OF: /ethernet@1e100000/mac@1: #nvmem-cell-cells = 1 found 0
Fixes: 28b6224104
("ramips: use fixed layout cell "mac-base" for Ubiquiti EdgeRouter X")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
30 lines
415 B
Plaintext
30 lines
415 B
Plaintext
#include "mt7621_ubnt_edgerouter-x.dtsi"
|
|
|
|
/ {
|
|
model = "Ubiquiti EdgeRouter X";
|
|
compatible = "ubnt,edgerouter-x", "mediatek,mt7621-soc";
|
|
};
|
|
|
|
&gmac1 {
|
|
status = "okay";
|
|
label = "eth0";
|
|
phy-handle = <ðphy0>;
|
|
|
|
nvmem-cells = <&macaddr_factory_22 0>;
|
|
nvmem-cell-names = "mac-address";
|
|
};
|
|
|
|
&mdio {
|
|
ethphy0: ethernet-phy@0 {
|
|
reg = <0>;
|
|
};
|
|
};
|
|
|
|
&switch0 {
|
|
ports {
|
|
port@0 {
|
|
status = "disabled";
|
|
};
|
|
};
|
|
};
|