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