summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt
blob: 1e34cfe5ebea6aa487c5c2037fbd3d662b9c379b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
* Marvell PXA GPIO controller

Required properties:
- compatible : Should be "mrvl,pxa-gpio" or "mrvl,mmp-gpio"
- reg : Address and length of the register set for the device
- interrupts : Should be the port interrupt shared by all gpio pins, if
- interrupt-name : Should be the name of irq resource.
  one number.
- gpio-controller : Marks the device node as a gpio controller.
- #gpio-cells : Should be one.  It is the pin number.

Example:

	gpio: gpio@d4019000 {
		compatible = "mrvl,mmp-gpio", "mrvl,pxa-gpio";
		reg = <0xd4019000 0x1000>;
		interrupts = <49>, <17>, <18>;
		interrupt-name = "gpio_mux", "gpio0", "gpio1";
		gpio-controller;
		#gpio-cells = <1>;
		interrupt-controller;
		#interrupt-cells = <1>;
      };