Broadcom BCM2711 HDMI Controller

Schema identifier ($id): "http://devicetree.org/schemas/display/brcm,bcm2711-hdmi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Eric Anholt <eric@anholt.net>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "brcm,bcm2711-hdmi0", "brcm,bcm2711-hdmi1", "brcm,bcm2712-hdmi0", "brcm,bcm2712-hdmi1"

reg — required here #

Array item rules (items) #

Item 1

HDMI controller register range

Item 2

DVP register range

Item 3

HDMI PHY register range

Item 4

Rate Manager register range

Item 5

Packet RAM register range

Item 6

Metadata RAM register range

Item 7

CSC register range

Item 8

CEC register range

Item 9

HD register range

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "hdmi"

Item 2

Exact value (const): "dvp"

Item 3

Exact value (const): "phy"

Item 4

Exact value (const): "rm"

Item 5

Exact value (const): "packet"

Item 6

Exact value (const): "metadata"

Item 7

Exact value (const): "csc"

Item 8

Exact value (const): "cec"

Item 9

Exact value (const): "hd"

clocks — required here #

Array item rules (items) #

Item 1

The HDMI state machine clock

Item 2

The Pixel BVB clock

Item 3

The HDMI Audio parent clock

Item 4

The HDMI CEC parent clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "hdmi"

Item 2

Exact value (const): "bvb"

Item 3

Exact value (const): "audio"

Item 4

Exact value (const): "cec"

interrupts — not listed as required here #

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 6

interrupt-names — not listed as required here #

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 6

ddc — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle of the I2C controller used for DDC EDID probing

hpd-gpios — not listed as required here #

Maximum number of items (maxItems): 1

The GPIO pin for the HDMI hotplug detect (if it doesn't appear as an interrupt/status bit in the HDMI controller itself)

dmas — not listed as required here #

Maximum number of items (maxItems): 1

Should contain one entry pointing to the DMA channel used to transfer audio data.

dma-names — not listed as required here #

Exact value (const): "audio-rx"

resets — required here #

Maximum number of items (maxItems): 1

wifi-2.4ghz-coexistence — not listed as required here #

Value type (type): "boolean"

Should the pixel frequencies in the WiFi frequencies range be avoided?

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "resets", "ddc"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "brcm,bcm2711-hdmi0", "brcm,bcm2711-hdmi1"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Array item rules (items)

Item 1

CEC TX interrupt

Item 2

CEC RX interrupt

Item 3

CEC stuck at low interrupt

Item 4

Wake-up interrupt

Item 5

Hotplug connected interrupt

Item 6

Hotplug removed interrupt

interrupt-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "cec-tx"

Item 2

Exact value (const): "cec-rx"

Item 3

Exact value (const): "cec-low"

Item 4

Exact value (const): "wakeup"

Item 5

Exact value (const): "hpd-connected"

Item 6

Exact value (const): "hpd-removed"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "brcm,bcm2712-hdmi0", "brcm,bcm2712-hdmi1"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — required here

Array item rules (items)

Item 1

CEC TX interrupt

Item 2

CEC RX interrupt

Item 3

CEC stuck at low interrupt

Item 4

Hotplug connected interrupt

Item 5

Hotplug removed interrupt

interrupts-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "cec-tx"

Item 2

Exact value (const): "cec-rx"

Item 3

Exact value (const): "cec-low"

Item 4

Exact value (const): "hpd-connected"

Item 5

Exact value (const): "hpd-removed"

Required in this object (required): "interrupts", "interrupt-names"

Examples (examples) #

hdmi0: hdmi@7ef00700 {
    compatible = "brcm,bcm2711-hdmi0";
    reg = <0x7ef00700 0x300>,
          <0x7ef00300 0x200>,
          <0x7ef00f00 0x80>,
          <0x7ef00f80 0x80>,
          <0x7ef01b00 0x200>,
          <0x7ef01f00 0x400>,
          <0x7ef00200 0x80>,
          <0x7ef04300 0x100>,
          <0x7ef20000 0x100>;
    reg-names = "hdmi",
                "dvp",
                "phy",
                "rm",
                "packet",
                "metadata",
                "csc",
                "cec",
                "hd";
    clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 1>, <&clk_27MHz>;
    clock-names = "hdmi", "bvb", "audio", "cec";
    interrupts = <0>, <1>, <2>, <3>, <4>, <5>;
    interrupt-names = "cec-tx", "cec-rx", "cec-low", "wakeup",
                      "hpd-connected", "hpd-removed";
    resets = <&dvp 0>;
    ddc = <&ddc0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page