From: Robert Chiras Date: Wed, 27 Nov 2019 15:49:52 +0000 (+0200) Subject: arm64: dts: imx8qxp: Add nodes for adv7535 device X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~577^2~2^2~591 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=9a2a3fa5b6d291dc18c4e7ebcc39f1baa8056463;p=linux.git arm64: dts: imx8qxp: Add nodes for adv7535 device Add dts nodes for adv7535 DSI-HDMI converter and connect them to their corresponding mipi dsi nodes. Use dsi-adv7535 as default use-case for imx8qxp-mek.dtb file. Signed-off-by: Robert Chiras --- diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index 1d483f0ebe00..cbff63de4d9a 100755 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -416,7 +416,7 @@ clock-frequency = <100000>; status = "okay"; - lvds-to-hdmi-bridge@4c { + lvds_bridge0: lvds-to-hdmi-bridge@4c { compatible = "ite,it6263"; reg = <0x4c>; reset-gpios = <&pca9557_a 6 GPIO_ACTIVE_LOW>; @@ -427,6 +427,27 @@ }; }; }; + + adv_bridge0: adv7535@3d { + #address-cells = <1>; + #size-cells = <0>; + + compatible = "adi,adv7535"; + reg = <0x3d>; + adi,addr-cec = <0x3b>; + adi,dsi-lanes = <4>; + adi,dsi-channel = <1>; + interrupt-parent = <&lsio_gpio1>; + interrupts = <28 IRQ_TYPE_LEVEL_LOW>; + status = "okay"; + + port@0 { + reg = <0>; + adv7535_0_in: endpoint { + remote-endpoint = <&mipi0_adv_out>; + }; + }; + }; }; &ldb1_phy { @@ -451,6 +472,23 @@ }; }; +&mipi0_dphy { + status = "okay"; +}; + +&mipi0_dsi_host { + status = "okay"; + + ports { + port@1 { + reg = <1>; + mipi0_adv_out: endpoint { + remote-endpoint = <&adv7535_0_in>; + }; + }; + }; +}; + &pwm_mipi_lvds1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm_mipi_lvds1>; @@ -465,7 +503,7 @@ clock-frequency = <100000>; status = "okay"; - lvds-to-hdmi-bridge@4c { + lvds_bridge1: lvds-to-hdmi-bridge@4c { compatible = "ite,it6263"; reg = <0x4c>; reset-gpios = <&pca9557_b 7 GPIO_ACTIVE_LOW>; @@ -476,6 +514,27 @@ }; }; }; + + adv_bridge1: adv7535@3d { + #address-cells = <1>; + #size-cells = <0>; + + compatible = "adi,adv7535"; + reg = <0x3d>; + adi,addr-cec = <0x3b>; + adi,dsi-lanes = <4>; + adi,dsi-channel = <1>; + interrupt-parent = <&lsio_gpio2>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + status = "okay"; + + port@0 { + reg = <0>; + adv7535_1_in: endpoint { + remote-endpoint = <&mipi1_adv_out>; + }; + }; + }; }; &ldb2_phy { @@ -500,6 +559,23 @@ }; }; +&mipi1_dphy { + status = "okay"; +}; + +&mipi1_dsi_host { + status = "okay"; + + ports { + port@1 { + reg = <1>; + mipi1_adv_out: endpoint { + remote-endpoint = <&adv7535_1_in>; + }; + }; + }; +}; + &lpuart0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpuart0>;