summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/gpio/gpio_atmel.txt
blob: a7bcaec913bfc1cab6e90c95b5059144ed658405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
* Atmel GPIO controller (PIO)

Required properties:
- compatible: "atmel,at91rm9200-gpio"
- reg: Should contain GPIO controller registers location and length
- interrupts: Should be the port interrupt shared by all the pins.
- #gpio-cells: Should be two.  The first cell is the pin number and
  the second cell is used to specify optional parameters (currently
  unused).
- gpio-controller: Marks the device node as a GPIO controller.

Example:
	pioA: gpio@fffff200 {
		compatible = "atmel,at91rm9200-gpio";
		reg = <0xfffff200 0x100>;
		interrupts = <2 4>;
		#gpio-cells = <2>;
		gpio-controller;
	};