ramips: mt7621-dts: describe switch PHYs and adjust PHY muxing
[openwrt/staging/stintel.git] / target / linux / ramips / dts / mt7621_ubnt_edgerouter-x.dts
1 #include "mt7621_ubnt_edgerouter-x.dtsi"
2
3 / {
4 model = "Ubiquiti EdgeRouter X";
5 compatible = "ubnt,edgerouter-x", "mediatek,mt7621-soc";
6 };
7
8 &gmac1 {
9 status = "okay";
10 label = "eth0";
11 phy-handle = <&ethphy0>;
12
13 nvmem-cells = <&macaddr_factory_22 0>;
14 nvmem-cell-names = "mac-address";
15 };
16
17 &ethphy0 {
18 /delete-property/ interrupts;
19 };
20
21 &switch0 {
22 ports {
23 port@0 {
24 status = "disabled";
25 };
26 };
27 };