ARM: dts: rv1126-ai-cam: support imx378

Signed-off-by: Zhenke Fan <fanzy.fan@rock-chips.com>
Change-Id: I5369d261c97550c92efb94b3bddd9f4b3b5e378a
This commit is contained in:
Zhenke Fan
2020-08-26 10:45:45 +08:00
committed by Tao Huang
parent 8d3917b810
commit 9ea9c1eae3

View File

@@ -34,9 +34,15 @@
#address-cells = <1>;
#size-cells = <0>;
mipi_in_ucam0: endpoint@1 {
mipi_in_ucam0: endpoint@0 {
reg = <1>;
remote-endpoint = <&ucam_out0>;
data-lanes = <1 2 3 4>;
};
mipi_in_ucam1: endpoint@1 {
reg = <1>;
remote-endpoint = <&ucam_out1>;
data-lanes = <1 2>;
};
};
@@ -47,6 +53,31 @@
status = "okay";
clock-frequency = <400000>;
imx378: imx378@1a {
compatible = "sony,imx378";
reg = <0x1a>;
clocks = <&cru CLK_MIPICSI_OUT>;
clock-names = "xvclk";
power-domains = <&power RV1126_PD_VI>;
pinctrl-names = "default";
pinctrl-0 = <&mipicsi_clk0>;
pwren-gpios= <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
pwdn-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
rockchip,camera-module-index = <1>;
rockchip,camera-module-facing = "front";
rockchip,camera-module-name = "A12N01B";
rockchip,camera-module-lens-name = "48IRC-12M-F18";
// NO_HDR:0 HDR_X2:5 HDR_X3:6
rockchip,camera-hdr-mode = <0>;
port {
ucam_out0: endpoint {
remote-endpoint = <&mipi_in_ucam0>;
data-lanes = <1 2 3 4>;
};
};
};
gc4c33: gc4c33@29 {
compatible = "galaxycore,gc4c33";
reg = <0x29>;
@@ -65,10 +96,11 @@
// NO_HDR:0 HDR_X2:5 HDR_X3:6
rockchip,camera-hdr-mode = <0>;
port {
ucam_out0: endpoint {
remote-endpoint = <&mipi_in_ucam0>;
ucam_out1: endpoint {
remote-endpoint = <&mipi_in_ucam1>;
data-lanes = <1 2>;
};
};
};
};