18c2ecf20Sopenharmony_ciNintendo Wii (Hollywood) GPIO controller 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible: "nintendo,hollywood-gpio" 58c2ecf20Sopenharmony_ci- reg: Physical base address and length of the controller's registers. 68c2ecf20Sopenharmony_ci- gpio-controller: Marks the device node as a GPIO controller. 78c2ecf20Sopenharmony_ci- #gpio-cells: Should be <2>. The first cell is the pin number and the 88c2ecf20Sopenharmony_ci second cell is used to specify optional parameters: 98c2ecf20Sopenharmony_ci - bit 0 specifies polarity (0 for normal, 1 for inverted). 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ciOptional properties: 128c2ecf20Sopenharmony_ci- ngpios: see Documentation/devicetree/bindings/gpio/gpio.txt 138c2ecf20Sopenharmony_ci- interrupt-controller: Marks the device node as an interrupt controller. 148c2ecf20Sopenharmony_ci- #interrupt-cells: Should be two. 158c2ecf20Sopenharmony_ci- interrupts: Interrupt specifier for the controller's Broadway (PowerPC) 168c2ecf20Sopenharmony_ci interrupt. 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ciExample: 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci GPIO: gpio@d8000c0 { 218c2ecf20Sopenharmony_ci #gpio-cells = <2>; 228c2ecf20Sopenharmony_ci compatible = "nintendo,hollywood-gpio"; 238c2ecf20Sopenharmony_ci reg = <0x0d8000c0 0x40>; 248c2ecf20Sopenharmony_ci gpio-controller; 258c2ecf20Sopenharmony_ci ngpios = <24>; 268c2ecf20Sopenharmony_ci } 27