omap-ssi.txt 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. OMAP SSI controller bindings
  2. OMAP3's Synchronous Serial Interface (SSI) controller implements a
  3. legacy variant of MIPI's High Speed Synchronous Serial Interface (HSI),
  4. while the controller found inside OMAP4 is supposed to be fully compliant
  5. with the HSI standard.
  6. Required properties:
  7. - compatible: Should include "ti,omap3-ssi" or "ti,omap4-hsi"
  8. - reg-names: Contains the values "sys" and "gdd" (in this order).
  9. - reg: Contains a matching register specifier for each entry
  10. in reg-names.
  11. - interrupt-names: Contains the value "gdd_mpu".
  12. - interrupts: Contains matching interrupt information for each entry
  13. in interrupt-names.
  14. - ranges: Represents the bus address mapping between the main
  15. controller node and the child nodes below.
  16. - clock-names: Must include the following entries:
  17. "ssi_ssr_fck": The OMAP clock of that name
  18. "ssi_sst_fck": The OMAP clock of that name
  19. "ssi_ick": The OMAP clock of that name
  20. - clocks: Contains a matching clock specifier for each entry in
  21. clock-names.
  22. - #address-cells: Should be set to <1>
  23. - #size-cells: Should be set to <1>
  24. Each port is represented as a sub-node of the ti,omap3-ssi device.
  25. Required Port sub-node properties:
  26. - compatible: Should be set to the following value
  27. ti,omap3-ssi-port (applicable to OMAP34xx devices)
  28. ti,omap4-hsi-port (applicable to OMAP44xx devices)
  29. - reg-names: Contains the values "tx" and "rx" (in this order).
  30. - reg: Contains a matching register specifier for each entry
  31. in reg-names.
  32. - interrupts: Should contain interrupt specifiers for mpu interrupts
  33. 0 and 1 (in this order).
  34. - ti,ssi-cawake-gpio: Defines which GPIO pin is used to signify CAWAKE
  35. events for the port. This is an optional board-specific
  36. property. If it's missing the port will not be
  37. enabled.
  38. Optional properties:
  39. - ti,hwmods: Shall contain TI interconnect module name if needed
  40. by the SoC
  41. Example for Nokia N900:
  42. ssi-controller@48058000 {
  43. compatible = "ti,omap3-ssi";
  44. /* needed until hwmod is updated to use the compatible string */
  45. ti,hwmods = "ssi";
  46. reg = <0x48058000 0x1000>,
  47. <0x48059000 0x1000>;
  48. reg-names = "sys",
  49. "gdd";
  50. interrupts = <55>;
  51. interrupt-names = "gdd_mpu";
  52. clocks = <&ssi_ssr_fck>,
  53. <&ssi_sst_fck>,
  54. <&ssi_ick>;
  55. clock-names = "ssi_ssr_fck",
  56. "ssi_sst_fck",
  57. "ssi_ick";
  58. #address-cells = <1>;
  59. #size-cells = <1>;
  60. ranges;
  61. ssi-port@4805a000 {
  62. compatible = "ti,omap3-ssi-port";
  63. reg = <0x4805a000 0x800>,
  64. <0x4805a800 0x800>;
  65. reg-names = "tx",
  66. "rx";
  67. interrupt-parent = <&intc>;
  68. interrupts = <67>,
  69. <68>;
  70. ti,ssi-cawake-gpio = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */
  71. }
  72. ssi-port@4805a000 {
  73. compatible = "ti,omap3-ssi-port";
  74. reg = <0x4805b000 0x800>,
  75. <0x4805b800 0x800>;
  76. reg-names = "tx",
  77. "rx";
  78. interrupt-parent = <&intc>;
  79. interrupts = <69>,
  80. <70>;
  81. }
  82. }