xref: /linux/arch/arm/boot/dts/nxp/imx/imx53-qsb-hdmi.dtso (revision 71dfa617ea9f18e4585fe78364217cd32b1fc382)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * DT overlay for MCIMXHDMICARD as used with the iMX53 QSB or QSRB boards
4 */
5
6#include <dt-bindings/interrupt-controller/irq.h>
7#include <dt-bindings/gpio/gpio.h>
8
9/dts-v1/;
10/plugin/;
11
12&{/} {
13	/delete-node/ panel;
14
15	hdmi: connector-hdmi {
16		compatible = "hdmi-connector";
17		label = "hdmi";
18		type = "a";
19
20		port {
21			hdmi_connector_in: endpoint {
22				remote-endpoint = <&sii9022_out>;
23			};
24		};
25	};
26
27	reg_1p2v: regulator-1p2v {
28		compatible = "regulator-fixed";
29		regulator-name = "1P2V";
30		regulator-min-microvolt = <1200000>;
31		regulator-max-microvolt = <1200000>;
32		regulator-always-on;
33		vin-supply = <&reg_3p2v>;
34	};
35};
36
37&display0 {
38	status = "okay";
39};
40
41&display0 {
42	port@1 {
43		display0_out: endpoint {
44			remote-endpoint = <&sii9022_in>;
45		};
46	};
47};
48
49&i2c2 {
50	#address-cells = <1>;
51	#size-cells = <0>;
52
53	sii9022: bridge-hdmi@39 {
54		compatible = "sil,sii9022";
55		reg = <0x39>;
56		reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
57		interrupts-extended = <&gpio3 31 IRQ_TYPE_LEVEL_LOW>;
58		iovcc-supply = <&reg_3p2v>;
59		#sound-dai-cells = <0>;
60		sil,i2s-data-lanes = <0>;
61
62		ports {
63			#address-cells = <1>;
64			#size-cells = <0>;
65
66			port@0 {
67				reg = <0>;
68
69				sii9022_in: endpoint {
70					remote-endpoint = <&display0_out>;
71				};
72			};
73
74			port@1 {
75				reg = <1>;
76
77				sii9022_out: endpoint {
78					remote-endpoint = <&hdmi_connector_in>;
79				};
80			};
81		};
82	};
83};
84
85&tve {
86	status = "disabled";
87};
88