As shown in the schematic above, how should I configure the device tree and which device nodes should I mainly configure. What are these nodes used for, can you introduce them?
First, configure the CSI section to recognize/dev/vedioX
tegra-capture-vi {
ports {
port@0 {
endpoint {
port-index = <1>;
};
};
};
};
host1x@13e00000 {
nvcsi@15a00000 {
channel@0 {
ports {
port@0 {
endpoint@0 {
port-index = <1>;
};
};
};
};
};
};
cam_i2cmux{
i2c@0 {
rbpcv2_imx219_a@10 {
mode0 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode1 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode2 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode3 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode4 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
ports {
port@0 {
endpoint {
port-index = <1>;
};
};
};
};
rbpcv3_imx477_a@1a {
mode0 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode1 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
ports {
port@0 {
endpoint {
port-index = <1>;
};
};
};
};
};
I can find the three nodes above, but I don’t know what each field represents, how to configure it, and if there are any other nodes that need to be configured?
evb board default use dts:
tegra234-camera-rbpcv2-imx219.dtsi tegra234-camera-rbpcv3-imx477.dtsi