Skip to content
Snippets Groups Projects
Commit 1b0de19e authored by blogic's avatar blogic
Browse files

mpc85xx: Enable RFKill and USB Power GPIO Control for WDR4900v1


This patch adds the RFKill GPIO control switch and enables another GPIO to
control power supply to USB Ports by emulating an LED GPIO for WDR4900v1.

Signed-off-by: default avatarGuo Wei Lim <alphasparc@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46279 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 0e6c9bd9
No related branches found
No related tags found
No related merge requests found
......@@ -198,6 +198,11 @@
gpios = <&gpio0 4 1>; /* active low */
label = "tp-link:green:usb2";
};
usbpower {
gpios = <&gpio0 10 1>; /* active low */
label = "tp-link:usb:power";
};
};
buttons {
......@@ -208,6 +213,12 @@
gpios = <&gpio0 5 1>; /* active low */
linux,code = <0x198>; /* KEY_RESTART */
};
rfkill {
label = "RFKILL switch";
gpios = <&gpio0 11 1>; /* active low */
linux,code = <0xf7>; /* RFKill */
};
};
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment