xref: /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/gpio/gpio-msm.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunQualcomm Snapdragon GPIO controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible : "qcom,msm8916-pinctrl" or "qcom,apq8016-pinctrl"
5*4882a593Smuzhiyun- reg : Physical base address and length of the controller's registers.
6*4882a593Smuzhiyun	This controller is called "Top Level Mode Multiplexing" in
7*4882a593Smuzhiyun	Qualcomm documentation.
8*4882a593Smuzhiyun- #gpio-cells : Should be one (pin number).
9*4882a593Smuzhiyun- gpio-controller : Marks the device node as a GPIO controller.
10*4882a593Smuzhiyun- gpio-count: Number of GPIO pins.
11*4882a593Smuzhiyun- gpio-bank-name: (optional) name of gpio bank. As default "soc" is used.
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunExample:
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunsoc_gpios: pinctrl@1000000 {
16*4882a593Smuzhiyun	compatible = "qcom,msm8916-pinctrl";
17*4882a593Smuzhiyun	reg = <0x1000000 0x300000>;
18*4882a593Smuzhiyun	gpio-controller;
19*4882a593Smuzhiyun	gpio-count = <122>;
20*4882a593Smuzhiyun	gpio-bank-name="soc";
21*4882a593Smuzhiyun	#gpio-cells = <1>;
22*4882a593Smuzhiyun};
23