summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2018-02-09 13:07:31 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-04-01 00:47:40 +1100
commit80873a0b3a826bbd5db3c76601a38bfcaaa23c9a (patch)
treea4cc5c88ac7ac96bd84bf633f766392e3e64b1df
parent9693d5709f8e771c21114ebca59b11e61db9774c (diff)
downloadop-kernel-dev-80873a0b3a826bbd5db3c76601a38bfcaaa23c9a.zip
op-kernel-dev-80873a0b3a826bbd5db3c76601a38bfcaaa23c9a.tar.gz
powerpc/wii.dts: Add GPIO line names
These are the GPIO line names on a Nintendo Wii, as documented in: https://wiibrew.org/wiki/Hardware/Hollywood_GPIOs Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r--arch/powerpc/boot/dts/wii.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/wii.dts b/arch/powerpc/boot/dts/wii.dts
index aa40640..d709480 100644
--- a/arch/powerpc/boot/dts/wii.dts
+++ b/arch/powerpc/boot/dts/wii.dts
@@ -178,6 +178,14 @@
gpio-controller;
ngpios = <24>;
+ gpio-line-names =
+ "POWER", "SHUTDOWN", "FAN", "DC_DC",
+ "DI_SPIN", "SLOT_LED", "EJECT_BTN", "SLOT_IN",
+ "SENSOR_BAR", "DO_EJECT", "EEP_CS", "EEP_CLK",
+ "EEP_MOSI", "EEP_MISO", "AVE_SCL", "AVE_SDA",
+ "DEBUG0", "DEBUG1", "DEBUG2", "DEBUG3",
+ "DEBUG4", "DEBUG5", "DEBUG6", "DEBUG7";
+
/*
* This is commented out while a standard binding
* for i2c over gpio is defined.
OpenPOWER on IntegriCloud