Commit | Line | Data |
---|---|---|
9af4d80b FV |
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 | }; |