xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/gpio/gpio-zevio.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunZevio GPIO controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: Should be "lsi,zevio-gpio"
5*4882a593Smuzhiyun- reg: Address and length of the register set for the device
6*4882a593Smuzhiyun- #gpio-cells: Should be two. The first cell is the pin number and the
7*4882a593Smuzhiyun  second cell is used to specify optional parameters (currently unused).
8*4882a593Smuzhiyun- gpio-controller: Marks the device node as a GPIO controller.
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunExample:
11*4882a593Smuzhiyun	gpio: gpio@90000000 {
12*4882a593Smuzhiyun		compatible = "lsi,zevio-gpio";
13*4882a593Smuzhiyun		reg = <0x90000000 0x1000>;
14*4882a593Smuzhiyun		gpio-controller;
15*4882a593Smuzhiyun		#gpio-cells = <2>;
16*4882a593Smuzhiyun	};
17