About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / gpio / gpio-etraxfs.txt


Based on kernel version 4.16.1. Page generated on 2018-04-09 11:52 EST.

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		};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog