summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8mp-evk-basler.dts
diff options
context:
space:
mode:
authorMichael Stickel <Michael.Stickel@baslerweb.com>2020-02-05 21:05:28 +0100
committerOliver Brown <oliver.brown@nxp.com>2020-04-23 13:49:35 -0500
commit972cc03234a99d42cf28ecd1dc89b281096d6ff3 (patch)
treec1837efc45e87c6ca3e7ad776b9d70ebdffd4b2e /arch/arm64/boot/dts/freescale/imx8mp-evk-basler.dts
parent87bcafe6925d24bcd75b16aa71c4f2aecb13daf8 (diff)
MLK-23808: arch: arm64: imx8mp: Add device tree file for Basler camera
Added device tree support for the basler camera module on the imx8mp-evk Signed-off-by: Oliver Brown <oliver.brown@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mp-evk-basler.dts')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mp-evk-basler.dts38
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk-basler.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk-basler.dts
new file mode 100644
index 000000000000..12697d243746
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/imx8mp-evk-basler.dts
@@ -0,0 +1,38 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (C) 2020 Basler AG
+ * Copyright 2020 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 "imx8mp-evk-ov2775.dts"
+
+&ov2775_0 {
+ status = "disabled";
+};
+
+&i2c2 {
+ basler_camera@36 {
+ compatible = "basler,basler-camera", "basler-camera";
+ reg = <0x36>;
+ csi_id = <0x00>;
+ status = "okay";
+
+ port {
+ endpoint {
+ data-lanes = <1 2 3 4>;
+ clock-lanes = <0>;
+ link-frequencies = /bits/ 64 <248000000>;
+ };
+ };
+ };
+};