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";
+ };
+ };
+};