mrvl-gpio.txt 726 B

1234567891011121314151617181920212223
  1. * Marvell PXA GPIO controller
  2. Required properties:
  3. - compatible : Should be "mrvl,pxa-gpio" or "mrvl,mmp-gpio"
  4. - reg : Address and length of the register set for the device
  5. - interrupts : Should be the port interrupt shared by all gpio pins, if
  6. - interrupt-name : Should be the name of irq resource.
  7. one number.
  8. - gpio-controller : Marks the device node as a gpio controller.
  9. - #gpio-cells : Should be one. It is the pin number.
  10. Example:
  11. gpio: gpio@d4019000 {
  12. compatible = "mrvl,mmp-gpio", "mrvl,pxa-gpio";
  13. reg = <0xd4019000 0x1000>;
  14. interrupts = <49>, <17>, <18>;
  15. interrupt-name = "gpio_mux", "gpio0", "gpio1";
  16. gpio-controller;
  17. #gpio-cells = <1>;
  18. interrupt-controller;
  19. #interrupt-cells = <1>;
  20. };