xref: /freebsd/sys/contrib/device-tree/Bindings/gpio/gpio-max77620.txt (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
1GPIO driver for MAX77620 Power management IC from Maxim Semiconductor.
2
3Device has 8 GPIO pins which can be configured as GPIO as well as the
4special IO functions.
5
6Required properties:
7-------------------
8- gpio-controller : 	Marks the device node as a gpio controller.
9- #gpio-cells : 	Should be two.  The first cell is the pin number and
10			the second cell is used to specify the gpio polarity:
11				0 = active high
12				1 = active low
13For more details, please refer generic GPIO DT binding document
14<devicetree/bindings/gpio/gpio.txt>.
15
16Example:
17--------
18#include <dt-bindings/mfd/max77620.h>
19...
20max77620@3c {
21	compatible = "maxim,max77620";
22
23	gpio-controller;
24	#gpio-cells = <2>;
25};
26