[OpenWrt-Devel] Patch to enable RFKill and USB Power GPIO for tl-wdr4900v1

John Crispin blogic at openwrt.org
Tue Jul 7 07:01:03 EDT 2015


Hi,

the subject is missing the prefix and the Signed-off-by line is missing.
Please fix and resend.

	John

On 28/06/2015 07:45, Alpha Sparc wrote:
> Add dts patch to enable RFKill and USB Power GPIO Control
> 
> --- 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 */
> +        };
>      };
>  };
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list