st,stih4xx.txt 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. STMicroelectronics stih4xx platforms
  2. - sti-vtg: video timing generator
  3. Required properties:
  4. - compatible: "st,vtg"
  5. - reg: Physical base address of the IP registers and length of memory mapped region.
  6. Optional properties:
  7. - interrupts : VTG interrupt number to the CPU.
  8. - st,slave: phandle on a slave vtg
  9. - sti-vtac: video timing advanced inter dye communication Rx and TX
  10. Required properties:
  11. - compatible: "st,vtac-main" or "st,vtac-aux"
  12. - reg: Physical base address of the IP registers and length of memory mapped region.
  13. - clocks: from common clock binding: handle hardware IP needed clocks, the
  14. number of clocks may depend of the SoC type.
  15. See ../clocks/clock-bindings.txt for details.
  16. - clock-names: names of the clocks listed in clocks property in the same
  17. order.
  18. - sti-display-subsystem: Master device for DRM sub-components
  19. This device must be the parent of all the sub-components and is responsible
  20. of bind them.
  21. Required properties:
  22. - compatible: "st,sti-display-subsystem"
  23. - ranges: to allow probing of subdevices
  24. - sti-compositor: frame compositor engine
  25. must be a child of sti-display-subsystem
  26. Required properties:
  27. - compatible: "st,stih<chip>-compositor"
  28. - reg: Physical base address of the IP registers and length of memory mapped region.
  29. - clocks: from common clock binding: handle hardware IP needed clocks, the
  30. number of clocks may depend of the SoC type.
  31. See ../clocks/clock-bindings.txt for details.
  32. - clock-names: names of the clocks listed in clocks property in the same
  33. order.
  34. - resets: resets to be used by the device
  35. See ../reset/reset.txt for details.
  36. - reset-names: names of the resets listed in resets property in the same
  37. order.
  38. - st,vtg: phandle(s) on vtg device (main and aux) nodes.
  39. - sti-tvout: video out hardware block
  40. must be a child of sti-display-subsystem
  41. Required properties:
  42. - compatible: "st,stih<chip>-tvout"
  43. - reg: Physical base address of the IP registers and length of memory mapped region.
  44. - reg-names: names of the mapped memory regions listed in regs property in
  45. the same order.
  46. - resets: resets to be used by the device
  47. See ../reset/reset.txt for details.
  48. - reset-names: names of the resets listed in resets property in the same
  49. order.
  50. - ranges: to allow probing of subdevices
  51. - sti-hdmi: hdmi output block
  52. must be a child of sti-tvout
  53. Required properties:
  54. - compatible: "st,stih<chip>-hdmi";
  55. - reg: Physical base address of the IP registers and length of memory mapped region.
  56. - reg-names: names of the mapped memory regions listed in regs property in
  57. the same order.
  58. - interrupts : HDMI interrupt number to the CPU.
  59. - interrupt-names: name of the interrupts listed in interrupts property in
  60. the same order
  61. - clocks: from common clock binding: handle hardware IP needed clocks, the
  62. number of clocks may depend of the SoC type.
  63. - clock-names: names of the clocks listed in clocks property in the same
  64. order.
  65. - hdmi,hpd-gpio: gpio id to detect if an hdmi cable is plugged or not.
  66. sti-hda:
  67. Required properties:
  68. must be a child of sti-tvout
  69. - compatible: "st,stih<chip>-hda"
  70. - reg: Physical base address of the IP registers and length of memory mapped region.
  71. - reg-names: names of the mapped memory regions listed in regs property in
  72. the same order.
  73. - clocks: from common clock binding: handle hardware IP needed clocks, the
  74. number of clocks may depend of the SoC type.
  75. See ../clocks/clock-bindings.txt for details.
  76. - clock-names: names of the clocks listed in clocks property in the same
  77. order.
  78. Example:
  79. / {
  80. ...
  81. vtg_main_slave: sti-vtg-main-slave@fe85A800 {
  82. compatible = "st,vtg";
  83. reg = <0xfe85A800 0x300>;
  84. interrupts = <GIC_SPI 175 IRQ_TYPE_NONE>;
  85. };
  86. vtg_main: sti-vtg-main-master@fd348000 {
  87. compatible = "st,vtg";
  88. reg = <0xfd348000 0x400>;
  89. st,slave = <&vtg_main_slave>;
  90. };
  91. vtg_aux_slave: sti-vtg-aux-slave@fd348400 {
  92. compatible = "st,vtg";
  93. reg = <0xfe858200 0x300>;
  94. interrupts = <GIC_SPI 176 IRQ_TYPE_NONE>;
  95. };
  96. vtg_aux: sti-vtg-aux-master@fd348400 {
  97. compatible = "st,vtg";
  98. reg = <0xfd348400 0x400>;
  99. st,slave = <&vtg_aux_slave>;
  100. };
  101. sti-vtac-rx-main@fee82800 {
  102. compatible = "st,vtac-main";
  103. reg = <0xfee82800 0x200>;
  104. clock-names = "vtac";
  105. clocks = <&clk_m_a2_div0 CLK_M_VTAC_MAIN_PHY>;
  106. };
  107. sti-vtac-rx-aux@fee82a00 {
  108. compatible = "st,vtac-aux";
  109. reg = <0xfee82a00 0x200>;
  110. clock-names = "vtac";
  111. clocks = <&clk_m_a2_div0 CLK_M_VTAC_AUX_PHY>;
  112. };
  113. sti-vtac-tx-main@fd349000 {
  114. compatible = "st,vtac-main";
  115. reg = <0xfd349000 0x200>, <0xfd320000 0x10000>;
  116. clock-names = "vtac";
  117. clocks = <&clk_s_a1_hs CLK_S_VTAC_TX_PHY>;
  118. };
  119. sti-vtac-tx-aux@fd349200 {
  120. compatible = "st,vtac-aux";
  121. reg = <0xfd349200 0x200>, <0xfd320000 0x10000>;
  122. clock-names = "vtac";
  123. clocks = <&clk_s_a1_hs CLK_S_VTAC_TX_PHY>;
  124. };
  125. sti-display-subsystem {
  126. compatible = "st,sti-display-subsystem";
  127. ranges;
  128. sti-compositor@fd340000 {
  129. compatible = "st,stih416-compositor";
  130. reg = <0xfd340000 0x1000>;
  131. clock-names = "compo_main", "compo_aux",
  132. "pix_main", "pix_aux";
  133. clocks = <&clk_m_a2_div1 CLK_M_COMPO_MAIN>, <&clk_m_a2_div1 CLK_M_COMPO_AUX>,
  134. <&clockgen_c_vcc CLK_S_PIX_MAIN>, <&clockgen_c_vcc CLK_S_PIX_AUX>;
  135. reset-names = "compo-main", "compo-aux";
  136. resets = <&softreset STIH416_COMPO_M_SOFTRESET>, <&softreset STIH416_COMPO_A_SOFTRESET>;
  137. st,vtg = <&vtg_main>, <&vtg_aux>;
  138. };
  139. sti-tvout@fe000000 {
  140. compatible = "st,stih416-tvout";
  141. reg = <0xfe000000 0x1000>, <0xfe85a000 0x400>, <0xfe830000 0x10000>;
  142. reg-names = "tvout-reg", "hda-reg", "syscfg";
  143. reset-names = "tvout";
  144. resets = <&softreset STIH416_HDTVOUT_SOFTRESET>;
  145. ranges;
  146. sti-hdmi@fe85c000 {
  147. compatible = "st,stih416-hdmi";
  148. reg = <0xfe85c000 0x1000>, <0xfe830000 0x10000>;
  149. reg-names = "hdmi-reg", "syscfg";
  150. interrupts = <GIC_SPI 173 IRQ_TYPE_NONE>;
  151. interrupt-names = "irq";
  152. clock-names = "pix", "tmds", "phy", "audio";
  153. clocks = <&clockgen_c_vcc CLK_S_PIX_HDMI>, <&clockgen_c_vcc CLK_S_TMDS_HDMI>, <&clockgen_c_vcc CLK_S_HDMI_REJECT_PLL>, <&clockgen_b1 CLK_S_PCM_0>;
  154. hdmi,hpd-gpio = <&PIO2 5>;
  155. };
  156. sti-hda@fe85a000 {
  157. compatible = "st,stih416-hda";
  158. reg = <0xfe85a000 0x400>, <0xfe83085c 0x4>;
  159. reg-names = "hda-reg", "video-dacs-ctrl";
  160. clock-names = "pix", "hddac";
  161. clocks = <&clockgen_c_vcc CLK_S_PIX_HD>, <&clockgen_c_vcc CLK_S_HDDAC>;
  162. };
  163. };
  164. };
  165. ...
  166. };