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

#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>;
};