Commit | Line | Data |
---|---|---|
d342571e RV |
1 | Axis ETRAX FS General I/O controller bindings |
2 | ||
3 | Required properties: | |
4 | ||
d705073c | 5 | - compatible: one of: |
d342571e | 6 | - "axis,etraxfs-gio" |
d705073c | 7 | - "axis,artpec3-gio" |
d342571e RV |
8 | - reg: Physical base address and length of the controller's registers. |
9 | - #gpio-cells: Should be 3 | |
10 | - The first cell is the gpio offset number. | |
11 | - The second cell is reserved and is currently unused. | |
12 | - The third cell is the port number (hex). | |
13 | - gpio-controller: Marks the device node as a GPIO controller. | |
14 | ||
15 | Example: | |
16 | ||
17 | gio: gpio@b001a000 { | |
18 | compatible = "axis,etraxfs-gio"; | |
19 | reg = <0xb001a000 0x1000>; | |
20 | gpio-controller; | |
21 | #gpio-cells = <3>; | |
22 | }; |