0001 Nintendo Wii (Hollywood) GPIO controller
0002
0003 Required properties:
0004 - compatible: "nintendo,hollywood-gpio"
0005 - reg: Physical base address and length of the controller's registers.
0006 - gpio-controller: Marks the device node as a GPIO controller.
0007 - #gpio-cells: Should be <2>. The first cell is the pin number and the
0008 second cell is used to specify optional parameters:
0009 - bit 0 specifies polarity (0 for normal, 1 for inverted).
0010
0011 Optional properties:
0012 - ngpios: see Documentation/devicetree/bindings/gpio/gpio.txt
0013 - interrupt-controller: Marks the device node as an interrupt controller.
0014 - #interrupt-cells: Should be two.
0015 - interrupts: Interrupt specifier for the controller's Broadway (PowerPC)
0016 interrupt.
0017
0018 Example:
0019
0020 GPIO: gpio@d8000c0 {
0021 #gpio-cells = <2>;
0022 compatible = "nintendo,hollywood-gpio";
0023 reg = <0x0d8000c0 0x40>;
0024 gpio-controller;
0025 ngpios = <24>;
0026 }