xref: /freebsd/sys/contrib/device-tree/Bindings/gpio/gpio-palmas.txt (revision ccb59683b98360afaf5b5bb641a68fea22c68d0b)
1Palmas GPIO controller bindings
2
3Required properties:
4- compatible:
5  - "ti,palams-gpio" for palma series of the GPIO controller
6  - "ti,tps80036-gpio" for Palma series device TPS80036.
7  - "ti,tps65913-gpio" for palma series device TPS65913.
8  - "ti,tps65914-gpio" for palma series device TPS65914.
9- #gpio-cells : Should be two.
10  - first cell is the gpio pin number
11  - second cell is used to specify the gpio polarity:
12      0 = active high
13      1 = active low
14- gpio-controller : Marks the device node as a GPIO controller.
15
16Note: This gpio node will be sub node of palmas node.
17
18Example:
19	palmas: tps65913@58 {
20		:::::::::::
21		palmas_gpio: palmas_gpio {
22			compatible = "ti,palmas-gpio";
23			gpio-controller;
24			#gpio-cells = <2>;
25		};
26		:::::::::::
27	};
28