[ARM] orion5x: D-link DNS-323 revision A1 power LED
commitb2a731aa5cbca7e0252da75e16de7ae5feb1313a
authorLaurie Bradshaw <bradshaw.laurie@googlemail.com>
Wed, 10 Feb 2010 16:10:43 +0000 (10 16:10 +0000)
committerNicolas Pitre <nico@fluxnic.net>
Wed, 10 Feb 2010 16:31:30 +0000 (10 11:31 -0500)
treee4a3042aba055271c4599caec5058cb7b7942a94
parent1afeea84bd821e9a8c1c6606ba677bc229dd57de
[ARM] orion5x: D-link DNS-323 revision A1 power LED

This patch fixes the power LED on DNS-323 revision A1, and adds timer
support for (hopefully) both A1 and B1 revisions.

Power LED on revision A1 is active low and also requires GPIO 4 to be
low to work.

Tested on my DNS-323 revision A1.

I have set the default trigger to timer as that replicates the
behaviour of the original firmware, userspace can change the trigger
at the end of the boot process providing a useful indication that
booting has completed.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
arch/arm/mach-orion5x/dns323-setup.c