Hi, everyone,
I have a xavier-nx, custom board and a mipi 120-pin to mipi 6*36-pin Adapter Board, how can i modifty modifty to activate 6 camera at the same time on jetpack 4.6.0.
imx477 driver built-in on jetpack 4.6.0.
I try open one camera on 15-pin mipi it can work
I try use appro camera(imx219) and driver (120 pin mipi → 6port 36 pin → camera) on jetpack 4.6.0. it canwork.
I try modifty custom DTB(120 pin mipi → 6port 36 pin → 36pin to 15 pin → camera):
/ {
i2c@3160000 {
tca9539_77: tca9539@77 {
compatible = "ti,pca9539";
gpio-controller;
#gpio-cells = <2>;
reg = <0x77>;
vcc-supply = <&p3509_vdd_1v8_cvb>;
tca9539_77_p05 {
gpio-hog;
gpios = <5 0>;
output-low;
label = "i2c_bus_rst";
};
};
};
i2c@3180000 {
tca9534_20: tca9534@20 {
compatible = "ti,pca9534";
gpio-controller;
#gpio-cells = <2>;
reg = <0x20>;
vcc-supply = <&p3509_vdd_1v8_cvb>;
tca9534_20_outlow {
/*
* GPIO-0 : RST_CAM0
* GPIO-1 : RST_CAM1
* GPIO-2 : RST_CAM2
* GPIO-3 : RST_CAM3
* GPIO-4 : RST_CAM4
* GPIO-5 : RST_CAM5
* GPIO-6 : RSV
* GPIO-7 : RSV
*/
gpio-hog;
gpios = <0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0>;
output-low;
label = "tca9534_20_outlow_0",
"tca9534_20_outlow_1",
"tca9534_20_outlow_2",
"tca9534_20_outlow_3",
"tca9534_20_outlow_4",
"tca9534_20_outlow_5",
"tca9534_20_outlow_6",
"tca9534_20_outlow_7";
};
tca9534_20_outhigh {
status = "disabled";
};
tca9534_20_input {
status = "disabled";
};
};
tca9548_70: tca9548@70 {
compatible = "nxp,pca9548";
reg = <0x70>;
#address-cells = <1>;
#size-cells = <0>;
vcc-supply = <&p3509_vdd_1v8_cvb>;
//vcc-pullup-supply = <&battery_reg>;
skip_mux_detect;
force_bus_start = <CAMERA_I2C_MUX_BUS(0)>;
i2c@0 {
reg = <0>;
i2c-mux,deselect-on-exit;
#address-cells = <1>;
#size-cells = <0>;
imx290_a@1a {
status = "okay";
reset-gpios = <&tca9534_20 0 GPIO_ACTIVE_HIGH>;
reset-mux = <&tca9539_77 5 GPIO_ACTIVE_HIGH>;
};
};
i2c@1 {
reg = <1>;
i2c-mux,deselect-on-exit;
#address-cells = <1>;
#size-cells = <0>;
imx290_b@1a {
status = "okay";
reset-gpios = <&tca9534_20 1 GPIO_ACTIVE_HIGH>;
reset-mux = <&tca9539_77 5 GPIO_ACTIVE_HIGH>;
};
};
i2c@2 {
reg = <2>;
i2c-mux,deselect-on-exit;
#address-cells = <1>;
#size-cells = <0>;
imx290_c@1a {
status = "okay";
reset-gpios = <&tca9534_20 2 GPIO_ACTIVE_HIGH>;
reset-mux = <&tca9539_77 5 GPIO_ACTIVE_HIGH>;
};
};
i2c@3 {
reg = <3>;
i2c-mux,deselect-on-exit;
#address-cells = <1>;
#size-cells = <0>;
imx290_d@1a {
status = "okay";
reset-gpios = <&tca9534_20 3 GPIO_ACTIVE_HIGH>;
reset-mux = <&tca9539_77 5 GPIO_ACTIVE_HIGH>;
};
};
i2c@4 {
reg = <4>;
i2c-mux,deselect-on-exit;
#address-cells = <1>;
#size-cells = <0>;
imx290_e@1a {
status = "okay";
reset-gpios = <&tca9534_20 4 GPIO_ACTIVE_HIGH>;
reset-mux = <&tca9539_77 5 GPIO_ACTIVE_HIGH>;
};
};
i2c@5 {
reg = <5>;
i2c-mux,deselect-on-exit;
#address-cells = <1>;
#size-cells = <0>;
imx290_g@1a {
status = "okay";
reset-gpios = <&tca9534_20 5 GPIO_ACTIVE_HIGH>;
reset-mux = <&tca9539_77 5 GPIO_ACTIVE_HIGH>;
};
};
};
};
gpio@2200000 {
camera-control-output-low {
gpio-hog;
output-low;
gpios = <CAM0_PWDN 0 CAM1_PWDN 0>;
label = "cam0-pwdn","cam1-pwdn";
};
};
};
but it can not work
Can someone tell me how to modifty DTB
thanks,