122 lines
2.4 KiB
Plaintext
122 lines
2.4 KiB
Plaintext
|
// SPDX-License-Identifier: GPL-2.0-only
|
||
|
/*
|
||
|
* Jetson Device-tree overlay for camera IMX477 at port A along with camera
|
||
|
* IMX219 at port B
|
||
|
*
|
||
|
* Copyright (c) 2021 NVIDIA CORPORATION. All rights reserved.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
/dts-v1/;
|
||
|
/plugin/;
|
||
|
|
||
|
/ {
|
||
|
overlay-name = "Camera IMX477-A and IMX219-B";
|
||
|
jetson-header-name = "Jetson Nano CSI Connector";
|
||
|
compatible = "nvidia,p3449-0000-b00+p3448-0000-b00" , "nvidia,p3449-0000-b00+p3448-0002-b00";
|
||
|
|
||
|
/* IMX477 + IMX219 sensor module */
|
||
|
fragment@0 {
|
||
|
target = <&imx477_cam0>;
|
||
|
__overlay__ {
|
||
|
status = "okay";
|
||
|
};
|
||
|
};
|
||
|
fragment@1 {
|
||
|
target = <&cam_module0>;
|
||
|
__overlay__ {
|
||
|
status = "okay";
|
||
|
badge = "porg_front_RBPCV3";
|
||
|
position = "front";
|
||
|
orientation = "1";
|
||
|
};
|
||
|
};
|
||
|
fragment@2 {
|
||
|
target = <&cam_module0_drivernode0>;
|
||
|
__overlay__ {
|
||
|
status = "okay";
|
||
|
pcl_id = "v4l2_sensor";
|
||
|
devname = "imx477 7-001a";
|
||
|
proc-device-tree = "/proc/device-tree/cam_i2cmux/i2c@0/rbpcv3_imx477_a@1a";
|
||
|
};
|
||
|
};
|
||
|
fragment@3 {
|
||
|
target = <&imx219_cam1>;
|
||
|
__overlay__ {
|
||
|
status = "okay";
|
||
|
};
|
||
|
};
|
||
|
fragment@4 {
|
||
|
target = <&cam_module1>;
|
||
|
__overlay__ {
|
||
|
status = "okay";
|
||
|
badge = "porg_rear_RBPCV2";
|
||
|
position = "rear";
|
||
|
orientation = "1";
|
||
|
};
|
||
|
};
|
||
|
fragment@5 {
|
||
|
target = <&cam_module1_drivernode0>;
|
||
|
__overlay__ {
|
||
|
status = "okay";
|
||
|
pcl_id = "v4l2_sensor";
|
||
|
devname = "imx219 8-0010";
|
||
|
proc-device-tree = "/proc/device-tree/cam_i2cmux/i2c@1/rbpcv2_imx219_e@10";
|
||
|
};
|
||
|
};
|
||
|
fragment@6 {
|
||
|
target = <&imx219_cam0>;
|
||
|
__overlay__ {
|
||
|
status = "disabled";
|
||
|
};
|
||
|
};
|
||
|
fragment@7 {
|
||
|
target = <&rbpcv3_imx477_vi_in0>;
|
||
|
__overlay__ {
|
||
|
status = "okay";
|
||
|
port-index = <0>;
|
||
|
bus-width = <2>;
|
||
|
remote-endpoint = <&rbpcv3_imx477_csi_out0>;
|
||
|
};
|
||
|
};
|
||
|
fragment@8 {
|
||
|
target = <&rbpcv2_imx219_vi_in1>;
|
||
|
__overlay__ {
|
||
|
status = "okay";
|
||
|
port-index = <4>;
|
||
|
bus-width = <2>;
|
||
|
remote-endpoint = <&rbpcv2_imx219_csi_out1>;
|
||
|
};
|
||
|
};
|
||
|
fragment@9 {
|
||
|
target = <&rbpcv3_imx477_csi_in0>;
|
||
|
__overlay__ {
|
||
|
status = "okay";
|
||
|
port-index = <0>;
|
||
|
bus-width = <2>;
|
||
|
remote-endpoint = <&rbpcv3_imx477_dual_out0>;
|
||
|
};
|
||
|
};
|
||
|
fragment@10 {
|
||
|
target = <&rbpcv2_imx219_csi_out0>;
|
||
|
__overlay__ {
|
||
|
status = "okay";
|
||
|
};
|
||
|
};
|
||
|
fragment@11 {
|
||
|
target = <&rbpcv2_imx219_csi_in1>;
|
||
|
__overlay__ {
|
||
|
status = "okay";
|
||
|
port-index = <4>;
|
||
|
bus-width = <2>;
|
||
|
remote-endpoint = <&rbpcv2_imx219_out1>;
|
||
|
};
|
||
|
};
|
||
|
fragment@12 {
|
||
|
target = <&rbpcv2_imx219_csi_out1>;
|
||
|
__overlay__ {
|
||
|
status = "okay";
|
||
|
};
|
||
|
};
|
||
|
};
|