// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;

#include "qca9533_tplink_cpexxx.dtsi"

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

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

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

&eth1 {
	status = "okay";

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

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