1 ImgTec TZ1090 PDC GPIO Controller
4 - compatible: Compatible property value should be "img,tz1090-pdc-gpio".
6 - reg: Physical base address of the controller and length of memory mapped
7 region. This starts at and cover the SOC_GPIO_CONTROL registers.
9 - gpio-controller: Specifies that the node is a gpio controller.
11 - #gpio-cells: Should be 2. The syntax of the gpio specifier used by client
12 nodes should have the following values.
13 <[phandle of the gpio controller node]
17 Values for gpio specifier:
18 - GPIO number: a value in the range 0 to 6.
19 - GPIO flags: bit field of flags, as defined in <dt-bindings/gpio/gpio.h>.
20 Only the following flags are supported:
25 - gpio-ranges: Mapping to pin controller pins (as described in
26 Documentation/devicetree/bindings/gpio/gpio.txt)
28 - interrupts: Individual syswake interrupts (other GPIOs cannot interrupt)
33 pdc_gpios: gpio-controller@02006500 {
37 compatible = "img,tz1090-pdc-gpio";
38 reg = <0x02006500 0x100>;
40 interrupt-parent = <&pdc>;
41 interrupts = <8 IRQ_TYPE_NONE>, /* Syswake 0 */
42 <9 IRQ_TYPE_NONE>, /* Syswake 1 */
43 <10 IRQ_TYPE_NONE>; /* Syswake 2 */
44 gpio-ranges = <&pdc_pinctrl 0 0 7>;