nvidia,tegra20-host1x.txt 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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. The host1x top-level node defines a number of children, each representing one
  12. of the following host1x client modules:
  13. - mpe: video encoder
  14. Required properties:
  15. - compatible: "nvidia,tegra<chip>-mpe"
  16. - reg: Physical base address and length of the controller's registers.
  17. - interrupts: The interrupt outputs from the controller.
  18. - vi: video input
  19. Required properties:
  20. - compatible: "nvidia,tegra<chip>-vi"
  21. - reg: Physical base address and length of the controller's registers.
  22. - interrupts: The interrupt outputs from the controller.
  23. - epp: encoder pre-processor
  24. Required properties:
  25. - compatible: "nvidia,tegra<chip>-epp"
  26. - reg: Physical base address and length of the controller's registers.
  27. - interrupts: The interrupt outputs from the controller.
  28. - isp: image signal processor
  29. Required properties:
  30. - compatible: "nvidia,tegra<chip>-isp"
  31. - reg: Physical base address and length of the controller's registers.
  32. - interrupts: The interrupt outputs from the controller.
  33. - gr2d: 2D graphics engine
  34. Required properties:
  35. - compatible: "nvidia,tegra<chip>-gr2d"
  36. - reg: Physical base address and length of the controller's registers.
  37. - interrupts: The interrupt outputs from the controller.
  38. - gr3d: 3D graphics engine
  39. Required properties:
  40. - compatible: "nvidia,tegra<chip>-gr3d"
  41. - reg: Physical base address and length of the controller's registers.
  42. - dc: display controller
  43. Required properties:
  44. - compatible: "nvidia,tegra<chip>-dc"
  45. - reg: Physical base address and length of the controller's registers.
  46. - interrupts: The interrupt outputs from the controller.
  47. Each display controller node has a child node, named "rgb", that represents
  48. the RGB output associated with the controller. It can take the following
  49. optional properties:
  50. - nvidia,ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing
  51. - nvidia,hpd-gpio: specifies a GPIO used for hotplug detection
  52. - nvidia,edid: supplies a binary EDID blob
  53. - hdmi: High Definition Multimedia Interface
  54. Required properties:
  55. - compatible: "nvidia,tegra<chip>-hdmi"
  56. - reg: Physical base address and length of the controller's registers.
  57. - interrupts: The interrupt outputs from the controller.
  58. - vdd-supply: regulator for supply voltage
  59. - pll-supply: regulator for PLL
  60. Optional properties:
  61. - nvidia,ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing
  62. - nvidia,hpd-gpio: specifies a GPIO used for hotplug detection
  63. - nvidia,edid: supplies a binary EDID blob
  64. - tvo: TV encoder output
  65. Required properties:
  66. - compatible: "nvidia,tegra<chip>-tvo"
  67. - reg: Physical base address and length of the controller's registers.
  68. - interrupts: The interrupt outputs from the controller.
  69. - dsi: display serial interface
  70. Required properties:
  71. - compatible: "nvidia,tegra<chip>-dsi"
  72. - reg: Physical base address and length of the controller's registers.
  73. Example:
  74. / {
  75. ...
  76. host1x {
  77. compatible = "nvidia,tegra20-host1x", "simple-bus";
  78. reg = <0x50000000 0x00024000>;
  79. interrupts = <0 65 0x04 /* mpcore syncpt */
  80. 0 67 0x04>; /* mpcore general */
  81. #address-cells = <1>;
  82. #size-cells = <1>;
  83. ranges = <0x54000000 0x54000000 0x04000000>;
  84. mpe {
  85. compatible = "nvidia,tegra20-mpe";
  86. reg = <0x54040000 0x00040000>;
  87. interrupts = <0 68 0x04>;
  88. };
  89. vi {
  90. compatible = "nvidia,tegra20-vi";
  91. reg = <0x54080000 0x00040000>;
  92. interrupts = <0 69 0x04>;
  93. };
  94. epp {
  95. compatible = "nvidia,tegra20-epp";
  96. reg = <0x540c0000 0x00040000>;
  97. interrupts = <0 70 0x04>;
  98. };
  99. isp {
  100. compatible = "nvidia,tegra20-isp";
  101. reg = <0x54100000 0x00040000>;
  102. interrupts = <0 71 0x04>;
  103. };
  104. gr2d {
  105. compatible = "nvidia,tegra20-gr2d";
  106. reg = <0x54140000 0x00040000>;
  107. interrupts = <0 72 0x04>;
  108. };
  109. gr3d {
  110. compatible = "nvidia,tegra20-gr3d";
  111. reg = <0x54180000 0x00040000>;
  112. };
  113. dc@54200000 {
  114. compatible = "nvidia,tegra20-dc";
  115. reg = <0x54200000 0x00040000>;
  116. interrupts = <0 73 0x04>;
  117. rgb {
  118. status = "disabled";
  119. };
  120. };
  121. dc@54240000 {
  122. compatible = "nvidia,tegra20-dc";
  123. reg = <0x54240000 0x00040000>;
  124. interrupts = <0 74 0x04>;
  125. rgb {
  126. status = "disabled";
  127. };
  128. };
  129. hdmi {
  130. compatible = "nvidia,tegra20-hdmi";
  131. reg = <0x54280000 0x00040000>;
  132. interrupts = <0 75 0x04>;
  133. status = "disabled";
  134. };
  135. tvo {
  136. compatible = "nvidia,tegra20-tvo";
  137. reg = <0x542c0000 0x00040000>;
  138. interrupts = <0 76 0x04>;
  139. status = "disabled";
  140. };
  141. dsi {
  142. compatible = "nvidia,tegra20-dsi";
  143. reg = <0x54300000 0x00040000>;
  144. status = "disabled";
  145. };
  146. };
  147. ...
  148. };