Author: blogic Date: 2015-07-09 08:56:45 +0200 (Thu, 09 Jul 2015) New Revision: 46279
Modified: trunk/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts Log: 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 <[email protected]> Modified: trunk/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts =================================================================== --- trunk/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts 2015-07-09 06:09:50 UTC (rev 46278) +++ trunk/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts 2015-07-09 06:56:45 UTC (rev 46279) @@ -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 */ + }; }; }; _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
