162306a36Sopenharmony_ciGateworks PLD GPIO controller bindings
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciThe GPIO controller should be a child node on an I2C bus,
462306a36Sopenharmony_cisee: i2c/i2c.txt for details.
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciRequired properties:
762306a36Sopenharmony_ci- compatible: Should be "gateworks,pld-gpio"
862306a36Sopenharmony_ci- reg: I2C slave address
962306a36Sopenharmony_ci- gpio-controller: Marks the device node as a GPIO controller.
1062306a36Sopenharmony_ci- #gpio-cells: Should be <2>. The first cell is the gpio number and
1162306a36Sopenharmony_ci  the second cell is used to specify optional parameters.
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciExample:
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_cipld@56 {
1662306a36Sopenharmony_ci	compatible = "gateworks,pld-gpio";
1762306a36Sopenharmony_ci	reg = <0x56>;
1862306a36Sopenharmony_ci	gpio-controller;
1962306a36Sopenharmony_ci	#gpio-cells = <2>;
2062306a36Sopenharmony_ci};
21