Re: [LEDE-DEV] [PATCH 1/4] brcm63xx: CPVA642+: fix LEDs and buttons at DTS
2017-02-17 15:06 GMT+01:00 Jonas Gorski: > Hi, > > On 14 February 2017 at 16:36, Daniel Gonzalez Cabanelas > wrote: >> Leds are wrong and a button is missing, fix them. >> >> Signed-off-by: Daniel Gonzalez Cabanelas >> diff --git a/target/linux/brcm63xx/dts/cpva502plus.dts >> b/target/linux/brcm63xx/dts/cpva502plus.dts >> index 6d9b5d3..3ddc459 100644 >> --- a/target/linux/brcm63xx/dts/cpva502plus.dts >> +++ b/target/linux/brcm63xx/dts/cpva502plus.dts > > Subject says CPVA642+, but this is CPVA502+ - so which one is it? > (also applies to the other 3 patches). > I was thinking in chickens when I wrote the title of messages. It's for the Telsey CPVA502+ Regards. ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev
Re: [LEDE-DEV] [PATCH 1/4] brcm63xx: CPVA642+: fix LEDs and buttons at DTS
Hi, On 14 February 2017 at 16:36, Daniel Gonzalez Cabanelaswrote: > Leds are wrong and a button is missing, fix them. > > Signed-off-by: Daniel Gonzalez Cabanelas > diff --git a/target/linux/brcm63xx/dts/cpva502plus.dts > b/target/linux/brcm63xx/dts/cpva502plus.dts > index 6d9b5d3..3ddc459 100644 > --- a/target/linux/brcm63xx/dts/cpva502plus.dts > +++ b/target/linux/brcm63xx/dts/cpva502plus.dts Subject says CPVA642+, but this is CPVA502+ - so which one is it? (also applies to the other 3 patches). Regards Jonas ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev
[LEDE-DEV] [PATCH 1/4] brcm63xx: CPVA642+: fix LEDs and buttons at DTS
Leds are wrong and a button is missing, fix them. Signed-off-by: Daniel Gonzalez Cabanelasdiff --git a/target/linux/brcm63xx/dts/cpva502plus.dts b/target/linux/brcm63xx/dts/cpva502plus.dts index 6d9b5d3..3ddc459 100644 --- a/target/linux/brcm63xx/dts/cpva502plus.dts +++ b/target/linux/brcm63xx/dts/cpva502plus.dts @@ -12,17 +12,31 @@ bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; }; + gpio-keys-polled { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + debounce-interval = <60>; + + reset { + label = "reset"; + gpios = < 4 1>; + linux,code = ; + }; + }; + gpio-leds { compatible = "gpio-leds"; - power_green { + phone_green { label = "CPVA502+:green:phone"; gpios = < 0 1>; }; - status { + link_amber { label = "CPVA502+:amber:link"; - gpios = < 1 1>; + gpios = < 5 1>; }; }; }; ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev