Commit 18c95c9d authored by Adrian Schmutzler's avatar Adrian Schmutzler
Browse files

ath79: add gpio4 pinmux on TL-WR841N/ND v8, WR842N v2, MR3420 v2

This adds a pinmux to the shared DTSI for TP-Link TL-WR841N/ND v8,
TL-WR842N v2 and TL-MR3420 v2. It is supposed to be the equivalent

/* config gpio4 as normal gpio function */

This allows to enable USB power on these devices.

While at it, move the jtag_disable_pins to &gpio node and remove the
redundant status=okay there.

Tested on TP-Link TL-WR842N v2.

Fixes: FS#2753
Signed-off-by: default avatarAdrian Schmutzler <>
Tested-by: default avatarArmin Fuerst <>
parent dc145de4
......@@ -18,9 +18,6 @@
keys: keys {
compatible = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins>;
rfkill {
label = "WiFi";
linux,code = <KEY_RFKILL>;
......@@ -85,7 +82,14 @@
&gpio {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins &pmx_usb_power>;
&pinmux {
pmx_usb_power: usb_power {
pinctrl-single,bits = <0x4 0x0 0xff>;
&eth0 {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment