From 972cc03234a99d42cf28ecd1dc89b281096d6ff3 Mon Sep 17 00:00:00 2001 From: Michael Stickel Date: Wed, 5 Feb 2020 21:05:28 +0100 Subject: 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 --- .../arm64/boot/dts/freescale/imx8mp-evk-basler.dts | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-evk-basler.dts (limited to 'arch/arm64/boot/dts/freescale/imx8mp-evk-basler.dts') 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>; + }; + }; + }; +}; -- cgit v1.2.3