From 34b10b468e0999f1739931ae8faf7e8e1002c2e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Santamar=C3=ADa=20Rogado?= <howl.nsp@gmail.com>
Date: Sun, 24 Feb 2019 16:28:23 +0100
Subject: [PATCH] ath79: TP-Link Archer C7 v4 swap usb port leds
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

USB 1 triggers usb2 led and USB 2 triggers usb1.
Lower LED is usb1 and upper LED usb2.

Signed-off-by: David Santamaría Rogado <howl.nsp@gmail.com>
---
 target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts
index 5a25ce3f1eb..94411f21161 100644
--- a/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts
@@ -69,14 +69,14 @@
 		usb1 {
 			label = "tp-link:green:usb1";
 			gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
-			trigger-sources = <&hub_port0>;
+			trigger-sources = <&hub_port1>;
 			linux,default-trigger = "usbport";
 		};
 
 		usb2 {
 			label = "tp-link:green:usb2";
 			gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
-			trigger-sources = <&hub_port1>;
+			trigger-sources = <&hub_port0>;
 			linux,default-trigger = "usbport";
 		};
 
-- 
GitLab