summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/nxp/imx/imx53-qsb-hdmi.dtso
blob: 151e9cee3c87eef9e83529cd42a056c4a56dca96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * DT overlay for MCIMXHDMICARD as used with the iMX53 QSB or QSRB boards
 */

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>

/dts-v1/;
/plugin/;

&{/} {
	hdmi: connector-hdmi {
		compatible = "hdmi-connector";
		label = "hdmi";
		type = "a";

		port {
			hdmi_connector_in: endpoint {
				remote-endpoint = <&sii9022_out>;
			};
		};
	};

	reg_1p2v: regulator-1p2v {
		compatible = "regulator-fixed";
		regulator-name = "1P2V";
		regulator-min-microvolt = <1200000>;
		regulator-max-microvolt = <1200000>;
		regulator-always-on;
		vin-supply = <&reg_3p2v>;
	};
};

&display0 {
	status = "okay";
};

&display0 {
	port@1 {
		display0_out: endpoint {
			remote-endpoint = <&sii9022_in>;
		};
	};
};

&i2c2 {
	#address-cells = <1>;
	#size-cells = <0>;

	sii9022: bridge-hdmi@39 {
		compatible = "sil,sii9022";
		reg = <0x39>;
		reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
		interrupts-extended = <&gpio3 31 IRQ_TYPE_LEVEL_LOW>;
		iovcc-supply = <&reg_3p2v>;
		#sound-dai-cells = <0>;
		sil,i2s-data-lanes = <0>;

		ports {
			#address-cells = <1>;
			#size-cells = <0>;

			port@0 {
				reg = <0>;

				sii9022_in: endpoint {
					remote-endpoint = <&display0_out>;
				};
			};

			port@1 {
				reg = <1>;

				sii9022_out: endpoint {
					remote-endpoint = <&hdmi_connector_in>;
				};
			};
		};
	};
};

&panel_dpi {
	status = "disabled";
};

&tve {
	status = "disabled";
};