gpio-msm.txt 716 B

1234567891011121314151617181920212223
  1. Qualcomm Snapdragon GPIO controller
  2. Required properties:
  3. - compatible : "qcom,msm8916-pinctrl", "qcom,apq8016-pinctrl" or
  4. "qcom,ipq4019-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. Example:
  13. soc_gpios: pinctrl@1000000 {
  14. compatible = "qcom,msm8916-pinctrl";
  15. reg = <0x1000000 0x300000>;
  16. gpio-controller;
  17. gpio-count = <122>;
  18. gpio-bank-name="soc";
  19. #gpio-cells = <1>;
  20. };