MLK-17223-2: dts: Add eight cameras dts for imx8qm arm2 board
authorSandor Yu <Sandor.yu@nxp.com>
Fri, 15 Dec 2017 10:14:26 +0000 (18:14 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:51:44 +0000 (14:51 -0500)
Enable mipi csi 1 in the dts.
MAX support eight cameras for imx8qm arm2 board with the dtb.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
arch/arm64/boot/dts/freescale/Makefile
arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-8cam.dts [new file with mode: 0644]
arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2.dts

index 1694b6d..60d7295 100644 (file)
@@ -19,6 +19,7 @@ dtb-$(CONFIG_ARCH_FSL_IMX8QM) += fsl-imx8qm-lpddr4-arm2.dtb \
                                 fsl-imx8qm-mek-it6263-adv7535.dtb \
                                 fsl-imx8qm-mek-it6263-rm67191.dtb \
                                 fsl-imx8qm-lpddr4-arm2-dp.dtb \
+                                fsl-imx8qm-lpddr4-arm2-8cam.dtb \
                                 fsl-imx8qm-lpddr4-arm2-it6263.dtb \
                                 fsl-imx8qm-lpddr4-arm2-it6263-dual-channel.dtb \
                                 fsl-imx8qm-lpddr4-arm2-jdi-wuxga-lvds1-panel.dtb \
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-8cam.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2-8cam.dts
new file mode 100644 (file)
index 0000000..64c530e
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+ * 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.
+ */
+/*
+ * MIPI CSI-2 eight cameras dts,
+ * One MIPI CSI-2 controller connected four cameras
+ * The first four cameras have enabled in mipi_csi_0.
+ * Enable the last four cameras in mipi_csi_1 here.
+ */
+
+#include "fsl-imx8qm-lpddr4-arm2.dts"
+
+&mipi_csi_1 {
+       status = "okay";
+};
+
+&i2c0_mipi_csi1 {
+       status = "okay";
+};
+
+&isi_4 {
+       status = "okay";
+};
+
+&isi_5 {
+       status = "okay";
+};
+
+&isi_6 {
+       status = "okay";
+};
+
+&isi_7 {
+       status = "okay";
+};
index 7ebe061..91e62d7 100644 (file)
        status = "okay";
 };
 
-&isi_4 {
-       status = "okay";
-};
-
-&isi_5 {
-       status = "okay";
-};
-
-&isi_6 {
-       status = "okay";
-};
-
-&isi_7 {
-       status = "okay";
-};
-
 &gpu_3d0 {
        status = "okay";
 };