omap-ssi.txt 2.7 KB

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