aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/ath79/dts/ar9341_tplink.dtsi12
1 files changed, 8 insertions, 4 deletions
diff --git a/target/linux/ath79/dts/ar9341_tplink.dtsi b/target/linux/ath79/dts/ar9341_tplink.dtsi
index 0a950bd1a6..6bd7c3409b 100644
--- a/target/linux/ath79/dts/ar9341_tplink.dtsi
+++ b/target/linux/ath79/dts/ar9341_tplink.dtsi
@@ -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 {