bindings-mpp.txt 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. $FreeBSD$
  2. * Multi purpose pin (MPP) configuration.
  3. Required properties:
  4. - pin-map : array of pin configurations. Each pin is defined by 2 cells,
  5. respectively: <pin> <function>. Pins not specified in the pin-map property
  6. are assumed to have default value of <function> = 0, which means GPIO.
  7. - pin : pin number.
  8. - function : function ID of the pin according to the assignment tables in
  9. User Manual. Each pin can have many possible functions depending on the
  10. MPP unit incarnation.
  11. - pin-count: number of the physical MPP connections on the SOC (depending on
  12. the model it can be 24-50, or possibly else in future devices).
  13. Example:
  14. mpp@10000 {
  15. #pin-cells = <2>;
  16. compatible = "mrvl,mpp";
  17. reg = <0x10000 0x34>;
  18. pin-count= <50>;
  19. pin-map = <
  20. 0 1 /* MPP[0]: NF_IO[2] */
  21. 1 1 /* MPP[1]: NF_IO[3] */
  22. 2 1 /* MPP[2]: NF_IO[4] */
  23. 3 1 /* MPP[3]: NF_IO[5] */
  24. 4 1 /* MPP[4]: NF_IO[6] */
  25. 5 1 /* MPP[5]: NF_IO[7] */
  26. 6 1 /* MPP[6]: SYSRST_OUTn */
  27. 7 2 /* MPP[7]: SPI_SCn */
  28. 8 1 /* MPP[8]: TW_SDA */
  29. 9 1 /* MPP[9]: TW_SCK */
  30. 10 3 /* MPP[10]: UA0_TXD */
  31. 11 3 /* MPP[11]: UA0_RXD */
  32. 12 1 /* MPP[12]: SD_CLK */
  33. 13 1 /* MPP[13]: SD_CMD */
  34. 14 1 /* MPP[14]: SD_D[0] */
  35. 15 1 /* MPP[15]: SD_D[1] */
  36. 16 1 /* MPP[16]: SD_D[2] */
  37. 17 1 /* MPP[17]: SD_D[3] */
  38. 18 1 /* MPP[18]: NF_IO[0] */
  39. 19 1 /* MPP[19]: NF_IO[1] */
  40. 20 5 /* MPP[20]: SATA1_AC */
  41. 21 5 >; /* MPP[21]: SATA0_AC */
  42. };