ath79: add support for Compex WPJ531 (16M)
[openwrt/staging/dedeckeh.git] / target / linux / ath79 / dts / qca9533_tplink_cpe220-v3.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "qca9533_tplink_cpexxx.dtsi"
5
6 / {
7 compatible = "tplink,cpe220-v3", "qca,qca9533";
8 model = "TP-Link CPE220 v3";
9 };
10
11 &leds {
12 lan0 {
13 label = "tp-link:green:lan0";
14 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
15 };
16
17 lan1 {
18 label = "tp-link:green:lan1";
19 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
20 };
21 };
22
23 &eth1 {
24 status = "okay";
25
26 mtd-mac-address = <&info 0x8>;
27
28 gmac-config {
29 device = <&gmac>;
30 switch-phy-swap = <0>;
31 switch-only-mode = <1>;
32 };
33 };