st,stih4xx.txt 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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. - sti-hdmi: hdmi output block
  51. must be a child of sti-display-subsystem
  52. Required properties:
  53. - compatible: "st,stih<chip>-hdmi";
  54. - reg: Physical base address of the IP registers and length of memory mapped region.
  55. - reg-names: names of the mapped memory regions listed in regs property in
  56. the same order.
  57. - interrupts : HDMI interrupt number to the CPU.
  58. - interrupt-names: names of the interrupts listed in interrupts property in
  59. the same order
  60. - clocks: from common clock binding: handle hardware IP needed clocks, the
  61. number of clocks may depend of the SoC type.
  62. - clock-names: names of the clocks listed in clocks property in the same
  63. order.
  64. - ddc: phandle of an I2C controller used for DDC EDID probing
  65. sti-hda:
  66. Required properties:
  67. must be a child of sti-display-subsystem
  68. - compatible: "st,stih<chip>-hda"
  69. - reg: Physical base address of the IP registers and length of memory mapped region.
  70. - reg-names: names of the mapped memory regions listed in regs property in
  71. the same order.
  72. - clocks: from common clock binding: handle hardware IP needed clocks, the
  73. number of clocks may depend of the SoC type.
  74. See ../clocks/clock-bindings.txt for details.
  75. - clock-names: names of the clocks listed in clocks property in the same
  76. order.
  77. sti-dvo:
  78. Required properties:
  79. must be a child of sti-display-subsystem
  80. - compatible: "st,stih<chip>-dvo"
  81. - reg: Physical base address of the IP registers and length of memory mapped region.
  82. - reg-names: names of the mapped memory regions listed in regs property in
  83. the same order.
  84. - clocks: from common clock binding: handle hardware IP needed clocks, the
  85. number of clocks may depend of the SoC type.
  86. See ../clocks/clock-bindings.txt for details.
  87. - clock-names: names of the clocks listed in clocks property in the same
  88. order.
  89. - pinctrl-0: pin control handle
  90. - pinctrl-names: names of the pin control states to use
  91. - sti,panel: phandle of the panel connected to the DVO output
  92. sti-hqvdp:
  93. must be a child of sti-display-subsystem
  94. Required properties:
  95. - compatible: "st,stih<chip>-hqvdp"
  96. - reg: Physical base address of the IP registers and length of memory mapped region.
  97. - clocks: from common clock binding: handle hardware IP needed clocks, the
  98. number of clocks may depend of the SoC type.
  99. See ../clocks/clock-bindings.txt for details.
  100. - clock-names: names of the clocks listed in clocks property in the same
  101. order.
  102. - resets: resets to be used by the device
  103. See ../reset/reset.txt for details.
  104. - reset-names: names of the resets listed in resets property in the same
  105. order.
  106. - st,vtg: phandle on vtg main device node.
  107. Example:
  108. / {
  109. ...
  110. vtg_main_slave: sti-vtg-main-slave@fe85A800 {
  111. compatible = "st,vtg";
  112. reg = <0xfe85A800 0x300>;
  113. interrupts = <GIC_SPI 175 IRQ_TYPE_NONE>;
  114. };
  115. vtg_main: sti-vtg-main-master@fd348000 {
  116. compatible = "st,vtg";
  117. reg = <0xfd348000 0x400>;
  118. st,slave = <&vtg_main_slave>;
  119. };
  120. vtg_aux_slave: sti-vtg-aux-slave@fd348400 {
  121. compatible = "st,vtg";
  122. reg = <0xfe858200 0x300>;
  123. interrupts = <GIC_SPI 176 IRQ_TYPE_NONE>;
  124. };
  125. vtg_aux: sti-vtg-aux-master@fd348400 {
  126. compatible = "st,vtg";
  127. reg = <0xfd348400 0x400>;
  128. st,slave = <&vtg_aux_slave>;
  129. };
  130. sti-vtac-rx-main@fee82800 {
  131. compatible = "st,vtac-main";
  132. reg = <0xfee82800 0x200>;
  133. clock-names = "vtac";
  134. clocks = <&clk_m_a2_div0 CLK_M_VTAC_MAIN_PHY>;
  135. };
  136. sti-vtac-rx-aux@fee82a00 {
  137. compatible = "st,vtac-aux";
  138. reg = <0xfee82a00 0x200>;
  139. clock-names = "vtac";
  140. clocks = <&clk_m_a2_div0 CLK_M_VTAC_AUX_PHY>;
  141. };
  142. sti-vtac-tx-main@fd349000 {
  143. compatible = "st,vtac-main";
  144. reg = <0xfd349000 0x200>, <0xfd320000 0x10000>;
  145. clock-names = "vtac";
  146. clocks = <&clk_s_a1_hs CLK_S_VTAC_TX_PHY>;
  147. };
  148. sti-vtac-tx-aux@fd349200 {
  149. compatible = "st,vtac-aux";
  150. reg = <0xfd349200 0x200>, <0xfd320000 0x10000>;
  151. clock-names = "vtac";
  152. clocks = <&clk_s_a1_hs CLK_S_VTAC_TX_PHY>;
  153. };
  154. sti-display-subsystem {
  155. compatible = "st,sti-display-subsystem";
  156. ranges;
  157. sti-compositor@fd340000 {
  158. compatible = "st,stih416-compositor";
  159. reg = <0xfd340000 0x1000>;
  160. clock-names = "compo_main", "compo_aux",
  161. "pix_main", "pix_aux";
  162. clocks = <&clk_m_a2_div1 CLK_M_COMPO_MAIN>, <&clk_m_a2_div1 CLK_M_COMPO_AUX>,
  163. <&clockgen_c_vcc CLK_S_PIX_MAIN>, <&clockgen_c_vcc CLK_S_PIX_AUX>;
  164. reset-names = "compo-main", "compo-aux";
  165. resets = <&softreset STIH416_COMPO_M_SOFTRESET>, <&softreset STIH416_COMPO_A_SOFTRESET>;
  166. st,vtg = <&vtg_main>, <&vtg_aux>;
  167. };
  168. sti-tvout@fe000000 {
  169. compatible = "st,stih416-tvout";
  170. reg = <0xfe000000 0x1000>, <0xfe85a000 0x400>, <0xfe830000 0x10000>;
  171. reg-names = "tvout-reg", "hda-reg", "syscfg";
  172. reset-names = "tvout";
  173. resets = <&softreset STIH416_HDTVOUT_SOFTRESET>;
  174. };
  175. sti-hdmi@fe85c000 {
  176. compatible = "st,stih416-hdmi";
  177. reg = <0xfe85c000 0x1000>, <0xfe830000 0x10000>;
  178. reg-names = "hdmi-reg", "syscfg";
  179. interrupts = <GIC_SPI 173 IRQ_TYPE_NONE>;
  180. interrupt-names = "irq";
  181. clock-names = "pix", "tmds", "phy", "audio";
  182. 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>;
  183. };
  184. sti-hda@fe85a000 {
  185. compatible = "st,stih416-hda";
  186. reg = <0xfe85a000 0x400>, <0xfe83085c 0x4>;
  187. reg-names = "hda-reg", "video-dacs-ctrl";
  188. clock-names = "pix", "hddac";
  189. clocks = <&clockgen_c_vcc CLK_S_PIX_HD>, <&clockgen_c_vcc CLK_S_HDDAC>;
  190. };
  191. sti-dvo@8d00400 {
  192. compatible = "st,stih407-dvo";
  193. reg = <0x8d00400 0x200>;
  194. reg-names = "dvo-reg";
  195. clock-names = "dvo_pix", "dvo",
  196. "main_parent", "aux_parent";
  197. clocks = <&clk_s_d2_flexgen CLK_PIX_DVO>, <&clk_s_d2_flexgen CLK_DVO>,
  198. <&clk_s_d2_quadfs 0>, <&clk_s_d2_quadfs 1>;
  199. pinctrl-names = "default";
  200. pinctrl-0 = <&pinctrl_dvo>;
  201. sti,panel = <&panel_dvo>;
  202. };
  203. sti-hqvdp@9c000000 {
  204. compatible = "st,stih407-hqvdp";
  205. reg = <0x9C00000 0x100000>;
  206. clock-names = "hqvdp", "pix_main";
  207. clocks = <&clk_s_c0_flexgen CLK_MAIN_DISP>, <&clk_s_d2_flexgen CLK_PIX_MAIN_DISP>;
  208. reset-names = "hqvdp";
  209. resets = <&softreset STIH407_HDQVDP_SOFTRESET>;
  210. st,vtg = <&vtg_main>;
  211. };
  212. };
  213. ...
  214. };