162306a36Sopenharmony_ciNintendo Wii (Hollywood) GPIO controller 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciRequired properties: 462306a36Sopenharmony_ci- compatible: "nintendo,hollywood-gpio" 562306a36Sopenharmony_ci- reg: Physical base address and length of the controller's registers. 662306a36Sopenharmony_ci- gpio-controller: Marks the device node as a GPIO controller. 762306a36Sopenharmony_ci- #gpio-cells: Should be <2>. The first cell is the pin number and the 862306a36Sopenharmony_ci second cell is used to specify optional parameters: 962306a36Sopenharmony_ci - bit 0 specifies polarity (0 for normal, 1 for inverted). 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ciOptional properties: 1262306a36Sopenharmony_ci- ngpios: see Documentation/devicetree/bindings/gpio/gpio.txt 1362306a36Sopenharmony_ci- interrupt-controller: Marks the device node as an interrupt controller. 1462306a36Sopenharmony_ci- #interrupt-cells: Should be two. 1562306a36Sopenharmony_ci- interrupts: Interrupt specifier for the controller's Broadway (PowerPC) 1662306a36Sopenharmony_ci interrupt. 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciExample: 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci GPIO: gpio@d8000c0 { 2162306a36Sopenharmony_ci #gpio-cells = <2>; 2262306a36Sopenharmony_ci compatible = "nintendo,hollywood-gpio"; 2362306a36Sopenharmony_ci reg = <0x0d8000c0 0x40>; 2462306a36Sopenharmony_ci gpio-controller; 2562306a36Sopenharmony_ci ngpios = <24>; 2662306a36Sopenharmony_ci } 27