ramips: use DT trigger for 2G WiFi on ASUS RT-AC51U

Like for the RT-AC54U, this uses a DT trigger for WiFi also at the
RT-AC51U. While at it, rename node and label to wifi2g.

Note that the 5g WiFi LED still isn't supported (see PR #3017 for
further details: https://github.com/openwrt/openwrt/pull/3017 )

Tested-by: Davide Fioravanti <pantanastyle@gmail.com>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler
2020-05-14 15:16:57 +02:00
parent 0b34a36da9
commit a1f0fd8cba
2 changed files with 8 additions and 8 deletions

View File

@@ -28,9 +28,10 @@
linux,default-trigger = "usbport";
};
wifi {
label = "rt-ac51u:blue:wifi";
wifi2g {
label = "rt-ac51u:blue:wifi2g";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
};
};