소스 검색

ath79: TP-Link Archer C7 v4 swap usb port leds

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 <[email protected]>
David Santamaría Rogado 6 년 전
부모
커밋
34b10b468e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts

+ 2 - 2
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";
 		};