gpu.txt 1003 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. Qualcomm adreno/snapdragon GPU
  2. Required properties:
  3. - compatible: "qcom,adreno-XYZ.W", "qcom,adreno"
  4. for example: "qcom,adreno-306.0", "qcom,adreno"
  5. Note that you need to list the less specific "qcom,adreno" (since this
  6. is what the device is matched on), in addition to the more specific
  7. with the chip-id.
  8. - reg: Physical base address and length of the controller's registers.
  9. - interrupts: The interrupt signal from the gpu.
  10. - clocks: device clocks
  11. See ../clocks/clock-bindings.txt for details.
  12. - clock-names: the following clocks are required:
  13. * "core"
  14. * "iface"
  15. * "mem_iface"
  16. Example:
  17. / {
  18. ...
  19. gpu: qcom,kgsl-3d0@4300000 {
  20. compatible = "qcom,adreno-320.2", "qcom,adreno";
  21. reg = <0x04300000 0x20000>;
  22. reg-names = "kgsl_3d0_reg_memory";
  23. interrupts = <GIC_SPI 80 0>;
  24. interrupt-names = "kgsl_3d0_irq";
  25. clock-names =
  26. "core",
  27. "iface",
  28. "mem_iface";
  29. clocks =
  30. <&mmcc GFX3D_CLK>,
  31. <&mmcc GFX3D_AHB_CLK>,
  32. <&mmcc MMSS_IMEM_AHB_CLK>;
  33. };
  34. };