Merge branch 'drm-fixes-4.19' of git://people.freedesktop.org/~agd5f/linux into drm...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / gpio / nintendo,hollywood-gpio.txt
1 Nintendo Wii (Hollywood) GPIO controller
2
3 Required properties:
4 - compatible: "nintendo,hollywood-gpio"
5 - reg: Physical base address and length of the controller's registers.
6 - gpio-controller: Marks the device node as a GPIO controller.
7 - #gpio-cells: Should be <2>. The first cell is the pin number and the
8   second cell is used to specify optional parameters:
9    - bit 0 specifies polarity (0 for normal, 1 for inverted).
10
11 Optional properties:
12 - ngpios: see Documentation/devicetree/bindings/gpio/gpio.txt
13 - interrupt-controller: Marks the device node as an interrupt controller.
14 - #interrupt-cells: Should be two.
15 - interrupts: Interrupt specifier for the controller's Broadway (PowerPC)
16   interrupt.
17
18 Example:
19
20         GPIO: gpio@d8000c0 {
21                 #gpio-cells = <2>;
22                 compatible = "nintendo,hollywood-gpio";
23                 reg = <0x0d8000c0 0x40>;
24                 gpio-controller;
25                 ngpios = <24>;
26         }