xref: /linux/arch/arm64/boot/dts/freescale/imx8mp-hummingboard-pulse-mini-hdmi.dtsi (revision 4f38da1f027ea2c9f01bb71daa7a299c191b6940)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright 2025 Josua Mayer <josua@solid-run.com>
4 */
5
6/ {
7	hdmi-connector {
8		compatible = "hdmi-connector";
9		label = "hdmi";
10		type = "c";
11
12		port {
13			hdmi_connector_in: endpoint {
14				remote-endpoint = <&adv7535_out>;
15			};
16		};
17	};
18};
19
20&i2c3 {
21	hdmi@3d {
22		compatible = "adi,adv7535";
23		reg = <0x3d>, <0x3f>, <0x3c>, <0x38>;
24		reg-names = "main", "edid", "cec", "packet";
25		adi,dsi-lanes = <4>;
26		avdd-supply = <&v_1_8>;
27		dvdd-supply = <&v_1_8>;
28		pvdd-supply = <&v_1_8>;
29		a2vdd-supply = <&v_1_8>;
30		v3p3-supply = <&v_3_3>;
31		pinctrl-names = "default";
32		pinctrl-0 = <&mini_hdmi_pins>;
33		interrupt-parent = <&gpio4>;
34		interrupts = <27 IRQ_TYPE_EDGE_FALLING>;
35
36		ports {
37			#address-cells = <1>;
38			#size-cells = <0>;
39
40			port@0 {
41				reg = <0>;
42
43				adv7535_from_dsim: endpoint {
44					remote-endpoint = <&dsim_to_adv7535>;
45				};
46			};
47
48			port@1 {
49				reg = <1>;
50
51				adv7535_out: endpoint {
52					remote-endpoint = <&hdmi_connector_in>;
53				};
54			};
55		};
56	};
57};
58
59&iomuxc {
60	mini_hdmi_pins: pinctrl-mini-hdmi-grp {
61		fsl,pins = <
62			MX8MP_IOMUXC_SAI2_MCLK__GPIO4_IO27		0x0
63		>;
64	};
65};
66
67&lcdif1 {
68	status = "okay";
69};
70
71&mipi_dsi {
72	samsung,esc-clock-frequency = <10000000>;
73	status = "okay";
74
75	port@1 {
76		dsim_to_adv7535: endpoint {
77			remote-endpoint = <&adv7535_from_dsim>;
78			attach-bridge;
79		};
80	};
81};
82