[ARM] orion5x: D-link DNS-323 rev. B1 power-off
commitcf11052a95275c942c1f45ea5fde43ce45bbba6d
authorErik Benada <erikbenada@yahoo.ca>
Sun, 24 Jan 2010 21:43:04 +0000 (24 13:43 -0800)
committerNicolas Pitre <nico@fluxnic.net>
Mon, 25 Jan 2010 03:17:51 +0000 (24 22:17 -0500)
treed3b3ba442582b1b9b0206f8a335b51c0486bb72d
parente9cfa167b6b598a364c53459bee93b508f073c65
[ARM] orion5x: D-link DNS-323 rev. B1 power-off

This patch fixes power LED blinking and power-off on DNS-323 rev. B1.

GPIO pin 3 has to be set to 1 to stop power LED blinking and to allow the LED to be controlled via leds-gpio. This pin has to be also set to 1 for power-off to work.
To power-off the rev. B1 machine, pin 8 has to be set to 1 and then set to 0 to do actual power-off.

Tested on my DNS-323 rev. B1

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