par_io.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. * Parallel I/O Ports
  2. This node configures Parallel I/O ports for CPUs with QE support.
  3. The node should reside in the "soc" node of the tree. For each
  4. device that using parallel I/O ports, a child node should be created.
  5. See the definition of the Pin configuration nodes below for more
  6. information.
  7. Required properties:
  8. - device_type : should be "par_io".
  9. - reg : offset to the register set and its length.
  10. - num-ports : number of Parallel I/O ports
  11. Example:
  12. par_io@1400 {
  13. reg = <1400 100>;
  14. #address-cells = <1>;
  15. #size-cells = <0>;
  16. device_type = "par_io";
  17. num-ports = <7>;
  18. ucc_pin@01 {
  19. ......
  20. };
  21. Note that "par_io" nodes are obsolete, and should not be used for
  22. the new device trees. Instead, each Par I/O bank should be represented
  23. via its own gpio-controller node:
  24. Required properties:
  25. - #gpio-cells : should be "2".
  26. - compatible : should be "fsl,<chip>-qe-pario-bank",
  27. "fsl,mpc8323-qe-pario-bank".
  28. - reg : offset to the register set and its length.
  29. - gpio-controller : node to identify gpio controllers.
  30. Example:
  31. qe_pio_a: gpio-controller@1400 {
  32. #gpio-cells = <2>;
  33. compatible = "fsl,mpc8360-qe-pario-bank",
  34. "fsl,mpc8323-qe-pario-bank";
  35. reg = <0x1400 0x18>;
  36. gpio-controller;
  37. };
  38. qe_pio_e: gpio-controller@1460 {
  39. #gpio-cells = <2>;
  40. compatible = "fsl,mpc8360-qe-pario-bank",
  41. "fsl,mpc8323-qe-pario-bank";
  42. reg = <0x1460 0x18>;
  43. gpio-controller;
  44. };