mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-04 09:31:26 +02:00
ath79: ar7161: swap phy0 and phy1
For whatever reason, in the transition from ar71xx to ath79, the second interface ends up as phy0. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/22705 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
eba6fa859e
commit
c38d4da72c
@ -24,13 +24,13 @@
|
||||
wlan5g {
|
||||
label = "green:wifi5g";
|
||||
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "phy1tpt";
|
||||
linux,default-trigger = "phy0tpt";
|
||||
};
|
||||
|
||||
wlan2g {
|
||||
label = "green:wifi2g";
|
||||
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "phy0tpt";
|
||||
linux,default-trigger = "phy1tpt";
|
||||
};
|
||||
|
||||
led_status_green: status_green {
|
||||
|
||||
@ -41,13 +41,13 @@
|
||||
band2g_g {
|
||||
label = "green:band2g";
|
||||
gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "phy0tpt";
|
||||
linux,default-trigger = "phy1tpt";
|
||||
};
|
||||
|
||||
band5g_g {
|
||||
label = "green:band5g";
|
||||
gpios = <&ath9k1 1 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "phy1tpt";
|
||||
linux,default-trigger = "phy0tpt";
|
||||
};
|
||||
|
||||
router {
|
||||
|
||||
@ -69,25 +69,25 @@
|
||||
wlan2g-green {
|
||||
label = "green:wlan2g";
|
||||
gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "phy0tpt";
|
||||
linux,default-trigger = "phy1tpt";
|
||||
};
|
||||
|
||||
wlan2g-yellow {
|
||||
label = "yellow:wlan2g";
|
||||
gpios = <&ath9k0 3 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "phy0assoc";
|
||||
linux,default-trigger = "phy1assoc";
|
||||
};
|
||||
|
||||
wlan5g-green {
|
||||
label = "green:wlan5g";
|
||||
gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "phy1tpt";
|
||||
linux,default-trigger = "phy0tpt";
|
||||
};
|
||||
|
||||
wlan5g-yellow {
|
||||
label = "yellow:wlan5g";
|
||||
gpios = <&ath9k1 3 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "phy1assoc";
|
||||
linux,default-trigger = "phy0assoc";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@ -67,12 +67,12 @@
|
||||
wlan2g {
|
||||
label = "green:wlan2g";
|
||||
gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "phy0tpt";
|
||||
linux,default-trigger = "phy1tpt";
|
||||
};
|
||||
wlan5g {
|
||||
label = "blue:wlan5g";
|
||||
gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "phy1tpt";
|
||||
linux,default-trigger = "phy0tpt";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@ -57,25 +57,25 @@
|
||||
wlan2g-green {
|
||||
label = "green:wlan2g";
|
||||
gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "phy0assoc";
|
||||
linux,default-trigger = "phy1assoc";
|
||||
};
|
||||
|
||||
wlan2g-yellow {
|
||||
label = "yellow:wlan2g";
|
||||
gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "phy0tpt";
|
||||
linux,default-trigger = "phy1tpt";
|
||||
};
|
||||
|
||||
wlan5g-green {
|
||||
label = "green:wlan5g";
|
||||
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "phy1assoc";
|
||||
linux,default-trigger = "phy0assoc";
|
||||
};
|
||||
|
||||
wlan5g-yellow {
|
||||
label = "yellow:wlan5g";
|
||||
gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "phy1tpt";
|
||||
linux,default-trigger = "phy0tpt";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user