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