Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Palmas GPIO controller bindings |
| 2 | |
| 3 | Required 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 | |
| 16 | Note: This gpio node will be sub node of palmas node. |
| 17 | |
| 18 | Example: |
| 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 | }; |