dabc1a3bd340184fc54704e329ba7c50d8b9e7ff
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_asiarf_ap7621-nv1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7621_asiarf_ap7621.dtsi"
4
5 / {
6 compatible = "asiarf,ap7621-nv1", "mediatek,mt7621-soc";
7 model = "AsiaRF AP7621-NV1";
8 };
9
10 &gmac1 {
11 status = "okay";
12 label = "wan";
13 phy-handle = <&ethphy0>;
14
15 nvmem-cells = <&macaddr_factory_e000>;
16 nvmem-cell-names = "mac-address";
17 mac-address-increment = <1>;
18 };
19
20 &mdio {
21 ethphy0: ethernet-phy@0 {
22 reg = <0>;
23 };
24 };
25
26 &switch0 {
27 ports {
28 port@2 {
29 status = "okay";
30 label = "lan1";
31 };
32
33 port@3 {
34 status = "okay";
35 label = "lan2";
36 };
37 };
38 };