aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar7161_ubnt_routerstation-pro.dts
blob: 87ac9df1f0a2ba3d9a9b58e04d3fbeb4aef1be67 (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
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "ar7161_ubnt_routerstation.dtsi"

/ {
	compatible = "ubnt,routerstation-pro", "qca,ar7161";
	model = "Ubiquiti RouterStation Pro";
};

&mdio0 {
	status = "okay";

	phy0: ethernet-phy@0 {
		reg = <0>;
	};

	phy4: ethernet-phy@4 {
		reg = <4>;
	};
};

&eth0 {
	phy-mode = "rgmii";
	phy-handle = <&phy4>;
};

&eth1 {
	phy-mode = "rgmii";
	phy-handle = <&phy0>;
};