How to set Jetson Nano camera mclk if using 4 2lanes csi camera?

We are using 4x2lanes csi camera, and follow the Design Guide of Nano Page33 Table37 CSI Configurations, with CSI0/CSI2/CSI3/CSI4, and we want to know how to configure the MCLK source for CSI0/2/3/4.
And we can’t find any camera MCLK source configuration from the sample dtsi (tegra210-porg-camera-rbpcv2-imx219 and tegra210-porg-camera-rbpcv2-dual-imx219) .
But in Xaveir MCLK clocks ca be set to TEGRA194_CLK_EXTPERIPH1 or TEGRA194_CLK_EXTPERIPH2.

Thanks

1 Like

hello Ciya.Jiang,

that’s correct Nano did not include reference device tree for four cameras.
however, you may refer to TX1 reference drivers since they’re sharing the same chip family.
for example,
$L4T_Sources/Linux_for_Tegra/source/public/kernel_src/hardware/nvidia/platform/t210/jetson/kernel-dts/jetson-platforms/tegra210-camera-e3333-a00.dtsi

you should also note that,
please check Jetson Nano Product Design Guide, and refer to [Table 7-3.] for the footnote of CSI connections.
thanks

1 Like