MLK-16801-1: arm64: dts: fsl-imx8qm-lpddr4-arm2: Add DTS for 4 displays.
authorOliver Brown <oliver.brown@nxp.com>
Mon, 13 Nov 2017 00:59:32 +0000 (18:59 -0600)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:46:55 +0000 (15:46 -0500)
Add DTS for 4 displays: 2 LVDS with it6263 and 2 MIPI with adv7535.

Signed-off-by: Oliver Brown <oliver.brown@nxp.com>
arch/arm64/boot/dts/freescale/Makefile
arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-it6263-adv7535.dts [new file with mode: 0644]

index a68e640..5292e2a 100644 (file)
@@ -17,7 +17,8 @@ dtb-$(CONFIG_ARCH_FSL_IMX8QM) += fsl-imx8qm-lpddr4-arm2.dtb \
                                 fsl-imx8qm-lpddr4-arm2-mqs.dtb \
                                 fsl-imx8qm-lpddr4-arm2-usb3.dtb \
                                 fsl-imx8qm-lpddr4-arm2-dsi-adv7535.dtb \
-                                fsl-imx8qm-lpddr4-arm2-dsi-rm67191.dtb
+                                fsl-imx8qm-lpddr4-arm2-dsi-rm67191.dtb \
+                                fsl-imx8qm-lpddr4-arm2-it6263-adv7535.dtb
 dtb-$(CONFIG_ARCH_FSL_IMX8QXP) += fsl-imx8qxp-lpddr4-arm2.dtb \
                                  fsl-imx8qxp-mek.dtb \
                                  fsl-imx8qxp-mek-enet2.dtb \
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-it6263-adv7535.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-it6263-adv7535.dts
new file mode 100644 (file)
index 0000000..8128056
--- /dev/null
@@ -0,0 +1,179 @@
+/*
+ * Copyright 2017 NXP
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
+#include "fsl-imx8qm-lpddr4-arm2.dts"
+
+&ldb1_phy {
+       status = "okay";
+};
+
+&ldb1 {
+       status = "okay";
+
+       lvds-channel@0 {
+               fsl,data-mapping = "jeida";
+               fsl,data-width = <24>;
+               status = "okay";
+
+               port@1 {
+                       reg = <1>;
+
+                       lvds0_out: endpoint {
+                               remote-endpoint = <&it6263_0_in>;
+                       };
+               };
+       };
+};
+
+&i2c1_lvds0 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_lvds0_lpi2c1>;
+       clock-frequency = <100000>;
+       status = "okay";
+
+       lvds-to-hdmi-bridge@4c {
+               compatible = "ite,it6263";
+               reg = <0x4c>;
+
+               port {
+                       it6263_0_in: endpoint {
+                               clock-lanes = <3>;
+                               data-lanes = <0 1 2 4>;
+                               remote-endpoint = <&lvds0_out>;
+                       };
+               };
+       };
+};
+
+&ldb2_phy {
+       status = "okay";
+};
+
+&ldb2 {
+       status = "okay";
+
+       lvds-channel@0 {
+               fsl,data-mapping = "jeida";
+               fsl,data-width = <24>;
+               status = "okay";
+
+               port@1 {
+                       reg = <1>;
+
+                       lvds1_out: endpoint {
+                               remote-endpoint = <&it6263_1_in>;
+                       };
+               };
+       };
+};
+
+&i2c1_lvds1 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_lvds1_lpi2c1>;
+       clock-frequency = <100000>;
+       status = "okay";
+
+       lvds-to-hdmi-bridge@4c {
+               compatible = "ite,it6263";
+               reg = <0x4c>;
+
+               port {
+                       it6263_1_in: endpoint {
+                               clock-lanes = <3>;
+                               data-lanes = <0 1 2 4>;
+                               remote-endpoint = <&lvds1_out>;
+                       };
+               };
+       };
+};
+
+&hdmi {
+       status = "disabled";
+};
+
+&i2c0_mipi_dsi0 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_mipi0_lpi2c0>;
+       clock-frequency = <100000>;
+       status = "okay";
+
+       adv_bridge1: adv7535@3d {
+               compatible = "adi,adv7535", "adi,adv7533";
+               reg = <0x3d>;
+               adi,dsi-lanes = <4>;
+               status = "okay";
+
+               port {
+                       adv7535_1_in: endpoint {
+                               remote-endpoint = <&mipi_dsi1_out>;
+                       };
+               };
+       };
+};
+
+&mipi_dsi_phy1 {
+       status = "okay";
+};
+
+&mipi_dsi1 {
+       status = "okay";
+
+       port@1 {
+               mipi_dsi1_out: endpoint {
+                       remote-endpoint = <&adv7535_1_in>;
+               };
+       };
+};
+
+&i2c0_mipi_dsi1 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_mipi1_lpi2c0>;
+       clock-frequency = <100000>;
+       status = "okay";
+
+       adv_bridge2: adv7535@3d {
+               compatible = "adi,adv7535", "adi,adv7533";
+               reg = <0x3d>;
+               adi,dsi-lanes = <4>;
+               status = "okay";
+
+               port {
+                       adv7535_2_in: endpoint {
+                               remote-endpoint = <&mipi_dsi2_out>;
+                       };
+               };
+       };
+};
+
+&mipi_dsi_phy2 {
+       status = "okay";
+};
+
+&mipi_dsi2 {
+       status = "okay";
+
+       port@1 {
+               mipi_dsi2_out: endpoint {
+                       remote-endpoint = <&adv7535_2_in>;
+               };
+       };
+};