18c2ecf20Sopenharmony_ciGateworks PLD GPIO controller bindings
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThe GPIO controller should be a child node on an I2C bus,
48c2ecf20Sopenharmony_cisee: i2c/i2c.txt for details.
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciRequired properties:
78c2ecf20Sopenharmony_ci- compatible: Should be "gateworks,pld-gpio"
88c2ecf20Sopenharmony_ci- reg: I2C slave address
98c2ecf20Sopenharmony_ci- gpio-controller: Marks the device node as a GPIO controller.
108c2ecf20Sopenharmony_ci- #gpio-cells: Should be <2>. The first cell is the gpio number and
118c2ecf20Sopenharmony_ci  the second cell is used to specify optional parameters.
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciExample:
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_cipld@56 {
168c2ecf20Sopenharmony_ci	compatible = "gateworks,pld-gpio";
178c2ecf20Sopenharmony_ci	reg = <0x56>;
188c2ecf20Sopenharmony_ci	gpio-controller;
198c2ecf20Sopenharmony_ci	#gpio-cells = <2>;
208c2ecf20Sopenharmony_ci};
21