151 lines
2.9 KiB
Plaintext
151 lines
2.9 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2021 Rockchip Electronics Co., Ltd.
|
|
*
|
|
*/
|
|
|
|
&csi2_dcphy1 {
|
|
status = "disabled";
|
|
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
port@0 {
|
|
reg = <0>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
mipi_in_dcphy0_cam3: endpoint@0 {
|
|
reg = <0>;
|
|
remote-endpoint = <&ov5647_out_cam3>;
|
|
data-lanes = <1 2>;
|
|
};
|
|
|
|
mipi_in_dcphy1_cam3: endpoint@1 {
|
|
reg = <0>;
|
|
remote-endpoint = <&imx219_out_cam3>;
|
|
data-lanes = <1 2>;
|
|
};
|
|
};
|
|
|
|
port@1 {
|
|
reg = <1>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
csidcphy1_out: endpoint@0 {
|
|
reg = <0>;
|
|
remote-endpoint = <&mipi1_csi2_input>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c7 {
|
|
status = "okay";
|
|
|
|
ov5647_cam3: ov5647-cam3@36 {
|
|
status = "disabled";
|
|
compatible = "ovti,ov5647";
|
|
reg = <0x36>;
|
|
clocks = <&ext_cam_ov5647_clk>;
|
|
clock-names = "ext_cam_ov5647_clk";
|
|
pwdn-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
|
|
rockchip,camera-module-index = <2>;
|
|
rockchip,camera-module-facing = "back";
|
|
rockchip,camera-module-name = "rpi-camera-v1";
|
|
rockchip,camera-module-lens-name = "default";
|
|
port {
|
|
ov5647_out_cam3: endpoint {
|
|
remote-endpoint = <&mipi_in_dcphy0_cam3>;
|
|
data-lanes = <1 2>;
|
|
};
|
|
};
|
|
};
|
|
|
|
imx219_cam3: imx219-cam3@10 {
|
|
status = "disabled";
|
|
compatible = "sony,imx219";
|
|
reg = <0x10>;
|
|
clocks = <&ext_cam_ov5647_clk>;
|
|
clock-names = "ext_cam_ov5647_clk";
|
|
pwdn-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
|
|
rockchip,camera-module-index = <0>;
|
|
rockchip,camera-module-facing = "back";
|
|
rockchip,camera-module-name = "rpi-camera-v2";
|
|
rockchip,camera-module-lens-name = "default";
|
|
port {
|
|
imx219_out_cam3: endpoint {
|
|
remote-endpoint = <&mipi_in_dcphy0_cam3>;
|
|
data-lanes = <1 2>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&mipi1_csi2 {
|
|
status = "disabled";
|
|
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
port@0 {
|
|
reg = <0>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
mipi1_csi2_input: endpoint@1 {
|
|
reg = <1>;
|
|
remote-endpoint = <&csidcphy1_out>;
|
|
};
|
|
};
|
|
|
|
port@1 {
|
|
reg = <1>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
mipi1_csi2_output: endpoint@0 {
|
|
reg = <0>;
|
|
remote-endpoint = <&cif_mipi_in1>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&rkcif_mipi_lvds1 {
|
|
status = "disabled";
|
|
|
|
port {
|
|
cif_mipi_in1: endpoint {
|
|
remote-endpoint = <&mipi1_csi2_output>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&rkcif_mipi_lvds1_sditf {
|
|
status = "disabled";
|
|
|
|
port {
|
|
mipi1_lvds_sditf: endpoint {
|
|
remote-endpoint = <&isp1_in0>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&rkisp1_vir1 {
|
|
status = "disabled";
|
|
|
|
port {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
isp1_in0: endpoint@0 {
|
|
reg = <0>;
|
|
remote-endpoint = <&mipi1_lvds_sditf>;
|
|
};
|
|
};
|
|
};
|