ni,169445-nand-gpio.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Bindings for the National Instruments 169445 GPIO NAND controller
  2. The 169445 GPIO NAND controller has two memory mapped GPIO registers, one
  3. for input (the ready signal) and one for output (control signals). It is
  4. intended to be used with the GPIO NAND driver.
  5. Required properties:
  6. - compatible: should be "ni,169445-nand-gpio"
  7. - reg-names: must contain
  8. "dat" - data register
  9. - reg: address + size pairs describing the GPIO register sets;
  10. order must correspond with the order of entries in reg-names
  11. - #gpio-cells: must be set to 2. The first cell is the pin number and
  12. the second cell is used to specify the gpio polarity:
  13. 0 = active high
  14. 1 = active low
  15. - gpio-controller: Marks the device node as a gpio controller.
  16. Optional properties:
  17. - no-output: disables driving output on the pins
  18. Examples:
  19. gpio1: nand-gpio-out@1f300010 {
  20. compatible = "ni,169445-nand-gpio";
  21. reg = <0x1f300010 0x4>;
  22. reg-names = "dat";
  23. gpio-controller;
  24. #gpio-cells = <2>;
  25. };
  26. gpio2: nand-gpio-in@1f300014 {
  27. compatible = "ni,169445-nand-gpio";
  28. reg = <0x1f300014 0x4>;
  29. reg-names = "dat";
  30. gpio-controller;
  31. #gpio-cells = <2>;
  32. no-output;
  33. };