gpio-mpc8xxx.txt 839 B

1234567891011121314151617181920212223242526
  1. * Freescale MPC512x/MPC8xxx/Layerscape GPIO controller
  2. Required properties:
  3. - compatible : Should be "fsl,<soc>-gpio"
  4. The following <soc>s are known to be supported:
  5. mpc5121, mpc5125, mpc8349, mpc8572, mpc8610, pq3, qoriq.
  6. - reg : Address and length of the register set for the device
  7. - interrupts : Should be the port interrupt shared by all 32 pins.
  8. - #gpio-cells : Should be two. The first cell is the pin number and
  9. the second cell is used to specify the gpio polarity:
  10. 0 = active high
  11. 1 = active low
  12. Optional properties:
  13. - little-endian : GPIO registers are used as little endian. If not
  14. present registers are used as big endian by default.
  15. Example:
  16. gpio0: gpio@1100 {
  17. compatible = "fsl,mpc5125-gpio";
  18. #gpio-cells = <2>;
  19. reg = <0x1100 0x080>;
  20. interrupts = <78 0x8>;
  21. status = "okay";
  22. };