Jetpack/hardware/nvidia/platform/t19x/galen/kernel-dts/common/tegra194-agx-cti-camera-base.dtsi
dchvs 31faf4d851 cti_kernel: Add CTI sources
Elroy L4T r32.4.4 – JetPack 4.4.1
2021-03-15 20:15:11 -06:00

302 lines
6.4 KiB
Plaintext

/*
* Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
*
* 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; version 2 of the License.
*
* 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.
*
*/
#define CAM0_RST_L TEGRA194_MAIN_GPIO(H, 3)
#define CAM0_PWDN TEGRA194_MAIN_GPIO(H, 6)
#define CAM1_RST_L TEGRA194_MAIN_GPIO(T, 6)
#define CAM1_PWDN TEGRA194_MAIN_GPIO(T, 5)
/ {
tegra-camera-platform {
/**
* tpg_max_iso = <>;
* Max iso bw for 6 streams of tpg
* streams * nvcsi_freq * PG_bitrate / RG10 * BPP
* 6 * 102Mhz * 32 bits/ 10 bits * 2 Bps
* = 3916.8 MBps
*/
tpg_max_iso = <3916800>;
};
/* set camera gpio `direction to output */
gpio@2200000 {
camera-control-output-low {
gpio-hog;
output-low;
gpios = <CAM0_RST_L 0 CAM0_PWDN 0
CAM1_RST_L 0 CAM1_PWDN 0>;
label = "cam0-rst", "cam0-pwdn",
"cam1-rst", "cam1-pwdn";
};
};
/* all cameras are disabled by default */
host1x {
vi_base: vi@15c10000 {
ports {
vi_port0: port@0 {
reg = <0>;
status = "disabled";
vi_in0: endpoint {
vc-id = <0>;
status = "disabled";
};
};
vi_port1: port@1 {
status = "disabled";
reg = <1>;
vi_in1: endpoint {
vc-id = <0>;
status = "disabled";
};
};
vi_port2: port@2 {
status = "disabled";
reg = <2>;
vi_in2: endpoint {
vc-id = <0>;
status = "disabled";
};
};
vi_port3: port@3 {
status = "disabled";
reg = <3>;
vi_in3: endpoint {
vc-id = <0>;
status = "disabled";
};
};
vi_port4: port@4 {
status = "disabled";
reg = <4>;
vi_in4: endpoint {
vc-id = <0>;
status = "disabled";
};
};
vi_port5: port@5 {
status = "disabled";
reg = <5>;
vi_in5: endpoint {
vc-id = <0>;
status = "disabled";
};
};
};
};
csi_base: nvcsi@15a00000 {
num-tpg-channels = <36>;
csi_chan0: channel@0 {
status = "disabled";
reg = <0>;
ports {
csi_chan0_port0: port@0 {
status = "disabled";
csi_in0: endpoint@0 {
status = "disabled";
};
};
csi_chan0_port1: port@1 {
status = "disabled";
csi_out0: endpoint@1 {
status = "disabled";
};
};
};
};
csi_chan1: channel@1 {
status = "disabled";
reg = <1>;
ports {
csi_chan1_port0: port@0 {
status = "disabled";
csi_in1: endpoint@2 {
status = "disabled";
};
};
csi_chan1_port1: port@1 {
status = "disabled";
csi_out1: endpoint@3 {
status = "disabled";
};
};
};
};
csi_chan2: channel@2 {
status = "disabled";
reg = <2>;
ports {
csi_chan2_port0: port@0 {
status = "disabled";
csi_in2: endpoint@4 {
status = "disabled";
};
};
csi_chan2_port1: port@1 {
status = "disabled";
csi_out2: endpoint@5 {
status = "disabled";
};
};
};
};
csi_chan3: channel@3 {
status = "disabled";
reg = <3>;
ports {
csi_chan3_port0: port@0 {
status = "disabled";
csi_in3: endpoint@6 {
status = "disabled";
};
};
csi_chan3_port1: port@1 {
status = "disabled";
csi_out3: endpoint@7 {
status = "disabled";
};
};
};
};
csi_chan4: channel@4 {
status = "disabled";
reg = <4>;
ports {
csi_chan4_port0: port@0 {
status = "disabled";
csi_in4: endpoint@8 {
status = "disabled";
};
};
csi_chan4_port1: port@1 {
status = "disabled";
csi_out4: endpoint@9 {
status = "disabled";
};
};
};
};
csi_chan5: channel@5 {
status = "disabled";
reg = <5>;
ports {
csi_chan5_port0: port@0 {
status = "disabled";
csi_in5: endpoint@10 {
status = "disabled";
};
};
csi_chan5_port1: port@1 {
status = "disabled";
csi_out5: endpoint@11 {
status = "disabled";
};
};
};
};
};
slvs_ec_base: slvs-ec@15ac0000 {
streams {
slvs_ec_stream0: stream@0 {
status = "disabled";
ports {
slvs_ec_stream0_port0: port@0 {
status = "disabled";
e3377_slvs_ec_in0: endpoint@0 {
status = "disabled";
};
};
slvs_ec_stream0_port1: port@1 {
status = "disabled";
e3377_slvs_ec_out0: endpoint@1 {
status = "disabled";
};
};
};
};
};
};
};
tcp: tegra-camera-platform {
compatible = "nvidia, tegra-camera-platform";
modules {
cam_module0: module0 {
status = "disabled";
cam_module0_drivernode0: drivernode0 {
status = "disabled";
};
cam_module0_drivernode1: drivernode1 {
status = "disabled";
pcl_id = "v4l2_lens";
};
};
cam_module1: module1 {
status = "disabled";
cam_module1_drivernode0: drivernode0 {
status = "disabled";
};
cam_module1_drivernode1: drivernode1 {
status = "disabled";
pcl_id = "v4l2_lens";
};
};
cam_module2: module2 {
status = "disabled";
cam_module2_drivernode0: drivernode0 {
status = "disabled";
};
cam_module2_drivernode1: drivernode1 {
status = "disabled";
pcl_id = "v4l2_lens";
};
};
cam_module3: module3 {
status = "disabled";
cam_module3_drivernode0: drivernode0 {
status = "disabled";
};
cam_module3_drivernode1: drivernode1 {
status = "disabled";
pcl_id = "v4l2_lens";
};
};
cam_module4: module4 {
status = "disabled";
cam_module4_drivernode0: drivernode0 {
status = "disabled";
};
cam_module4_drivernode1: drivernode1 {
status = "disabled";
pcl_id = "v4l2_lens";
};
};
cam_module5: module5 {
status = "disabled";
cam_module5_drivernode0: drivernode0 {
status = "disabled";
};
cam_module5_drivernode1: drivernode1 {
status = "disabled";
pcl_id = "v4l2_lens";
};
};
};
};
};