arm,mali-midgard.txt 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. ARM Mali Midgard GPU
  2. ====================
  3. Required properties:
  4. - compatible :
  5. * Must contain one of the following:
  6. + "arm,mali-t604"
  7. + "arm,mali-t624"
  8. + "arm,mali-t628"
  9. + "arm,mali-t720"
  10. + "arm,mali-t760"
  11. + "arm,mali-t820"
  12. + "arm,mali-t830"
  13. + "arm,mali-t860"
  14. + "arm,mali-t880"
  15. * which must be preceded by one of the following vendor specifics:
  16. + "amlogic,meson-gxm-mali"
  17. + "rockchip,rk3288-mali"
  18. + "rockchip,rk3399-mali"
  19. - reg : Physical base address of the device and length of the register area.
  20. - interrupts : Contains the three IRQ lines required by Mali Midgard devices.
  21. - interrupt-names : Contains the names of IRQ resources in the order they were
  22. provided in the interrupts property. Must contain: "job", "mmu", "gpu".
  23. Optional properties:
  24. - clocks : Phandle to clock for the Mali Midgard device.
  25. - mali-supply : Phandle to regulator for the Mali device. Refer to
  26. Documentation/devicetree/bindings/regulator/regulator.txt for details.
  27. - operating-points-v2 : Refer to Documentation/devicetree/bindings/opp/opp.txt
  28. for details.
  29. Example for a Mali-T760:
  30. gpu@ffa30000 {
  31. compatible = "rockchip,rk3288-mali", "arm,mali-t760";
  32. reg = <0xffa30000 0x10000>;
  33. interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
  34. <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
  35. <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
  36. interrupt-names = "job", "mmu", "gpu";
  37. clocks = <&cru ACLK_GPU>;
  38. mali-supply = <&vdd_gpu>;
  39. operating-points-v2 = <&gpu_opp_table>;
  40. power-domains = <&power RK3288_PD_GPU>;
  41. };
  42. gpu_opp_table: opp_table0 {
  43. compatible = "operating-points-v2";
  44. opp@533000000 {
  45. opp-hz = /bits/ 64 <533000000>;
  46. opp-microvolt = <1250000>;
  47. };
  48. opp@450000000 {
  49. opp-hz = /bits/ 64 <450000000>;
  50. opp-microvolt = <1150000>;
  51. };
  52. opp@400000000 {
  53. opp-hz = /bits/ 64 <400000000>;
  54. opp-microvolt = <1125000>;
  55. };
  56. opp@350000000 {
  57. opp-hz = /bits/ 64 <350000000>;
  58. opp-microvolt = <1075000>;
  59. };
  60. opp@266000000 {
  61. opp-hz = /bits/ 64 <266000000>;
  62. opp-microvolt = <1025000>;
  63. };
  64. opp@160000000 {
  65. opp-hz = /bits/ 64 <160000000>;
  66. opp-microvolt = <925000>;
  67. };
  68. opp@100000000 {
  69. opp-hz = /bits/ 64 <100000000>;
  70. opp-microvolt = <912500>;
  71. };
  72. };