1ImgTec TZ1090 PDC GPIO Controller
2
3Required properties:
4- compatible: Compatible property value should be "img,tz1090-pdc-gpio".
5
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.
8
9- gpio-controller: Specifies that the node is a gpio controller.
10
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]
14      [PDC gpio number]
15      [gpio flags]>
16
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:
21      GPIO_ACTIVE_HIGH
22      GPIO_ACTIVE_LOW
23
24Optional properties:
25- gpio-ranges: Mapping to pin controller pins (as described in
26  Documentation/devicetree/bindings/gpio/gpio.txt)
27
28- interrupts: Individual syswake interrupts (other GPIOs cannot interrupt)
29
30
31Example:
32
33	pdc_gpios: gpio-controller@02006500 {
34		gpio-controller;
35		#gpio-cells = <2>;
36
37		compatible = "img,tz1090-pdc-gpio";
38		reg = <0x02006500 0x100>;
39
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>;
45	};
46