OSDN Git Service

powerpc/wii.dts: Add GPIO line names
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Fri, 9 Feb 2018 12:07:31 +0000 (13:07 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 31 Mar 2018 13:47:40 +0000 (00:47 +1100)
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>
arch/powerpc/boot/dts/wii.dts

index aa40640..d709480 100644 (file)
                        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.