nvidia,gk20a.txt 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. NVIDIA Tegra Graphics Processing Units
  2. Required properties:
  3. - compatible: "nvidia,<gpu>"
  4. Currently recognized values:
  5. - nvidia,gk20a
  6. - nvidia,gm20b
  7. - nvidia,gp10b
  8. - nvidia,gv11b
  9. - reg: Physical base address and length of the controller's registers.
  10. Must contain two entries:
  11. - first entry for bar0
  12. - second entry for bar1
  13. - interrupts: Must contain an entry for each entry in interrupt-names.
  14. See ../interrupt-controller/interrupts.txt for details.
  15. - interrupt-names: Must include the following entries:
  16. - stall
  17. - nonstall
  18. - vdd-supply: regulator for supply voltage. Only required for GPUs not using
  19. power domains.
  20. - clocks: Must contain an entry for each entry in clock-names.
  21. See ../clocks/clock-bindings.txt for details.
  22. - clock-names: Must include the following entries:
  23. - gpu
  24. - pwr
  25. If the compatible string is "nvidia,gm20b", then the following clock
  26. is also required:
  27. - ref
  28. If the compatible string is "nvidia,gv11b", then the following clock is also
  29. required:
  30. - fuse
  31. - resets: Must contain an entry for each entry in reset-names.
  32. See ../reset/reset.txt for details.
  33. - reset-names: Must include the following entries:
  34. - gpu
  35. - power-domains: GPUs that make use of power domains can define this property
  36. instead of vdd-supply. Currently "nvidia,gp10b" makes use of this.
  37. Optional properties:
  38. - iommus: A reference to the IOMMU. See ../iommu/iommu.txt for details.
  39. Example for GK20A:
  40. gpu@57000000 {
  41. compatible = "nvidia,gk20a";
  42. reg = <0x0 0x57000000 0x0 0x01000000>,
  43. <0x0 0x58000000 0x0 0x01000000>;
  44. interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
  45. <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
  46. interrupt-names = "stall", "nonstall";
  47. vdd-supply = <&vdd_gpu>;
  48. clocks = <&tegra_car TEGRA124_CLK_GPU>,
  49. <&tegra_car TEGRA124_CLK_PLL_P_OUT5>;
  50. clock-names = "gpu", "pwr";
  51. resets = <&tegra_car 184>;
  52. reset-names = "gpu";
  53. iommus = <&mc TEGRA_SWGROUP_GPU>;
  54. };
  55. Example for GM20B:
  56. gpu@57000000 {
  57. compatible = "nvidia,gm20b";
  58. reg = <0x0 0x57000000 0x0 0x01000000>,
  59. <0x0 0x58000000 0x0 0x01000000>;
  60. interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
  61. <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
  62. interrupt-names = "stall", "nonstall";
  63. clocks = <&tegra_car TEGRA210_CLK_GPU>,
  64. <&tegra_car TEGRA210_CLK_PLL_P_OUT5>,
  65. <&tegra_car TEGRA210_CLK_PLL_G_REF>;
  66. clock-names = "gpu", "pwr", "ref";
  67. resets = <&tegra_car 184>;
  68. reset-names = "gpu";
  69. iommus = <&mc TEGRA_SWGROUP_GPU>;
  70. };
  71. Example for GP10B:
  72. gpu@17000000 {
  73. compatible = "nvidia,gp10b";
  74. reg = <0x0 0x17000000 0x0 0x1000000>,
  75. <0x0 0x18000000 0x0 0x1000000>;
  76. interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH
  77. GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
  78. interrupt-names = "stall", "nonstall";
  79. clocks = <&bpmp TEGRA186_CLK_GPCCLK>,
  80. <&bpmp TEGRA186_CLK_GPU>;
  81. clock-names = "gpu", "pwr";
  82. resets = <&bpmp TEGRA186_RESET_GPU>;
  83. reset-names = "gpu";
  84. power-domains = <&bpmp TEGRA186_POWER_DOMAIN_GPU>;
  85. iommus = <&smmu TEGRA186_SID_GPU>;
  86. };
  87. Example for GV11B:
  88. gpu@17000000 {
  89. compatible = "nvidia,gv11b";
  90. reg = <0x17000000 0x1000000>,
  91. <0x18000000 0x1000000>;
  92. interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
  93. <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
  94. interrupt-names = "stall", "nonstall";
  95. clocks = <&bpmp TEGRA194_CLK_GPCCLK>,
  96. <&bpmp TEGRA194_CLK_GPU_PWR>,
  97. <&bpmp TEGRA194_CLK_FUSE>;
  98. clock-names = "gpu", "pwr", "fuse";
  99. resets = <&bpmp TEGRA194_RESET_GPU>;
  100. reset-names = "gpu";
  101. dma-coherent;
  102. power-domains = <&bpmp TEGRA194_POWER_DOMAIN_GPU>;
  103. iommus = <&smmu TEGRA194_SID_GPU>;
  104. };