blob: 70a2c7f0ddb1d75f48c0ec2afa5852c7ece999c2 [file] [log] [blame]
Mateusz Kulikowskia1b3ae92016-03-31 23:12:15 +02001Qualcomm Snapdragon GPIO controller
2
3Required properties:
Robert Marko60baa042020-07-06 10:37:56 +02004- compatible : "qcom,msm8916-pinctrl", "qcom,apq8016-pinctrl" or
5 "qcom,ipq4019-pinctrl"
Mateusz Kulikowskia1b3ae92016-03-31 23:12:15 +02006- reg : Physical base address and length of the controller's registers.
7 This controller is called "Top Level Mode Multiplexing" in
8 Qualcomm documentation.
9- #gpio-cells : Should be one (pin number).
10- gpio-controller : Marks the device node as a GPIO controller.
11- gpio-count: Number of GPIO pins.
12- gpio-bank-name: (optional) name of gpio bank. As default "soc" is used.
13
14Example:
15
16soc_gpios: pinctrl@1000000 {
17 compatible = "qcom,msm8916-pinctrl";
18 reg = <0x1000000 0x300000>;
19 gpio-controller;
20 gpio-count = <122>;
21 gpio-bank-name="soc";
22 #gpio-cells = <1>;
23};