]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/5200: Add Lite5200 on-board LEDs as devices
authorGrant Likely <grant.likely@secretlab.ca>
Fri, 8 Feb 2013 08:02:50 +0000 (08:02 +0000)
committerAnatolij Gustschin <agust@denx.de>
Mon, 11 Feb 2013 21:24:53 +0000 (22:24 +0100)
commit189400219ff8d67b57393e4dec007d5bf76f1454
tree18d0c05540382d1856c1ef93fb521ab621748fe6
parent6e77d85bfa0291b3d26d25a91f1f4429ab4f1356
powerpc/5200: Add Lite5200 on-board LEDs as devices

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@denx.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/boot/dts/lite5200b.dts
arch/powerpc/boot/dts/mpc5200b.dtsi