]> git.ipfire.org Git - people/ms/u-boot.git/blob - doc/device-tree-bindings/gpio/gpio-msm.txt
gpio: Add support for Qualcomm gpio controller
[people/ms/u-boot.git] / doc / device-tree-bindings / gpio / gpio-msm.txt
1 Qualcomm Snapdragon GPIO controller
2
3 Required properties:
4 - compatible : "qcom,msm8916-pinctrl" or "qcom,apq8016-pinctrl"
5 - reg : Physical base address and length of the controller's registers.
6 This controller is called "Top Level Mode Multiplexing" in
7 Qualcomm documentation.
8 - #gpio-cells : Should be one (pin number).
9 - gpio-controller : Marks the device node as a GPIO controller.
10 - gpio-count: Number of GPIO pins.
11 - gpio-bank-name: (optional) name of gpio bank. As default "soc" is used.
12
13 Example:
14
15 soc_gpios: pinctrl@1000000 {
16 compatible = "qcom,msm8916-pinctrl";
17 reg = <0x1000000 0x300000>;
18 gpio-controller;
19 gpio-count = <122>;
20 gpio-bank-name="soc";
21 #gpio-cells = <1>;
22 };