aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9533_tplink_cpe220-v3.dts
blob: 1d8098944a1af8bbf34a1e69bd87fd4ca31e6a78 (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 "qca9533_tplink_cpexxx.dtsi"

/ {
	compatible = "tplink,cpe220-v3", "qca,qca9533";
	model = "TP-Link CPE220 v3";
};

&leds {
	lan0 {
		label = "green:lan0";
		gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
	};

	lan1 {
		label = "green:lan1";
		gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
	};
};

&eth1 {
	mtd-mac-address = <&info 0x8>;

	gmac-config {
		device = <&gmac>;
		switch-phy-swap = <0>;
		switch-only-mode = <1>;
	};
};