// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright 2020-2021 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.dts" &i2c2 { /delete-node/ov5640_mipi@3c; basler_0: basler_camera_vvcam@36 { compatible = "basler,basler-camera-vvcam", "basler-camera-vvcam"; reg = <0x36>; csi_id = <0x00>; status = "okay"; port { basler_ep_0: endpoint { data-lanes = <1 2 3 4>; clock-lanes = <0>; link-frequencies = /bits/ 64 <750000000>; max-lane-frequency = /bits/ 64 <750000000>; max-pixel-frequency = /bits/ 64 <266000000>; max-data-rate = /bits/ 64 <0>; remote-endpoint = <&mipi_csi0_ep>; }; }; }; }; &i2c3 { clock-frequency = <100000>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c3>; status = "okay"; /delete-node/ov5640_mipi@3c; basler_1: basler_camera_vvcam@36 { compatible = "basler,basler-camera-vvcam", "basler-camera-vvcam"; reg = <0x36>; csi_id = <0x01>; status = "okay"; port { basler_ep_1: endpoint { data-lanes = <1 2 3 4>; clock-lanes = <0>; link-frequencies = /bits/ 64 <750000000>; max-lane-frequency = /bits/ 64 <750000000>; max-pixel-frequency = /bits/ 64 <266000000>; max-data-rate = /bits/ 64 <0>; remote-endpoint = <&mipi_csi1_ep>; }; }; }; }; &cameradev { status = "okay"; }; &isi_0 { status = "disabled"; }; &isi_1 { status = "disabled"; }; &isp_0 { status = "okay"; }; &isp_1 { status = "okay"; }; &dewarp { status = "okay"; }; &mipi_csi_0 { status = "okay"; clock-frequency = <266000000>; assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_266M>; assigned-clock-rates = <266000000>; port@0 { reg = <0>; mipi_csi0_ep: endpoint { remote-endpoint = <&basler_ep_0>; data-lanes = <4>; csis-hs-settle = <16>; }; }; }; &mipi_csi_1 { status = "okay"; port@1 { reg = <1>; mipi_csi1_ep: endpoint { remote-endpoint = <&basler_ep_1>; data-lanes = <4>; csis-hs-settle = <16>; }; }; };