diff options
author | John Crispin <blogic@openwrt.org> | 2015-07-09 06:56:45 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-07-09 06:56:45 +0000 |
commit | f46f0b5eceb4af894768ad67a0a92654a77d7ebf (patch) | |
tree | e4f490da12e7950beaba22b9fbb8a35e898e2714 /target/linux/mpc85xx/files/arch/powerpc | |
parent | 0c070e1e03296686dbb2f09bd305559c789f2e35 (diff) | |
download | master-187ad058-f46f0b5eceb4af894768ad67a0a92654a77d7ebf.tar.gz master-187ad058-f46f0b5eceb4af894768ad67a0a92654a77d7ebf.tar.bz2 master-187ad058-f46f0b5eceb4af894768ad67a0a92654a77d7ebf.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46279 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mpc85xx/files/arch/powerpc')
-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 */ + }; }; }; |