arm64: dts: rockchip: rk3588-vehicle: fix max96712 gpio pinctrl error.

1. add max96712 lock-gpios for hot plug irq detect.
2. fix max96712 lock and errb gpio pinctrl error.

Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: I0576da7290c659ea14016158b324bd1eda38dcf2
This commit is contained in:
Cai Wenzhong 2023-05-05 11:11:24 +08:00 committed by Tao Huang
parent 5e1298153d
commit bbaafe5730

View File

@ -62,6 +62,7 @@ max96712: max96712@29 {
rockchip,grf = <&sys_grf>;
power-gpios = <&gpio4 RK_PA6 GPIO_ACTIVE_HIGH>;
//reset-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
lock-gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_HIGH>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "max96712";
@ -143,11 +144,11 @@ &rkcif_mmu {
&pinctrl {
max96712 {
max96712_errb: max96712-errb {
rockchip,pins = <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_up>;
rockchip,pins = <0 RK_PC2 RK_FUNC_GPIO &pcfg_pull_up>;
};
max96712_int: max96712-int {
rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_up>;
rockchip,pins = <3 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
};