fujitsu,mb86s70-gpio.txt 635 B

1234567891011121314151617181920
  1. Fujitsu MB86S7x GPIO Controller
  2. -------------------------------
  3. Required properties:
  4. - compatible: Should be "fujitsu,mb86s70-gpio"
  5. - reg: Base address and length of register space
  6. - clocks: Specify the clock
  7. - gpio-controller: Marks the device node as a gpio controller.
  8. - #gpio-cells: Should be <2>. The first cell is the pin number and the
  9. second cell is used to specify optional parameters:
  10. - bit 0 specifies polarity (0 for normal, 1 for inverted).
  11. Examples:
  12. gpio0: gpio@31000000 {
  13. compatible = "fujitsu,mb86s70-gpio";
  14. reg = <0 0x31000000 0x10000>;
  15. gpio-controller;
  16. #gpio-cells = <2>;
  17. clocks = <&clk 0 2 1>;
  18. };