修复i2c5 ov8858 pwdn 和 reset io, 并支持双目摄像头
This commit is contained in:
@ -251,8 +251,8 @@
|
||||
dovdd-supply= <&cam1_dovdd>; /* 1.8v */
|
||||
avdd-supply = <&cam1_avdd>; /* 2.8v */
|
||||
dvdd-supply = <&cam1_dvdd>; /* 1.2v */
|
||||
pwdn-gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>;
|
||||
reset-gpios = <&gpio1 RK_PB0 GPIO_ACTIVE_HIGH>;
|
||||
pwdn-gpios = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>;
|
||||
reset-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
|
||||
rotation = <180>;
|
||||
status = "okay";
|
||||
|
||||
@ -351,12 +351,63 @@
|
||||
|
||||
dphy2_out: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&isp1_in>;
|
||||
remote-endpoint = <&mipi_csi2_input>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&mipi_csi2 {
|
||||
status = "okay";
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
mipi_csi2_input: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&dphy2_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
mipi_csi2_output: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&cif_mipi_in>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&rkcif_mipi_lvds {
|
||||
status = "okay";
|
||||
port {
|
||||
cif_mipi_in: endpoint {
|
||||
remote-endpoint = <&mipi_csi2_output>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&rkcif_mipi_lvds_sditf {
|
||||
status = "okay";
|
||||
port {
|
||||
mipi_lvds_sditf: endpoint {
|
||||
remote-endpoint = <&isp1_in>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&rkisp {
|
||||
status = "okay";
|
||||
@ -392,8 +443,8 @@
|
||||
#size-cells = <0>;
|
||||
|
||||
isp1_in: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&dphy2_out>;
|
||||
reg = <0>;
|
||||
remote-endpoint = <&mipi_lvds_sditf>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@ -417,4 +468,4 @@
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user