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
This commit is contained in:
parent
4587e39fe7
commit
71db293eab
1 changed files with 11 additions and 0 deletions
|
@ -198,6 +198,11 @@
|
||||||
gpios = <&gpio0 4 1>; /* active low */
|
gpios = <&gpio0 4 1>; /* active low */
|
||||||
label = "tp-link:green:usb2";
|
label = "tp-link:green:usb2";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
usbpower {
|
||||||
|
gpios = <&gpio0 10 1>; /* active low */
|
||||||
|
label = "tp-link:usb:power";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
buttons {
|
buttons {
|
||||||
|
@ -208,6 +213,12 @@
|
||||||
gpios = <&gpio0 5 1>; /* active low */
|
gpios = <&gpio0 5 1>; /* active low */
|
||||||
linux,code = <0x198>; /* KEY_RESTART */
|
linux,code = <0x198>; /* KEY_RESTART */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
rfkill {
|
||||||
|
label = "RFKILL switch";
|
||||||
|
gpios = <&gpio0 11 1>; /* active low */
|
||||||
|
linux,code = <0xf7>; /* RFKill */
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue