135b21b6eSLinus WalleijGateworks PLD GPIO controller bindings
235b21b6eSLinus Walleij
335b21b6eSLinus WalleijThe GPIO controller should be a child node on an I2C bus,
435b21b6eSLinus Walleijsee: i2c/i2c.txt for details.
535b21b6eSLinus Walleij
635b21b6eSLinus WalleijRequired properties:
735b21b6eSLinus Walleij- compatible: Should be "gateworks,pld-gpio"
835b21b6eSLinus Walleij- reg: I2C slave address
935b21b6eSLinus Walleij- gpio-controller: Marks the device node as a GPIO controller.
1035b21b6eSLinus Walleij- #gpio-cells: Should be <2>. The first cell is the gpio number and
1135b21b6eSLinus Walleij  the second cell is used to specify optional parameters.
1235b21b6eSLinus Walleij
1335b21b6eSLinus WalleijExample:
1435b21b6eSLinus Walleij
1535b21b6eSLinus Walleijpld@56 {
1635b21b6eSLinus Walleij	compatible = "gateworks,pld-gpio";
1735b21b6eSLinus Walleij	reg = <0x56>;
1835b21b6eSLinus Walleij	gpio-controller;
1935b21b6eSLinus Walleij	#gpio-cells = <2>;
2035b21b6eSLinus Walleij};
21