nvidia,tegra20-host1x.txt 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  1. NVIDIA Tegra host1x
  2. Required properties:
  3. - compatible: "nvidia,tegra<chip>-host1x"
  4. - reg: Physical base address and length of the controller's registers.
  5. - interrupts: The interrupt outputs from the controller.
  6. - #address-cells: The number of cells used to represent physical base addresses
  7. in the host1x address space. Should be 1.
  8. - #size-cells: The number of cells used to represent the size of an address
  9. range in the host1x address space. Should be 1.
  10. - ranges: The mapping of the host1x address space to the CPU address space.
  11. - clocks: Must contain one entry, for the module clock.
  12. See ../clocks/clock-bindings.txt for details.
  13. - resets: Must contain an entry for each entry in reset-names.
  14. See ../reset/reset.txt for details.
  15. - reset-names: Must include the following entries:
  16. - host1x
  17. The host1x top-level node defines a number of children, each representing one
  18. of the following host1x client modules:
  19. - mpe: video encoder
  20. Required properties:
  21. - compatible: "nvidia,tegra<chip>-mpe"
  22. - reg: Physical base address and length of the controller's registers.
  23. - interrupts: The interrupt outputs from the controller.
  24. - clocks: Must contain one entry, for the module clock.
  25. See ../clocks/clock-bindings.txt for details.
  26. - resets: Must contain an entry for each entry in reset-names.
  27. See ../reset/reset.txt for details.
  28. - reset-names: Must include the following entries:
  29. - mpe
  30. - vi: video input
  31. Required properties:
  32. - compatible: "nvidia,tegra<chip>-vi"
  33. - reg: Physical base address and length of the controller's registers.
  34. - interrupts: The interrupt outputs from the controller.
  35. - clocks: Must contain one entry, for the module clock.
  36. See ../clocks/clock-bindings.txt for details.
  37. - resets: Must contain an entry for each entry in reset-names.
  38. See ../reset/reset.txt for details.
  39. - reset-names: Must include the following entries:
  40. - vi
  41. - epp: encoder pre-processor
  42. Required properties:
  43. - compatible: "nvidia,tegra<chip>-epp"
  44. - reg: Physical base address and length of the controller's registers.
  45. - interrupts: The interrupt outputs from the controller.
  46. - clocks: Must contain one entry, for the module clock.
  47. See ../clocks/clock-bindings.txt for details.
  48. - resets: Must contain an entry for each entry in reset-names.
  49. See ../reset/reset.txt for details.
  50. - reset-names: Must include the following entries:
  51. - epp
  52. - isp: image signal processor
  53. Required properties:
  54. - compatible: "nvidia,tegra<chip>-isp"
  55. - reg: Physical base address and length of the controller's registers.
  56. - interrupts: The interrupt outputs from the controller.
  57. - clocks: Must contain one entry, for the module clock.
  58. See ../clocks/clock-bindings.txt for details.
  59. - resets: Must contain an entry for each entry in reset-names.
  60. See ../reset/reset.txt for details.
  61. - reset-names: Must include the following entries:
  62. - isp
  63. - gr2d: 2D graphics engine
  64. Required properties:
  65. - compatible: "nvidia,tegra<chip>-gr2d"
  66. - reg: Physical base address and length of the controller's registers.
  67. - interrupts: The interrupt outputs from the controller.
  68. - clocks: Must contain one entry, for the module clock.
  69. See ../clocks/clock-bindings.txt for details.
  70. - resets: Must contain an entry for each entry in reset-names.
  71. See ../reset/reset.txt for details.
  72. - reset-names: Must include the following entries:
  73. - 2d
  74. - gr3d: 3D graphics engine
  75. Required properties:
  76. - compatible: "nvidia,tegra<chip>-gr3d"
  77. - reg: Physical base address and length of the controller's registers.
  78. - clocks: Must contain an entry for each entry in clock-names.
  79. See ../clocks/clock-bindings.txt for details.
  80. - clock-names: Must include the following entries:
  81. (This property may be omitted if the only clock in the list is "3d")
  82. - 3d
  83. This MUST be the first entry.
  84. - 3d2 (Only required on SoCs with two 3D clocks)
  85. - resets: Must contain an entry for each entry in reset-names.
  86. See ../reset/reset.txt for details.
  87. - reset-names: Must include the following entries:
  88. - 3d
  89. - 3d2 (Only required on SoCs with two 3D clocks)
  90. - dc: display controller
  91. Required properties:
  92. - compatible: "nvidia,tegra<chip>-dc"
  93. - reg: Physical base address and length of the controller's registers.
  94. - interrupts: The interrupt outputs from the controller.
  95. - clocks: Must contain an entry for each entry in clock-names.
  96. See ../clocks/clock-bindings.txt for details.
  97. - clock-names: Must include the following entries:
  98. - dc
  99. This MUST be the first entry.
  100. - parent
  101. - resets: Must contain an entry for each entry in reset-names.
  102. See ../reset/reset.txt for details.
  103. - reset-names: Must include the following entries:
  104. - dc
  105. - nvidia,head: The number of the display controller head. This is used to
  106. setup the various types of output to receive video data from the given
  107. head.
  108. Each display controller node has a child node, named "rgb", that represents
  109. the RGB output associated with the controller. It can take the following
  110. optional properties:
  111. - nvidia,ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing
  112. - nvidia,hpd-gpio: specifies a GPIO used for hotplug detection
  113. - nvidia,edid: supplies a binary EDID blob
  114. - nvidia,panel: phandle of a display panel
  115. - hdmi: High Definition Multimedia Interface
  116. Required properties:
  117. - compatible: "nvidia,tegra<chip>-hdmi"
  118. - reg: Physical base address and length of the controller's registers.
  119. - interrupts: The interrupt outputs from the controller.
  120. - hdmi-supply: supply for the +5V HDMI connector pin
  121. - vdd-supply: regulator for supply voltage
  122. - pll-supply: regulator for PLL
  123. - clocks: Must contain an entry for each entry in clock-names.
  124. See ../clocks/clock-bindings.txt for details.
  125. - clock-names: Must include the following entries:
  126. - hdmi
  127. This MUST be the first entry.
  128. - parent
  129. - resets: Must contain an entry for each entry in reset-names.
  130. See ../reset/reset.txt for details.
  131. - reset-names: Must include the following entries:
  132. - hdmi
  133. Optional properties:
  134. - nvidia,ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing
  135. - nvidia,hpd-gpio: specifies a GPIO used for hotplug detection
  136. - nvidia,edid: supplies a binary EDID blob
  137. - nvidia,panel: phandle of a display panel
  138. - tvo: TV encoder output
  139. Required properties:
  140. - compatible: "nvidia,tegra<chip>-tvo"
  141. - reg: Physical base address and length of the controller's registers.
  142. - interrupts: The interrupt outputs from the controller.
  143. - clocks: Must contain one entry, for the module clock.
  144. See ../clocks/clock-bindings.txt for details.
  145. - dsi: display serial interface
  146. Required properties:
  147. - compatible: "nvidia,tegra<chip>-dsi"
  148. - reg: Physical base address and length of the controller's registers.
  149. - clocks: Must contain an entry for each entry in clock-names.
  150. See ../clocks/clock-bindings.txt for details.
  151. - clock-names: Must include the following entries:
  152. - dsi
  153. This MUST be the first entry.
  154. - lp
  155. - parent
  156. - resets: Must contain an entry for each entry in reset-names.
  157. See ../reset/reset.txt for details.
  158. - reset-names: Must include the following entries:
  159. - dsi
  160. - avdd-dsi-supply: phandle of a supply that powers the DSI controller
  161. - nvidia,mipi-calibrate: Should contain a phandle and a specifier specifying
  162. which pads are used by this DSI output and need to be calibrated. See also
  163. ../mipi/nvidia,tegra114-mipi.txt.
  164. Optional properties:
  165. - nvidia,ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing
  166. - nvidia,hpd-gpio: specifies a GPIO used for hotplug detection
  167. - nvidia,edid: supplies a binary EDID blob
  168. - nvidia,panel: phandle of a display panel
  169. - sor: serial output resource
  170. Required properties:
  171. - compatible: "nvidia,tegra124-sor"
  172. - reg: Physical base address and length of the controller's registers.
  173. - interrupts: The interrupt outputs from the controller.
  174. - clocks: Must contain an entry for each entry in clock-names.
  175. See ../clocks/clock-bindings.txt for details.
  176. - clock-names: Must include the following entries:
  177. - sor: clock input for the SOR hardware
  178. - parent: input for the pixel clock
  179. - dp: reference clock for the SOR clock
  180. - safe: safe reference for the SOR clock during power up
  181. - resets: Must contain an entry for each entry in reset-names.
  182. See ../reset/reset.txt for details.
  183. - reset-names: Must include the following entries:
  184. - sor
  185. Optional properties:
  186. - nvidia,ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing
  187. - nvidia,hpd-gpio: specifies a GPIO used for hotplug detection
  188. - nvidia,edid: supplies a binary EDID blob
  189. - nvidia,panel: phandle of a display panel
  190. Optional properties when driving an eDP output:
  191. - nvidia,dpaux: phandle to a DispayPort AUX interface
  192. - dpaux: DisplayPort AUX interface
  193. - compatible: "nvidia,tegra124-dpaux"
  194. - reg: Physical base address and length of the controller's registers.
  195. - interrupts: The interrupt outputs from the controller.
  196. - clocks: Must contain an entry for each entry in clock-names.
  197. See ../clocks/clock-bindings.txt for details.
  198. - clock-names: Must include the following entries:
  199. - dpaux: clock input for the DPAUX hardware
  200. - parent: reference clock
  201. - resets: Must contain an entry for each entry in reset-names.
  202. See ../reset/reset.txt for details.
  203. - reset-names: Must include the following entries:
  204. - dpaux
  205. - vdd-supply: phandle of a supply that powers the DisplayPort link
  206. Example:
  207. / {
  208. ...
  209. host1x {
  210. compatible = "nvidia,tegra20-host1x", "simple-bus";
  211. reg = <0x50000000 0x00024000>;
  212. interrupts = <0 65 0x04 /* mpcore syncpt */
  213. 0 67 0x04>; /* mpcore general */
  214. clocks = <&tegra_car TEGRA20_CLK_HOST1X>;
  215. resets = <&tegra_car 28>;
  216. reset-names = "host1x";
  217. #address-cells = <1>;
  218. #size-cells = <1>;
  219. ranges = <0x54000000 0x54000000 0x04000000>;
  220. mpe {
  221. compatible = "nvidia,tegra20-mpe";
  222. reg = <0x54040000 0x00040000>;
  223. interrupts = <0 68 0x04>;
  224. clocks = <&tegra_car TEGRA20_CLK_MPE>;
  225. resets = <&tegra_car 60>;
  226. reset-names = "mpe";
  227. };
  228. vi {
  229. compatible = "nvidia,tegra20-vi";
  230. reg = <0x54080000 0x00040000>;
  231. interrupts = <0 69 0x04>;
  232. clocks = <&tegra_car TEGRA20_CLK_VI>;
  233. resets = <&tegra_car 100>;
  234. reset-names = "vi";
  235. };
  236. epp {
  237. compatible = "nvidia,tegra20-epp";
  238. reg = <0x540c0000 0x00040000>;
  239. interrupts = <0 70 0x04>;
  240. clocks = <&tegra_car TEGRA20_CLK_EPP>;
  241. resets = <&tegra_car 19>;
  242. reset-names = "epp";
  243. };
  244. isp {
  245. compatible = "nvidia,tegra20-isp";
  246. reg = <0x54100000 0x00040000>;
  247. interrupts = <0 71 0x04>;
  248. clocks = <&tegra_car TEGRA20_CLK_ISP>;
  249. resets = <&tegra_car 23>;
  250. reset-names = "isp";
  251. };
  252. gr2d {
  253. compatible = "nvidia,tegra20-gr2d";
  254. reg = <0x54140000 0x00040000>;
  255. interrupts = <0 72 0x04>;
  256. clocks = <&tegra_car TEGRA20_CLK_GR2D>;
  257. resets = <&tegra_car 21>;
  258. reset-names = "2d";
  259. };
  260. gr3d {
  261. compatible = "nvidia,tegra20-gr3d";
  262. reg = <0x54180000 0x00040000>;
  263. clocks = <&tegra_car TEGRA20_CLK_GR3D>;
  264. resets = <&tegra_car 24>;
  265. reset-names = "3d";
  266. };
  267. dc@54200000 {
  268. compatible = "nvidia,tegra20-dc";
  269. reg = <0x54200000 0x00040000>;
  270. interrupts = <0 73 0x04>;
  271. clocks = <&tegra_car TEGRA20_CLK_DISP1>,
  272. <&tegra_car TEGRA20_CLK_PLL_P>;
  273. clock-names = "dc", "parent";
  274. resets = <&tegra_car 27>;
  275. reset-names = "dc";
  276. rgb {
  277. status = "disabled";
  278. };
  279. };
  280. dc@54240000 {
  281. compatible = "nvidia,tegra20-dc";
  282. reg = <0x54240000 0x00040000>;
  283. interrupts = <0 74 0x04>;
  284. clocks = <&tegra_car TEGRA20_CLK_DISP2>,
  285. <&tegra_car TEGRA20_CLK_PLL_P>;
  286. clock-names = "dc", "parent";
  287. resets = <&tegra_car 26>;
  288. reset-names = "dc";
  289. rgb {
  290. status = "disabled";
  291. };
  292. };
  293. hdmi {
  294. compatible = "nvidia,tegra20-hdmi";
  295. reg = <0x54280000 0x00040000>;
  296. interrupts = <0 75 0x04>;
  297. clocks = <&tegra_car TEGRA20_CLK_HDMI>,
  298. <&tegra_car TEGRA20_CLK_PLL_D_OUT0>;
  299. clock-names = "hdmi", "parent";
  300. resets = <&tegra_car 51>;
  301. reset-names = "hdmi";
  302. status = "disabled";
  303. };
  304. tvo {
  305. compatible = "nvidia,tegra20-tvo";
  306. reg = <0x542c0000 0x00040000>;
  307. interrupts = <0 76 0x04>;
  308. clocks = <&tegra_car TEGRA20_CLK_TVO>;
  309. status = "disabled";
  310. };
  311. dsi {
  312. compatible = "nvidia,tegra20-dsi";
  313. reg = <0x54300000 0x00040000>;
  314. clocks = <&tegra_car TEGRA20_CLK_DSI>,
  315. <&tegra_car TEGRA20_CLK_PLL_D_OUT0>;
  316. clock-names = "dsi", "parent";
  317. resets = <&tegra_car 48>;
  318. reset-names = "dsi";
  319. status = "disabled";
  320. };
  321. };
  322. ...
  323. };