Mateusz Kulikowski | a1b3ae9 | 2016-03-31 23:12:15 +0200 | [diff] [blame] | 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 | }; |