IMX477 does not work on JetPack5.0

Here’s the working change. Need modify the pix_clk_hz too.

iff --git a/common/tegra194-camera-jakku-rbpcv3-imx477.dtsi b/common/tegra194-camera-jakku-rbpcv3-imx477.dtsi
index 2cc928e..03fe85d 100644
--- a/common/tegra194-camera-jakku-rbpcv3-imx477.dtsi
+++ b/common/tegra194-camera-jakku-rbpcv3-imx477.dtsi
@@ -27,13 +27,13 @@
                #address-cells = <1>;
                #size-cells = <0>;
                mux-gpios = <&tegra_aon_gpio CAM_I2C_MUX GPIO_ACTIVE_HIGH>;
-               i2c-parent = <&i2c7>;
+               i2c-parent = <&cam_i2c>;
                i2c@0 {
                        reg = <0>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                        rbpcv3_imx477_a@1a {
-                               status = "disabled";
+                               status = "okay";
                                reset-gpios = <&tegra_main_gpio CAM0_PWDN GPIO_ACTIVE_HIGH>;
                        };
                };
@@ -42,7 +42,7 @@
                        #address-cells = <1>;
                        #size-cells = <0>;
                        rbpcv3_imx477_c@1a {
-                               status = "disabled";
+                               status = "okay";
                                reset-gpios = <&tegra_main_gpio CAM1_PWDN GPIO_ACTIVE_HIGH>;
                        };
                };
diff --git a/common/tegra194-camera-rbpcv3-imx477.dtsi b/common/tegra194-camera-rbpcv3-imx477.dtsi
index 8b7b1c6..fb5f076 100644
--- a/common/tegra194-camera-rbpcv3-imx477.dtsi
+++ b/common/tegra194-camera-rbpcv3-imx477.dtsi
@@ -16,34 +16,34 @@
  */

 / {
-       host1x {
-               vi@15c10000 {
-                       num-channels = <2>;
-                       ports {
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-                               port@0 {
-                                       reg = <0>;
-                                       rbpcv3_imx477_vi_in0: endpoint {
-                                               port-index = <0>;
-                                               bus-width = <2>;
-                                               remote-endpoint = <&rbpcv3_imx477_csi_out0>;
-                                       };
+        tegra-capture-vi  {
+                num-channels = <2>;
+                ports {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       port@0 {
+                               reg = <0>;
+                               rbpcv3_imx477_vi_in0: endpoint {
+                                       port-index = <0>;
+                                       bus-width = <2>;
+                                       remote-endpoint = <&rbpcv3_imx477_csi_out0>;
                                };
-                               port@1 {
-                                       reg = <1>;
-                                       rbpcv3_imx477_vi_in1: endpoint {
-                                               port-index = <4>;
-                                               bus-width = <2>;
-                                               remote-endpoint = <&rbpcv3_imx477_csi_out1>;
-                                       };
+                       };
+                       port@1 {
+                               reg = <1>;
+                               rbpcv3_imx477_vi_in1: endpoint {
+                                       port-index = <4>;
+                                       bus-width = <2>;
+                                       remote-endpoint = <&rbpcv3_imx477_csi_out1>;
                                };
                        };
                };
+       };

-               nvcsi@15a00000 {
-                       num-channels = <2>;
-                       #address-cells = <1>;
+        host1x@13e00000 {
+                nvcsi@15a00000 {
+                        num-channels = <2>;
+                        #address-cells = <1>;
                        #size-cells = <0>;
                        channel@0 {
                                reg = <0>;
@@ -207,7 +207,7 @@
                                        line_length = "11200";
                                        inherent_gain = "1";
                                        mclk_multiplier = "80";
-                                       pix_clk_hz = "840000000";
+                                       pix_clk_hz = "300000000";

                                        gain_factor = "16";
                                        framerate_factor = "1000000";
@@ -247,7 +247,7 @@
                                        line_length = "7000";
                                        inherent_gain = "1";
                                        mclk_multiplier = "80";
-                                       pix_clk_hz = "840000000";
+                                       pix_clk_hz = "300000000";

                                        gain_factor = "16";
                                        framerate_factor = "1000000";
@@ -320,7 +320,7 @@
                                        line_length = "11200";
                                        inherent_gain = "1";
                                        mclk_multiplier = "80";
-                                       pix_clk_hz = "840000000";
+                                       pix_clk_hz = "300000000";

                                        gain_factor = "16";
                                        framerate_factor = "1000000";
@@ -360,7 +360,7 @@
                                        line_length = "7000";
                                        inherent_gain = "1";
                                        mclk_multiplier = "80";
-                                       pix_clk_hz = "840000000";
+                                       pix_clk_hz = "300000000";

                                        gain_factor = "16";
                                        framerate_factor = "1000000";
diff --git a/common/tegra194-p3509-0000-a00.dtsi b/common/tegra194-p3509-0000-a00.dtsi
index 6f411e3..10cd7bf 100644
--- a/common/tegra194-p3509-0000-a00.dtsi
+++ b/common/tegra194-p3509-0000-a00.dtsi
@@ -17,7 +17,6 @@
 #include "tegra194-audio-p3668.dtsi"
 #include "tegra194-super-module-e2614-p3509.dtsi"
 #include "tegra194-camera-jakku-rbpcv3-imx477.dtsi"
-#include "tegra194-camera-jakku-rbpcv2-imx219.dtsi"
 / {
        gpio-keys {
                compatible = "gpio-keys";
1 Like