Skip to content

Commit 65344b9

Browse files
Fabio EstevamShawn Guo
authored andcommitted
arm64: dts: imx8mp-evk: Add HDMI support
imx8mp-evk has a MIPI DSI port that can be used with a ADV7535 MIPI DSI to HDMI bridge. Add support for it. Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent b8e4498 commit 65344b9

1 file changed

Lines changed: 66 additions & 0 deletions

File tree

arch/arm64/boot/dts/freescale/imx8mp-evk.dts

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@
1616
stdout-path = &uart2;
1717
};
1818

19+
hdmi-connector {
20+
compatible = "hdmi-connector";
21+
label = "hdmi";
22+
type = "a";
23+
24+
port {
25+
hdmi_connector_in: endpoint {
26+
remote-endpoint = <&adv7533_out>;
27+
};
28+
};
29+
};
30+
1931
gpio-leds {
2032
compatible = "gpio-leds";
2133
pinctrl-names = "default";
@@ -378,6 +390,40 @@
378390
pinctrl-names = "default";
379391
pinctrl-0 = <&pinctrl_i2c2>;
380392
status = "okay";
393+
394+
hdmi@3d {
395+
compatible = "adi,adv7535";
396+
reg = <0x3d>, <0x3c>, <0x3e>, <0x3f>;
397+
reg-names = "main", "cec", "edid", "packet";
398+
adi,dsi-lanes = <4>;
399+
adi,input-depth = <8>;
400+
adi,input-colorspace = "rgb";
401+
adi,input-clock = "1x";
402+
adi,input-style = <1>;
403+
adi,input-justification = "evenly";
404+
405+
ports {
406+
#address-cells = <1>;
407+
#size-cells = <0>;
408+
409+
port@0 {
410+
reg = <0>;
411+
412+
adv7533_in: endpoint {
413+
remote-endpoint = <&dsi_out>;
414+
};
415+
};
416+
417+
port@1 {
418+
reg = <1>;
419+
420+
adv7533_out: endpoint {
421+
remote-endpoint = <&hdmi_connector_in>;
422+
};
423+
};
424+
425+
};
426+
};
381427
};
382428

383429
&i2c3 {
@@ -443,6 +489,26 @@
443489
*/
444490
};
445491

492+
&lcdif1 {
493+
status = "okay";
494+
};
495+
496+
&mipi_dsi {
497+
samsung,esc-clock-frequency = <10000000>;
498+
status = "okay";
499+
500+
ports {
501+
port@1 {
502+
reg = <1>;
503+
504+
dsi_out: endpoint {
505+
remote-endpoint = <&adv7533_in>;
506+
data-lanes = <1 2 3 4>;
507+
};
508+
};
509+
};
510+
};
511+
446512
&pcie_phy {
447513
fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
448514
clocks = <&pcie0_refclk>;

0 commit comments

Comments
 (0)