diff options
author | Aleksandr V. Piskunov <aleksandr.v.piskunov@gmail.com> | 2018-07-01 16:57:22 +0300 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-07-04 01:20:03 +0200 |
commit | 63c9081c775f1829a5511c055ba44c61ea1ee56e (patch) | |
tree | 95688aeed5e127d264f23fe72fa42cf5abec74d1 /target/linux/ath79 | |
parent | 31aa62c5ecebea66d162766e450df5cf742c5b58 (diff) | |
download | upstream-63c9081c775f1829a5511c055ba44c61ea1ee56e.tar.gz upstream-63c9081c775f1829a5511c055ba44c61ea1ee56e.tar.bz2 upstream-63c9081c775f1829a5511c055ba44c61ea1ee56e.zip |
ath79: swap TP-Link Archer C7 v2 USB port LED and GPIO names
TP-Link Archer C7 v2 USB port LED and GPIO names are in incorrect order,
i.e. in order to match actual user visible labels, usb1 should be usb2,
and vice versa.
This patch swaps LED and GPIO power control node names.
Signed-off-by: Aleksandr V. Piskunov <aleksandr.v.piskunov@gmail.com>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r-- | target/linux/ath79/dts/qca9558_tl-archer-c7.dtsi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ath79/dts/qca9558_tl-archer-c7.dtsi b/target/linux/ath79/dts/qca9558_tl-archer-c7.dtsi index 36520898bf..3be8786897 100644 --- a/target/linux/ath79/dts/qca9558_tl-archer-c7.dtsi +++ b/target/linux/ath79/dts/qca9558_tl-archer-c7.dtsi @@ -26,17 +26,17 @@ usb1 { label = "tp-link:green:usb1"; - gpios = <&gpio 18 GPIO_ACTIVE_LOW>; + gpios = <&gpio 19 GPIO_ACTIVE_LOW>; default-state = "off"; - trigger-sources = <&hub_port0>; + trigger-sources = <&hub_port1>; linux,default-trigger = "usbport"; }; usb2 { label = "tp-link:green:usb2"; - gpios = <&gpio 19 GPIO_ACTIVE_LOW>; + gpios = <&gpio 18 GPIO_ACTIVE_LOW>; default-state = "off"; - trigger-sources = <&hub_port1>; + trigger-sources = <&hub_port0>; linux,default-trigger = "usbport"; }; @@ -87,13 +87,13 @@ gpio_usb1_power { gpio-export,name = "tp-link:power:usb1"; gpio-export,output = <1>; - gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; + gpios = <&gpio 21 GPIO_ACTIVE_HIGH>; }; gpio_usb2_power { gpio-export,name = "tp-link:power:usb2"; gpio-export,output = <1>; - gpios = <&gpio 21 GPIO_ACTIVE_HIGH>; + gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; }; }; |