summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/gpio/gpio-ts4800.txt
blob: 92ea9c8f6399e2c67bd7927a37e7672dc18e5602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
* TS-4800 FPGA's GPIO controller bindings

Required properties:
- compatible: Must be "technologic,ts4800-gpio".
- #gpio-cells: Should be two. The first cell is the pin number.
- reg: Physical base address of the controller and length
       of memory mapped region.

Optional property:
- ngpios: See "gpio.txt"

Example:

gpio1: gpio {
	compatible = "technologic,ts4800-gpio";
	reg = <0x10020 0x6>;
	ngpios = <8>;
	gpio-controller;
	#gpio-cells = <2>;
};