a3e65c6468972af90161680aaf1937c7db19db9d
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7620a_dlink_dwr-960.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7620a_dlink_dwr-96x.dtsi"
4
5 / {
6 compatible = "dlink,dwr-960", "ralink,mt7620a-soc";
7 model = "D-Link DWR-960";
8 };
9
10 &ethernet {
11 pinctrl-names = "default";
12 pinctrl-0 = <&rgmii2_pins &mdio_pins>;
13
14 mediatek,portmap = "wllll";
15
16 port@5 {
17 status = "okay";
18 phy-mode = "rgmii-txid";
19 phy-handle = <&phy7>;
20 };
21
22 mdio-bus {
23 status = "okay";
24
25 phy7: ethernet-phy@7 {
26 reg = <7>;
27 phy-mode = "rgmii-id";
28 };
29 };
30 };
31
32 &wifi {
33 nvmem-cells = <&eeprom_config_e08e>, <&macaddr_config_e50e>;
34 nvmem-cell-names = "eeprom", "mac-address";
35 mac-address-increment = <2>;
36 };