]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/gpio/gpio-etraxfs.txt
Merge branch 'cpuidle' into release
[karo-tx-linux.git] / Documentation / devicetree / bindings / gpio / gpio-etraxfs.txt
1 Axis ETRAX FS General I/O controller bindings
2
3 Required properties:
4
5 - compatible: one of:
6   - "axis,etraxfs-gio"
7   - "axis,artpec3-gio"
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         };