blob: 966ce0af09c449bc6093c5bf02efe01d325894f1 [file] [log] [blame]
Mateusz Kulikowskia1b3ae92016-03-31 23:12:15 +02001Qualcomm Snapdragon GPIO controller
2
3Required 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
13Example:
14
15soc_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};