openwrt/target/linux/ramips/dts/mt7620a_dlink_dwr-960.dts
Rosen Penev 458cb2cd6b
ramips: mt7620a: use mac-base
mac-address-increment is deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-11-26 00:15:58 +01:00

36 lines
606 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "mt7620a_dlink_dwr-96x.dtsi"
/ {
compatible = "dlink,dwr-960", "ralink,mt7620a-soc";
model = "D-Link DWR-960";
};
&ethernet {
pinctrl-names = "default";
pinctrl-0 = <&rgmii2_pins &mdio_pins>;
mediatek,portmap = "wllll";
port@5 {
status = "okay";
phy-mode = "rgmii-txid";
phy-handle = <&phy7>;
};
mdio-bus {
status = "okay";
phy7: ethernet-phy@7 {
reg = <7>;
phy-mode = "rgmii-id";
};
};
};
&wifi {
nvmem-cells = <&eeprom_config_e08e>, <&macaddr_config_e50e 2>;
nvmem-cell-names = "eeprom", "mac-address";
};