Mateusz Kulikowski | a1b3ae9 | 2016-03-31 23:12:15 +0200 | [diff] [blame] | 1 | Qualcomm Snapdragon GPIO controller |
| 2 | |
| 3 | Required properties: |
Robert Marko | 60baa04 | 2020-07-06 10:37:56 +0200 | [diff] [blame] | 4 | - compatible : "qcom,msm8916-pinctrl", "qcom,apq8016-pinctrl" or |
| 5 | "qcom,ipq4019-pinctrl" |
Mateusz Kulikowski | a1b3ae9 | 2016-03-31 23:12:15 +0200 | [diff] [blame] | 6 | - 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 | |
| 14 | Example: |
| 15 | |
| 16 | soc_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 | }; |