]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: bcm2835: Add Raspberry Pi's ACT LED to DT
authorDaniel Mack <zonque@gmail.com>
Sun, 28 Apr 2013 20:49:52 +0000 (22:49 +0200)
committerStephen Warren <swarren@wwwdotorg.org>
Fri, 17 May 2013 02:29:48 +0000 (20:29 -0600)
commit805b4db8076d47a181032a87db8a732fc8d94596
tree8605864c547489d1a7a2cf9d3f8f92f6d142ec5e
parentf722406faae2d073cc1d01063d1123c35425939e
ARM: bcm2835: Add Raspberry Pi's ACT LED to DT

The Raspberry Pi board has one GPIO-controlled LED labeled "ACT". Add it
to the DT via the gpio-leds driver, so users can control it from
userspace. If CONFIG_LEDS_TRIGGER_HEARTBEAT is set, the LED will also
signal some sign of life.

The GPIO circuitry is low-active. And as the bootloader may decide to
switch the LED on at boot time, the default state is 'keep'.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
arch/arm/boot/dts/bcm2835-rpi-b.dts