Port mapping for D3 camera ov5640 in DTS file

Hello ,

I have enabled D3 camera (in low speed mezzanine) (ov5640) on i2c2 node
I have also created it dts node as…

/*

  • This dtsi file is for x2 lane D3 CAMERA for JETCARRIER96
  • 7000c500.i2c : i2c2 , address i2c2@0x77
    /
    #include"JC96-plugin-manager.dtsi"
    /{
    //ov5640_mipi: ov5640_mipi@3d {
    i2c@7000c500{
    compatible = “ovti,ov5640_mipi”;
    //reg = <0x3d>;
    reg = <0x77>;
    status = “okay”;
    pinctrl-names = “default”;
    pinctrl-0 = <&pinctrl_csi1_pwn>;
    clocks = <&clk IMX8MQ_CLK_CLKO2>;
    clock-names = “csi_mclk”;
    assigned-clocks = <&clk IMX8MQ_CLK_CLKO2>,
    <&clk IMX8MQ_CLK_CLKO2>;
    assigned-clock-parents = <&clk IMX8MQ_SYS2_PLL_200M>;
    assigned-clock-rates = <0>, <20000000>;
    csi_id = <0>;
    pwn-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
    ** rst-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
    *
    mclk = <20000000>;
    mclk_source = <0>;
    port {
    ov5640_mipi1_ep: endpoint {
    remote-endpoint = <&mipi1_sensor_ep>;
    };
    };
    }
    };

but i am doubtful about gpio mapping for power (pwn-gpio) and reset(rst-gpios)…

pwn-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
rst-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;

hello vinay2010singh,

please access Jetson Xavier NX Product Design Guide,
you should also check [Table 9-2. Jetson Xavier NX Camera Miscellaneous Pin Descriptions] for general used GPIO pins,
thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.