summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/gpio/gateworks,pld-gpio.txt
blob: d543fd1b8b23e866a6a43aa93e5c5d2f860a5c54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Gateworks PLD GPIO controller bindings

The GPIO controller should be a child node on an I2C bus.

Required properties:
- compatible: Should be "gateworks,pld-gpio"
- reg: I2C slave address
- gpio-controller: Marks the device node as a GPIO controller.
- #gpio-cells: Should be <2>. The first cell is the gpio number and
  the second cell is used to specify optional parameters.

Example:

pld@56 {
	compatible = "gateworks,pld-gpio";
	reg = <0x56>;
	gpio-controller;
	#gpio-cells = <2>;
};