Hi, I changed the clock of CAM0 to CAM0_CLK, as shown in the figure.
Which file in the device tree should I modify to make this camera work? I used Jetpack 5.1.11.
Hi, I changed the clock of CAM0 to CAM0_CLK, as shown in the figure.
hello 220220996,
please access to Jetson Orin NX Series and Orin Nano Series Design Guide, and you may see-also [Table 10-2. Orin Module Camera Miscellaneous Pin Descriptions]. is it still used GP52_CLK1 as Camera 0 Reference Clock?
Yes,it is.

hello 220220996,
you may also check [Table 10-1. Orin Module CSI Pin Descriptions].
you should also specify polarity swap even you’re using customization board.
please refer to jetson-linux-r3541, and download [Driver Package (BSP) Sources] for public release sources package.
you may extract kernel_src.tbz2, see-also reference camera driver for development.
for instance, $public_sources/kernel_src/hardware/nvidia/platform/t23x/p3768/kernel-dts/cvb/tegra234-camera-rbpcv2-imx219.dtsi
furthermore, here’s developer guide, Sensor Software Driver Programming.
Hi JerryChang,
I don’t really understand the polarity swap part. Does that mean I have a hardware design problem?
$public_sources/kernel_src/hardware/nvidia/platform/t23x/p3768/kernel-dts/cvb/tegra234-camera-rbpcv2-imx219.dtsi Is this the device tree file that I need to modify?
hello 220220996,
(1) no… it’s CSI_0_D1 and CSI_1_D0 have P/N swapped on the module.
please double check lane_polarity as long as you’ve camera connected to these two CSI bricks.
(2) that’s tegra234-camera-rbpcv2-imx219.dts as reference driver, you may based-on it to implement your own camera device tree.
Hi JerryChang,
You mean I need to swap P and N for CSI_0_D1 and CSI_1_D0. Is the reference design in P3768_A04_Concept_schematics wrong?
please aware that…
Hi JerryChang,
I’m sorry I didn’t quite follow you. My current camera won’t work on the new carrier. But it works on the development board, where it doesn’t need to modify the device tree. So my problem is no change in N/P polarity, or the reason for CSI0_CIK or something else?
please review the difference,
BTW, for the Orin-NX carrier board. it’s Cam0 slot using CSI-C, and Cam1 slot using CSI-B.
Hi JerryChang,
The only difference is that the clock on CAM0 has been changed from CAM1_CLK to CAM0_CLK, as I showed in the original image. Does this change require modification of this document?
$ public _ sources/kernel _ src/hardware/NVIDIA/platform/t23x/p 3768/kernel-dts/cvb/tegra 234-camera-rbpc v2-imx 219 . dtsi
I don’t understand, may I have more details? as your schematic (re-cap as below) doesn’t looks like above statement.

Hi JerryChang,
All the schematics for CAM0 are here. There may be a misunderstanding here that I modified CAM0_CLK instead of CAM0_MCLK.
You should swap the CSI0 lines with CSI1 lines on your J16 connector since you used CSI0_CLK on it. You can refer to J21 of devkit for the lane mapping.
Hi, Trumany,
Okay, thank you very much. In this case, the device tree doesn’t need to be modified, right?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.