[PATCH 1/2] powerpc/5200: Add Lite5200 on-board LEDs as devices

Anatolij Gustschin agust at denx.de
Tue Feb 12 08:53:45 EST 2013


On Fri,  8 Feb 2013 08:02:50 +0000
Grant Likely <grant.likely at secretlab.ca> wrote:

> The Lite5200 evaluation board has a number of debug LEDs that Linux
> doesn't know about yet. This change adds a gpio-leds stanza to the
> lite5200 device tree so that the correct driver can get hooked up.
> 
> Also, make use of the dtc labels feature to reduce the number of source
> lines required to add the gpio-controller property to the general
> purpose timer nodes. In addition, the required #gpio-cells properties
> are added to the common mpc5200b dtsi include file so that each board
> doesn't need to add them explicitly. This still doesn't enable gpio
> mode, 'gpio-controller' is required for that, but it means less work
> needs to be done by board ports.
> 
> Cc: Anatolij Gustschin <agust at denx.de>
> Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
> ---
>  arch/powerpc/boot/dts/lite5200b.dts |   23 +++++++++++++++++++----
>  arch/powerpc/boot/dts/mpc5200b.dtsi |   25 +++++++++++++++++--------
>  2 files changed, 36 insertions(+), 12 deletions(-)

Applied, thanks!

Anatolij


More information about the devicetree-discuss mailing list