0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/brcm,bcm2711-hdmi.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Broadcom BCM2711 HDMI Controller Device Tree Bindings
0008
0009 maintainers:
0010 - Eric Anholt <eric@anholt.net>
0011
0012 properties:
0013 compatible:
0014 enum:
0015 - brcm,bcm2711-hdmi0
0016 - brcm,bcm2711-hdmi1
0017
0018 reg:
0019 items:
0020 - description: HDMI controller register range
0021 - description: DVP register range
0022 - description: HDMI PHY register range
0023 - description: Rate Manager register range
0024 - description: Packet RAM register range
0025 - description: Metadata RAM register range
0026 - description: CSC register range
0027 - description: CEC register range
0028 - description: HD register range
0029
0030 reg-names:
0031 items:
0032 - const: hdmi
0033 - const: dvp
0034 - const: phy
0035 - const: rm
0036 - const: packet
0037 - const: metadata
0038 - const: csc
0039 - const: cec
0040 - const: hd
0041
0042 clocks:
0043 items:
0044 - description: The HDMI state machine clock
0045 - description: The Pixel BVB clock
0046 - description: The HDMI Audio parent clock
0047 - description: The HDMI CEC parent clock
0048
0049 clock-names:
0050 items:
0051 - const: hdmi
0052 - const: bvb
0053 - const: audio
0054 - const: cec
0055
0056 interrupts:
0057 items:
0058 - description: CEC TX interrupt
0059 - description: CEC RX interrupt
0060 - description: CEC stuck at low interrupt
0061 - description: Wake-up interrupt
0062 - description: Hotplug connected interrupt
0063 - description: Hotplug removed interrupt
0064
0065 interrupt-names:
0066 items:
0067 - const: cec-tx
0068 - const: cec-rx
0069 - const: cec-low
0070 - const: wakeup
0071 - const: hpd-connected
0072 - const: hpd-removed
0073
0074 ddc:
0075 $ref: /schemas/types.yaml#/definitions/phandle
0076 description: >
0077 Phandle of the I2C controller used for DDC EDID probing
0078
0079 hpd-gpios:
0080 maxItems: 1
0081 description: >
0082 The GPIO pin for the HDMI hotplug detect (if it doesn't appear
0083 as an interrupt/status bit in the HDMI controller itself)
0084
0085 dmas:
0086 maxItems: 1
0087 description: >
0088 Should contain one entry pointing to the DMA channel used to
0089 transfer audio data.
0090
0091 dma-names:
0092 const: audio-rx
0093
0094 resets:
0095 maxItems: 1
0096
0097 wifi-2.4ghz-coexistence:
0098 type: boolean
0099 description: >
0100 Should the pixel frequencies in the WiFi frequencies range be
0101 avoided?
0102
0103 required:
0104 - compatible
0105 - reg
0106 - reg-names
0107 - clocks
0108 - resets
0109 - ddc
0110
0111 additionalProperties: false
0112
0113 examples:
0114 - |
0115 hdmi0: hdmi@7ef00700 {
0116 compatible = "brcm,bcm2711-hdmi0";
0117 reg = <0x7ef00700 0x300>,
0118 <0x7ef00300 0x200>,
0119 <0x7ef00f00 0x80>,
0120 <0x7ef00f80 0x80>,
0121 <0x7ef01b00 0x200>,
0122 <0x7ef01f00 0x400>,
0123 <0x7ef00200 0x80>,
0124 <0x7ef04300 0x100>,
0125 <0x7ef20000 0x100>;
0126 reg-names = "hdmi",
0127 "dvp",
0128 "phy",
0129 "rm",
0130 "packet",
0131 "metadata",
0132 "csc",
0133 "cec",
0134 "hd";
0135 clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 1>, <&clk_27MHz>;
0136 clock-names = "hdmi", "bvb", "audio", "cec";
0137 resets = <&dvp 0>;
0138 ddc = <&ddc0>;
0139 };
0140
0141 ...