diff options
author | John Crispin <john@openwrt.org> | 2015-07-09 06:56:45 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-07-09 06:56:45 +0000 |
commit | 71db293eabb6035b84614b033633c2a7f74d07fc (patch) | |
tree | 0c97a13bf9cf671708ec2d08e48d0cba045c6412 /target | |
parent | 4587e39fe74ba8fa5e4b5c711b2b912875511ed9 (diff) | |
download | upstream-71db293eabb6035b84614b033633c2a7f74d07fc.tar.gz upstream-71db293eabb6035b84614b033633c2a7f74d07fc.tar.bz2 upstream-71db293eabb6035b84614b033633c2a7f74d07fc.zip |
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: Guo Wei Lim <alphasparc@gmail.com>
SVN-Revision: 46279
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts index 2beb39cf1f..148c7a2fe3 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts @@ -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 */ + }; }; }; |