ramips: add support for Sercomm CPJ routers
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_asiarf_ap7621-001.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-001", "mediatek,mt7621-soc";
7 model = "AsiaRF AP7621-001";
8 };
9
10 &gmac1 {
11 status = "okay";
12 label = "wan";
13 phy-handle = <&ethphy4>;
14
15 nvmem-cells = <&macaddr_factory_e000>;
16 nvmem-cell-names = "mac-address";
17 mac-address-increment = <1>;
18 };
19
20 &mdio {
21 ethphy4: ethernet-phy@4 {
22 reg = <4>;
23 };
24 };
25
26 &switch0 {
27 ports {
28 port@0 {
29 status = "okay";
30 label = "lan";
31 };
32 };
33 };