12eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 22eb4d8dcSEmmanuel Vadot%YAML 1.2 32eb4d8dcSEmmanuel Vadot--- 42eb4d8dcSEmmanuel Vadot$id: http://devicetree.org/schemas/display/imx/fsl,imx6-hdmi.yaml# 52eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 62eb4d8dcSEmmanuel Vadot 72eb4d8dcSEmmanuel Vadottitle: Freescale i.MX6 DWC HDMI TX Encoder 82eb4d8dcSEmmanuel Vadot 92eb4d8dcSEmmanuel Vadotmaintainers: 102eb4d8dcSEmmanuel Vadot - Philipp Zabel <p.zabel@pengutronix.de> 112eb4d8dcSEmmanuel Vadot 122eb4d8dcSEmmanuel Vadotdescription: | 132eb4d8dcSEmmanuel Vadot The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP 142eb4d8dcSEmmanuel Vadot with a companion PHY IP. 152eb4d8dcSEmmanuel Vadot 162eb4d8dcSEmmanuel VadotallOf: 172eb4d8dcSEmmanuel Vadot - $ref: ../bridge/synopsys,dw-hdmi.yaml# 182eb4d8dcSEmmanuel Vadot 192eb4d8dcSEmmanuel Vadotproperties: 202eb4d8dcSEmmanuel Vadot compatible: 212eb4d8dcSEmmanuel Vadot enum: 222eb4d8dcSEmmanuel Vadot - fsl,imx6dl-hdmi 232eb4d8dcSEmmanuel Vadot - fsl,imx6q-hdmi 242eb4d8dcSEmmanuel Vadot 252eb4d8dcSEmmanuel Vadot reg-io-width: 262eb4d8dcSEmmanuel Vadot const: 1 272eb4d8dcSEmmanuel Vadot 282eb4d8dcSEmmanuel Vadot clocks: 292eb4d8dcSEmmanuel Vadot maxItems: 2 302eb4d8dcSEmmanuel Vadot 312eb4d8dcSEmmanuel Vadot clock-names: 322eb4d8dcSEmmanuel Vadot maxItems: 2 332eb4d8dcSEmmanuel Vadot 342eb4d8dcSEmmanuel Vadot gpr: 352eb4d8dcSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 362eb4d8dcSEmmanuel Vadot description: 372eb4d8dcSEmmanuel Vadot phandle to the iomuxc-gpr region containing the HDMI multiplexer control 382eb4d8dcSEmmanuel Vadot register. 392eb4d8dcSEmmanuel Vadot 402eb4d8dcSEmmanuel Vadot ports: 412eb4d8dcSEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/ports 422eb4d8dcSEmmanuel Vadot description: | 432eb4d8dcSEmmanuel Vadot This device has four video ports, corresponding to the four inputs of the 442eb4d8dcSEmmanuel Vadot HDMI multiplexer. Each port shall have a single endpoint. 452eb4d8dcSEmmanuel Vadot 462eb4d8dcSEmmanuel Vadot properties: 472eb4d8dcSEmmanuel Vadot port@0: 482eb4d8dcSEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 492eb4d8dcSEmmanuel Vadot description: First input of the HDMI multiplexer 502eb4d8dcSEmmanuel Vadot 512eb4d8dcSEmmanuel Vadot port@1: 522eb4d8dcSEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 532eb4d8dcSEmmanuel Vadot description: Second input of the HDMI multiplexer 542eb4d8dcSEmmanuel Vadot 552eb4d8dcSEmmanuel Vadot port@2: 562eb4d8dcSEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 572eb4d8dcSEmmanuel Vadot description: Third input of the HDMI multiplexer 582eb4d8dcSEmmanuel Vadot 592eb4d8dcSEmmanuel Vadot port@3: 602eb4d8dcSEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 612eb4d8dcSEmmanuel Vadot description: Fourth input of the HDMI multiplexer 622eb4d8dcSEmmanuel Vadot 632eb4d8dcSEmmanuel Vadot anyOf: 642eb4d8dcSEmmanuel Vadot - required: 652eb4d8dcSEmmanuel Vadot - port@0 662eb4d8dcSEmmanuel Vadot - required: 672eb4d8dcSEmmanuel Vadot - port@1 682eb4d8dcSEmmanuel Vadot - required: 692eb4d8dcSEmmanuel Vadot - port@2 702eb4d8dcSEmmanuel Vadot - required: 712eb4d8dcSEmmanuel Vadot - port@3 722eb4d8dcSEmmanuel Vadot 732eb4d8dcSEmmanuel Vadotrequired: 742eb4d8dcSEmmanuel Vadot - compatible 752eb4d8dcSEmmanuel Vadot - reg 762eb4d8dcSEmmanuel Vadot - clocks 772eb4d8dcSEmmanuel Vadot - clock-names 782eb4d8dcSEmmanuel Vadot - gpr 792eb4d8dcSEmmanuel Vadot - interrupts 802eb4d8dcSEmmanuel Vadot - ports 812eb4d8dcSEmmanuel Vadot 82*aa1a8ff2SEmmanuel VadotunevaluatedProperties: false 832eb4d8dcSEmmanuel Vadot 842eb4d8dcSEmmanuel Vadotexamples: 852eb4d8dcSEmmanuel Vadot - | 862eb4d8dcSEmmanuel Vadot #include <dt-bindings/clock/imx6qdl-clock.h> 872eb4d8dcSEmmanuel Vadot 882eb4d8dcSEmmanuel Vadot hdmi: hdmi@120000 { 892eb4d8dcSEmmanuel Vadot reg = <0x00120000 0x9000>; 902eb4d8dcSEmmanuel Vadot interrupts = <0 115 0x04>; 912eb4d8dcSEmmanuel Vadot gpr = <&gpr>; 922eb4d8dcSEmmanuel Vadot clocks = <&clks IMX6QDL_CLK_HDMI_IAHB>, 932eb4d8dcSEmmanuel Vadot <&clks IMX6QDL_CLK_HDMI_ISFR>; 942eb4d8dcSEmmanuel Vadot clock-names = "iahb", "isfr"; 952eb4d8dcSEmmanuel Vadot 962eb4d8dcSEmmanuel Vadot ports { 972eb4d8dcSEmmanuel Vadot #address-cells = <1>; 982eb4d8dcSEmmanuel Vadot #size-cells = <0>; 992eb4d8dcSEmmanuel Vadot 1002eb4d8dcSEmmanuel Vadot port@0 { 1012eb4d8dcSEmmanuel Vadot reg = <0>; 1022eb4d8dcSEmmanuel Vadot 1032eb4d8dcSEmmanuel Vadot hdmi_mux_0: endpoint { 1042eb4d8dcSEmmanuel Vadot remote-endpoint = <&ipu1_di0_hdmi>; 1052eb4d8dcSEmmanuel Vadot }; 1062eb4d8dcSEmmanuel Vadot }; 1072eb4d8dcSEmmanuel Vadot 1082eb4d8dcSEmmanuel Vadot port@1 { 1092eb4d8dcSEmmanuel Vadot reg = <1>; 1102eb4d8dcSEmmanuel Vadot 1112eb4d8dcSEmmanuel Vadot hdmi_mux_1: endpoint { 1122eb4d8dcSEmmanuel Vadot remote-endpoint = <&ipu1_di1_hdmi>; 1132eb4d8dcSEmmanuel Vadot }; 1142eb4d8dcSEmmanuel Vadot }; 1152eb4d8dcSEmmanuel Vadot }; 1162eb4d8dcSEmmanuel Vadot }; 1172eb4d8dcSEmmanuel Vadot 1182eb4d8dcSEmmanuel Vadot... 119