xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/gpio/cirrus,clps711x-mctrl-gpio.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* ARM Cirrus Logic CLPS711X SYSFLG1 MCTRL GPIOs
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: Should contain "cirrus,ep7209-mctrl-gpio".
5*4882a593Smuzhiyun- gpio-controller: Marks the device node as a gpio controller.
6*4882a593Smuzhiyun- #gpio-cells: Should be two. The first cell is the pin number and
7*4882a593Smuzhiyun  the second cell is used to specify the gpio polarity:
8*4882a593Smuzhiyun    0 = Active high,
9*4882a593Smuzhiyun    1 = Active low.
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunExample:
12*4882a593Smuzhiyun	sysgpio: sysgpio {
13*4882a593Smuzhiyun		compatible = "cirrus,ep7312-mctrl-gpio",
14*4882a593Smuzhiyun			     "cirrus,ep7209-mctrl-gpio";
15*4882a593Smuzhiyun		gpio-controller;
16*4882a593Smuzhiyun		#gpio-cells = <2>;
17*4882a593Smuzhiyun	};
18