0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/brcm,bcm2835-hdmi.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Broadcom VC4 (VideoCore4) HDMI Controller
0008
0009 maintainers:
0010 - Eric Anholt <eric@anholt.net>
0011
0012 properties:
0013 compatible:
0014 const: brcm,bcm2835-hdmi
0015
0016 reg:
0017 items:
0018 - description: HDMI register range
0019 - description: HD register range
0020
0021 interrupts:
0022 minItems: 2
0023
0024 clocks:
0025 items:
0026 - description: The pixel clock
0027 - description: The HDMI state machine clock
0028
0029 clock-names:
0030 items:
0031 - const: pixel
0032 - const: hdmi
0033
0034 ddc:
0035 $ref: /schemas/types.yaml#/definitions/phandle
0036 description: >
0037 Phandle of the I2C controller used for DDC EDID probing
0038
0039 hpd-gpios:
0040 maxItems: 1
0041 description: >
0042 The GPIO pin for the HDMI hotplug detect (if it doesn't appear
0043 as an interrupt/status bit in the HDMI controller itself)
0044
0045 dmas:
0046 maxItems: 1
0047 description: >
0048 Should contain one entry pointing to the DMA channel used to
0049 transfer audio data.
0050
0051 dma-names:
0052 const: audio-rx
0053
0054 power-domains:
0055 maxItems: 1
0056
0057 required:
0058 - compatible
0059 - reg
0060 - interrupts
0061 - clocks
0062 - ddc
0063
0064 additionalProperties: false
0065
0066 examples:
0067 - |
0068 #include <dt-bindings/clock/bcm2835.h>
0069 #include <dt-bindings/gpio/gpio.h>
0070
0071 hdmi: hdmi@7e902000 {
0072 compatible = "brcm,bcm2835-hdmi";
0073 reg = <0x7e902000 0x600>,
0074 <0x7e808000 0x100>;
0075 interrupts = <2 8>, <2 9>;
0076 ddc = <&i2c2>;
0077 hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
0078 clocks = <&clocks BCM2835_PLLH_PIX>,
0079 <&clocks BCM2835_CLOCK_HSM>;
0080 clock-names = "pixel", "hdmi";
0081 };
0082
0083 ...