About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

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




Custom Search

Based on kernel version 3.15.4. Page generated on 2014-07-07 09:00 EST.

1	Cirrus Logic CLPS711X GPIO controller
2	
3	Required properties:
4	- compatible: Should be "cirrus,clps711x-gpio"
5	- reg: Physical base GPIO controller registers location and length.
6	  There should be two registers, first is DATA register, the second
7	  is DIRECTION.
8	- gpio-controller: Marks the device node as a gpio controller.
9	- #gpio-cells: Should be two. The first cell is the pin number and
10	  the second cell is used to specify the gpio polarity:
11	    0 = active high
12	    1 = active low
13	
14	Note: Each GPIO port should have an alias correctly numbered in "aliases"
15	node.
16	
17	Example:
18	
19	aliases {
20		gpio0 = &porta;
21	};
22	
23	porta: gpio@80000000 {
24		compatible = "cirrus,clps711x-gpio";
25		reg = <0x80000000 0x1>, <0x80000040 0x1>;
26		gpio-controller;
27		#gpio-cells = <2>;
28	};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.