arm64: dts: rockchip: change default camera to imx327 on rk3399pro linux

Change-Id: Id2f375cab92ac23d81a820c8269fef0c98cb3bc4
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
This commit is contained in:
Zefa Chen 2019-09-11 09:46:42 +08:00 committed by Tao Huang
parent 4133a3a21a
commit ee6254d280
2 changed files with 63 additions and 0 deletions

View File

@ -726,6 +726,29 @@ ucam_out0: endpoint {
};
};
};
imx327: imx327@1a {
compatible = "sony,imx327";
status = "okay";
reg = <0x1a>;
clocks = <&cru SCLK_CIF_OUT>;
clock-names = "xvclk";
/* conflict with csi-ctl-gpios */
reset-gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>;
pwdn-gpios = <&gpio4 25 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&cif_clkout>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "TongJu";
rockchip,camera-module-lens-name = "CHT842-MD";
port {
ucam_out2: endpoint {
remote-endpoint = <&mipi_in_ucam2>;
data-lanes = <1 2>;
};
};
};
};
&i2c4 {
@ -836,6 +859,12 @@ mipi_in_ucam0: endpoint@1 {
remote-endpoint = <&ucam_out0>;
data-lanes = <1 2>;
};
mipi_in_ucam2: endpoint@2 {
reg = <2>;
remote-endpoint = <&ucam_out2>;
data-lanes = <1 2>;
};
};
port@1 {
@ -874,6 +903,8 @@ &pwm2 {
&rkisp1_0 {
status = "okay";
assigned-clocks = <&cru PLL_NPLL>, <&cru SCLK_CIF_OUT_SRC>, <&cru SCLK_CIF_OUT>;
assigned-clock-rates = <594000000>, <594000000>, <37125000>;
port {
#address-cells = <1>;

View File

@ -736,6 +736,30 @@ ucam_out0: endpoint {
};
};
};
imx327: imx327@1a {
compatible = "sony,imx327";
status = "okay";
reg = <0x1a>;
clocks = <&cru SCLK_CIF_OUT>;
clock-names = "xvclk";
/* conflict with csi-ctl-gpios */
reset-gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>;
pwdn-gpios = <&gpio4 25 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&cif_clkout>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "TongJu";
rockchip,camera-module-lens-name = "CHT842-MD";
port {
ucam_out2: endpoint {
remote-endpoint = <&mipi_in_ucam2>;
data-lanes = <1 2>;
};
};
};
};
&i2c4 {
@ -847,6 +871,12 @@ mipi_in_ucam0: endpoint@1 {
remote-endpoint = <&ucam_out0>;
data-lanes = <1 2>;
};
mipi_in_ucam2: endpoint@2 {
reg = <2>;
remote-endpoint = <&ucam_out2>;
data-lanes = <1 2>;
};
};
port@1 {
@ -885,6 +915,8 @@ &pwm2 {
&rkisp1_0 {
status = "okay";
assigned-clocks = <&cru PLL_NPLL>, <&cru SCLK_CIF_OUT_SRC>, <&cru SCLK_CIF_OUT>;
assigned-clock-rates = <594000000>, <594000000>, <37125000>;
port {
#address-cells = <1>;