on EVK board, the camera on MIPI CSI1 and CSI2 port shares the same I2C bus
and the camera has the same slave address. So it's not possible to enable
two ports at same time. The first port is enabled by default. Here to create
a separate dts file to enable second port.
Signed-off-by: Robby Cai <robby.cai@nxp.com>
Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
fsl-imx8mq-evk-m4.dtb \
fsl-imx8mq-evk-pcie1-m2.dtb \
fsl-imx8mq-evk-lcdif-adv7535.dtb \
- fsl-imx8mq-evk-lcdif-rm67191.dtb
+ fsl-imx8mq-evk-lcdif-rm67191.dtb \
+ fsl-imx8mq-evk-mipi-csi2.dtb
always := $(dtb-y)
subdir-y := $(dts-dirs)
--- /dev/null
+/*
+ * 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-imx8mq-evk.dts"
+
+&ov5640_mipi {
+ status = "disabled";
+};
+
+&ov5640_mipi2 {
+ status = "okay";
+};
+
+&csi1_bridge {
+ status = "disabled";
+};
+
+&csi2_bridge {
+ status = "okay";
+};
+
+&mipi_csi_1 {
+ status = "disabled";
+};
+&mipi_csi_2 {
+ status = "okay";
+};