[OpenWrt-Devel] [PATCH] brcm63xx: HG553 buttons support

Jonas Gorski jogo at openwrt.org
Wed Jul 15 06:23:10 EDT 2015


On Wed, Jul 15, 2015 at 7:59 AM, Rafał Miłecki <zajec5 at gmail.com> wrote:
> On 15 July 2015 at 07:05, Cezary Jackiewicz <cezary.jackiewicz at gmail.com> wrote:
>> @@ -6,6 +6,25 @@
>>         model = "Huawei EchoLife HG553";
>>         compatible = "huawei,hg553", "brcm,bcm6358";
>>
>> +       gpio-keys-polled {
>> +               compatible = "gpio-keys-polled";
>> +               #address-cells = <1>;
>> +               #size-cells = <0>;
>> +               poll-interval = <20>;
>> +               debounce-interval = <60>;
>> +
>> +               rfkill {
>> +                       label = "rfkill";
>> +                       gpios = <&gpio0 9 1>;
>> +                       linux,code = <247>;
>> +               };
>> +               reset {
>> +                       label = "reset";
>> +                       gpios = <&gpio1 5 1>;
>> +                       linux,code = <0x198>;
>> +               };
>> +       };
>
> I really think you bcm63xx guys should start using KEY_* at some point :)

The dts files are built out of tree, so we currently don't have access
to dt-includes.


Jonas
_______________________________________________
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