4900e8db66c4b75fc0122082cf083a51a07662b7
[openwrt/staging/jow.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 &switch0 {
11 ports {
12 port@0 {
13 status = "okay";
14 label = "wan";
15 nvmem-cells = <&macaddr_factory_e000>;
16 nvmem-cell-names = "mac-address";
17 mac-address-increment = <1>;
18 };
19
20 port@2 {
21 status = "okay";
22 label = "lan1";
23 };
24
25 port@3 {
26 status = "okay";
27 label = "lan2";
28 };
29 };
30 };
31
32 &factory {
33 compatible = "nvmem-cells";
34 #address-cells = <1>;
35 #size-cells = <1>;
36
37 macaddr_factory_e000: macaddr@e000 {
38 reg = <0xe000 0x6>;
39 };
40 };