aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620a_dlink_dwr-960.dts
blob: 3de9533edc7bff90107245744816277829e7c216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// 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 {
	mediatek,mtd-eeprom = <&config 0xe08e>;
};