1# SPDX-License-Identifier: GPL-2.0 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/display/brcm,bcm2711-hdmi.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Broadcom BCM2711 HDMI Controller 8 9maintainers: 10 - Eric Anholt <[email protected]> 11 12properties: 13 compatible: 14 enum: 15 - brcm,bcm2711-hdmi0 16 - brcm,bcm2711-hdmi1 17 - brcm,bcm2712-hdmi0 18 - brcm,bcm2712-hdmi1 19 20 reg: 21 items: 22 - description: HDMI controller register range 23 - description: DVP register range 24 - description: HDMI PHY register range 25 - description: Rate Manager register range 26 - description: Packet RAM register range 27 - description: Metadata RAM register range 28 - description: CSC register range 29 - description: CEC register range 30 - description: HD register range 31 32 reg-names: 33 items: 34 - const: hdmi 35 - const: dvp 36 - const: phy 37 - const: rm 38 - const: packet 39 - const: metadata 40 - const: csc 41 - const: cec 42 - const: hd 43 44 clocks: 45 items: 46 - description: The HDMI state machine clock 47 - description: The Pixel BVB clock 48 - description: The HDMI Audio parent clock 49 - description: The HDMI CEC parent clock 50 51 clock-names: 52 items: 53 - const: hdmi 54 - const: bvb 55 - const: audio 56 - const: cec 57 58 interrupts: 59 items: 60 - description: CEC TX interrupt 61 - description: CEC RX interrupt 62 - description: CEC stuck at low interrupt 63 - description: Wake-up interrupt 64 - description: Hotplug connected interrupt 65 - description: Hotplug removed interrupt 66 67 interrupt-names: 68 items: 69 - const: cec-tx 70 - const: cec-rx 71 - const: cec-low 72 - const: wakeup 73 - const: hpd-connected 74 - const: hpd-removed 75 76 ddc: 77 $ref: /schemas/types.yaml#/definitions/phandle 78 description: > 79 Phandle of the I2C controller used for DDC EDID probing 80 81 hpd-gpios: 82 maxItems: 1 83 description: > 84 The GPIO pin for the HDMI hotplug detect (if it doesn't appear 85 as an interrupt/status bit in the HDMI controller itself) 86 87 dmas: 88 maxItems: 1 89 description: > 90 Should contain one entry pointing to the DMA channel used to 91 transfer audio data. 92 93 dma-names: 94 const: audio-rx 95 96 resets: 97 maxItems: 1 98 99 wifi-2.4ghz-coexistence: 100 type: boolean 101 description: > 102 Should the pixel frequencies in the WiFi frequencies range be 103 avoided? 104 105required: 106 - compatible 107 - reg 108 - reg-names 109 - clocks 110 - resets 111 - ddc 112 113additionalProperties: false 114 115examples: 116 - | 117 hdmi0: hdmi@7ef00700 { 118 compatible = "brcm,bcm2711-hdmi0"; 119 reg = <0x7ef00700 0x300>, 120 <0x7ef00300 0x200>, 121 <0x7ef00f00 0x80>, 122 <0x7ef00f80 0x80>, 123 <0x7ef01b00 0x200>, 124 <0x7ef01f00 0x400>, 125 <0x7ef00200 0x80>, 126 <0x7ef04300 0x100>, 127 <0x7ef20000 0x100>; 128 reg-names = "hdmi", 129 "dvp", 130 "phy", 131 "rm", 132 "packet", 133 "metadata", 134 "csc", 135 "cec", 136 "hd"; 137 clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 1>, <&clk_27MHz>; 138 clock-names = "hdmi", "bvb", "audio", "cec"; 139 resets = <&dvp 0>; 140 ddc = <&ddc0>; 141 }; 142 143... 144