summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
diff options
context:
space:
mode:
authorRobert Chiras <robert.chiras@nxp.com>2019-11-27 17:49:52 +0200
committerRobert Chiras <robert.chiras@nxp.com>2019-11-28 17:22:31 +0200
commitb38ae2b2e6692b1f32ea4891ccc00127c28bdc87 (patch)
treedd22f11487af9d4c622c1b14e08cf496682a1bce /arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
parent48df7dc20ced7686e950a8a0eabaa5f69ff2eed7 (diff)
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 <robert.chiras@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8qxp-mek.dts')
-rwxr-xr-xarch/arm64/boot/dts/freescale/imx8qxp-mek.dts80
1 files changed, 78 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
index 710c20b0c94d..96831b86ad60 100755
--- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
+++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
@@ -418,7 +418,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>;
@@ -429,6 +429,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 {
@@ -453,6 +474,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>;
@@ -467,7 +505,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>;
@@ -478,6 +516,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 {
@@ -502,6 +561,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>;