Hi,
Just wanted to say thanks for posting this!
These could be useful related links:
Linux Kernel Documentation :: spi : spi-summaryDocumentation:Linux/GPIO - AVRFreaks WikiFor the Guruplug, consider also
Re-building the kernel and U-Boot - PlugWiki, which points to
Guruplug-patchset-2.6.33.2.tar.bz2; and in this archive, we can read in ./guruplug-patchset/0001-Kirkwood-Marvell-GuruPlug-support.patch:
diff --git a/arch/arm/mach-kirkwood/guruplug-setup.c b/arch/arm/mach-kirkwood/guruplug-setup.c
new file mode 100644
index 0000000..54d07c8
--- /dev/null
+++ b/arch/arm/mach-kirkwood/guruplug-setup.c
@@ -0,0 +1,131 @@
+/*
+ * arch/arm/mach-kirkwood/guruplug-setup.c
+ *
+ * Marvell GuruPlug Reference Board Setup
+ *
...[snip]
+static struct gpio_led guruplug_led_pins[] = {
+ {
+ .name = "guruplug:red:health",
+ .gpio = 46,
+ .active_low = 1,
+ },
+ {
+ .name = "guruplug:green:health",
+ .gpio = 47,
+ .active_low = 1,
+ },
+ {
+ .name = "guruplug:red:wmode",
+ .gpio = 48,
+ .active_low = 1,
+ },
+ {
+ .name = "guruplug:green:wmode",
+ .gpio = 49,
+ .active_low = 1,
+ },
+};
which is the definition of the LED pins...
Cheers!