Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Zevio GPIO controller |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: Should be "lsi,zevio-gpio" |
| 5 | - reg: Address and length of the register set for the device |
| 6 | - #gpio-cells: Should be two. The first cell is the pin number and the |
| 7 | second cell is used to specify optional parameters (currently unused). |
| 8 | - gpio-controller: Marks the device node as a GPIO controller. |
| 9 | |
| 10 | Example: |
| 11 | gpio: gpio@90000000 { |
| 12 | compatible = "lsi,zevio-gpio"; |
| 13 | reg = <0x90000000 0x1000>; |
| 14 | gpio-controller; |
| 15 | #gpio-cells = <2>; |
| 16 | }; |