aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79')
-rw-r--r--target/linux/ath79/dts/ar9341_tplink_tl-wr841-v8.dts12
-rw-r--r--target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts12
2 files changed, 16 insertions, 8 deletions
diff --git a/target/linux/ath79/dts/ar9341_tplink_tl-wr841-v8.dts b/target/linux/ath79/dts/ar9341_tplink_tl-wr841-v8.dts
index ec89be5318..ccc0c195ca 100644
--- a/target/linux/ath79/dts/ar9341_tplink_tl-wr841-v8.dts
+++ b/target/linux/ath79/dts/ar9341_tplink_tl-wr841-v8.dts
@@ -22,9 +22,6 @@
compatible = "gpio-keys-polled";
poll-interval = <20>;
- pinctrl-names = "default";
- pinctrl-0 = <&jtag_disable_pins>;
-
reset {
label = "Reset";
linux,code = <KEY_RESTART>;
@@ -96,7 +93,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>;
+ };
};
&spi {
diff --git a/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts b/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts
index c7a251cbf1..e64a822078 100644
--- a/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts
+++ b/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts
@@ -22,9 +22,6 @@
compatible = "gpio-keys-polled";
poll-interval = <20>;
- pinctrl-names = "default";
- pinctrl-0 = <&jtag_disable_pins>;
-
reset {
label = "Reset";
linux,code = <KEY_RESTART>;
@@ -113,7 +110,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>;
+ };
};
&spi {