gpio-msm.txt 737 B

123456789101112131415161718192021222324252627
  1. MSM GPIO controller bindings
  2. Required properties:
  3. - compatible:
  4. - "qcom,msm-gpio" for MSM controllers
  5. - #gpio-cells : Should be two.
  6. - first cell is the pin number
  7. - second cell is used to specify optional parameters (unused)
  8. - gpio-controller : Marks the device node as a GPIO controller.
  9. - #interrupt-cells : Should be 2.
  10. - interrupt-controller: Mark the device node as an interrupt controller
  11. - interrupts : Specify the TLMM summary interrupt number
  12. - ngpio : Specify the number of MSM GPIOs
  13. Example:
  14. msmgpio: gpio@fd510000 {
  15. compatible = "qcom,msm-gpio";
  16. gpio-controller;
  17. #gpio-cells = <2>;
  18. interrupt-controller;
  19. #interrupt-cells = <2>;
  20. reg = <0xfd510000 0x4000>;
  21. interrupts = <0 208 0>;
  22. ngpio = <150>;
  23. };