brcm,bcm-vc4.txt 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Broadcom VC4 (VideoCore4) GPU
  2. The VC4 device present on the Raspberry Pi includes a display system
  3. with HDMI output and the HVS (Hardware Video Scaler) for compositing
  4. display planes.
  5. Required properties for VC4:
  6. - compatible: Should be "brcm,bcm2835-vc4"
  7. Required properties for Pixel Valve:
  8. - compatible: Should be one of "brcm,bcm2835-pixelvalve0",
  9. "brcm,bcm2835-pixelvalve1", or "brcm,bcm2835-pixelvalve2"
  10. - reg: Physical base address and length of the PV's registers
  11. - interrupts: The interrupt number
  12. See bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt
  13. Required properties for HVS:
  14. - compatible: Should be "brcm,bcm2835-hvs"
  15. - reg: Physical base address and length of the HVS's registers
  16. - interrupts: The interrupt number
  17. See bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt
  18. Required properties for HDMI
  19. - compatible: Should be "brcm,bcm2835-hdmi"
  20. - reg: Physical base address and length of the two register ranges
  21. ("HDMI" and "HD", in that order)
  22. - interrupts: The interrupt numbers
  23. See bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt
  24. - ddc: phandle of the I2C controller used for DDC EDID probing
  25. - clocks: a) hdmi: The HDMI state machine clock
  26. b) pixel: The pixel clock.
  27. Optional properties for HDMI:
  28. - hpd-gpios: The GPIO pin for HDMI hotplug detect (if it doesn't appear
  29. as an interrupt/status bit in the HDMI controller
  30. itself). See bindings/pinctrl/brcm,bcm2835-gpio.txt
  31. Example:
  32. pixelvalve@7e807000 {
  33. compatible = "brcm,bcm2835-pixelvalve2";
  34. reg = <0x7e807000 0x100>;
  35. interrupts = <2 10>; /* pixelvalve */
  36. };
  37. hvs@7e400000 {
  38. compatible = "brcm,bcm2835-hvs";
  39. reg = <0x7e400000 0x6000>;
  40. interrupts = <2 1>;
  41. };
  42. hdmi: hdmi@7e902000 {
  43. compatible = "brcm,bcm2835-hdmi";
  44. reg = <0x7e902000 0x600>,
  45. <0x7e808000 0x100>;
  46. interrupts = <2 8>, <2 9>;
  47. ddc = <&i2c2>;
  48. hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
  49. clocks = <&clocks BCM2835_PLLH_PIX>,
  50. <&clocks BCM2835_CLOCK_HSM>;
  51. clock-names = "pixel", "hdmi";
  52. };
  53. vc4: gpu {
  54. compatible = "brcm,bcm2835-vc4";
  55. };