xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/gpio/fujitsu,mb86s70-gpio.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunFujitsu MB86S7x GPIO Controller
2*4882a593Smuzhiyun-------------------------------
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunRequired properties:
5*4882a593Smuzhiyun- compatible: Should be "fujitsu,mb86s70-gpio"
6*4882a593Smuzhiyun- reg: Base address and length of register space
7*4882a593Smuzhiyun- clocks: Specify the clock
8*4882a593Smuzhiyun- gpio-controller: Marks the device node as a gpio controller.
9*4882a593Smuzhiyun- #gpio-cells: Should be <2>. The first cell is the pin number and the
10*4882a593Smuzhiyun  second cell is used to specify optional parameters:
11*4882a593Smuzhiyun   - bit 0 specifies polarity (0 for normal, 1 for inverted).
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunExamples:
14*4882a593Smuzhiyun	gpio0: gpio@31000000 {
15*4882a593Smuzhiyun		compatible = "fujitsu,mb86s70-gpio";
16*4882a593Smuzhiyun		reg = <0 0x31000000 0x10000>;
17*4882a593Smuzhiyun		gpio-controller;
18*4882a593Smuzhiyun		#gpio-cells = <2>;
19*4882a593Smuzhiyun		clocks = <&clk 0 2 1>;
20*4882a593Smuzhiyun	};
21