ARM: dts: rockchip: rv1106-evb-cam: compatible to sc3336 sc4336 530ai

Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com>
Change-Id: Id08faa19f5244f57cde6487d77f957eb27481a95
This commit is contained in:
Su Yuefu
2022-03-24 23:00:38 +08:00
committed by Tao Huang
parent d0cca5a3d8
commit f83e32d567

View File

@@ -20,8 +20,18 @@
#address-cells = <1>;
#size-cells = <0>;
csi_dphy_input: endpoint@1 {
csi_dphy_input0: endpoint@0 {
reg = <0>;
remote-endpoint = <&sc530ai_out>;
data-lanes = <1 2>;
};
csi_dphy_input1: endpoint@1 {
reg = <1>;
remote-endpoint = <&sc3336_out>;
data-lanes = <1 2>;
};
csi_dphy_input2: endpoint@2 {
reg = <2>;
remote-endpoint = <&sc4336_out>;
data-lanes = <1 2>;
};
@@ -46,8 +56,8 @@
pinctrl-names = "default";
pinctrl-0 = <&i2c4m2_xfer>;
sc4336: sc4336@30 {
compatible = "smartsens,sc4336";
sc530ai: sc530ai@30 {
compatible = "smartsens,sc530ai";
status = "okay";
reg = <0x30>;
clocks = <&cru MCLK_REF_MIPI0>;
@@ -58,11 +68,55 @@
pinctrl-0 = <&mipi_refclk_out0>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "CMK-OT2115-PC1";
rockchip,camera-module-lens-name = "30IRC-F16";
port {
sc530ai_out: endpoint {
remote-endpoint = <&csi_dphy_input0>;
data-lanes = <1 2>;
};
};
};
sc3336: sc3336@30 {
compatible = "smartsens,sc3336";
status = "okay";
reg = <0x30>;
clocks = <&cru MCLK_REF_MIPI0>;
clock-names = "xvclk";
reset-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
pwdn-gpios = <&gpio3 RK_PD2 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&mipi_refclk_out0>;
rockchip,camera-module-index = <1>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "CMK-OT2119-PC1";
rockchip,camera-module-lens-name = "30IRC-F16";
port {
sc3336_out: endpoint {
remote-endpoint = <&csi_dphy_input1>;
data-lanes = <1 2>;
};
};
};
sc4336: sc4336@30 {
compatible = "smartsens,sc4336";
status = "okay";
reg = <0x30>;
clocks = <&cru MCLK_REF_MIPI0>;
clock-names = "xvclk";
reset-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
pwdn-gpios = <&gpio3 RK_PD2 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&mipi_refclk_out0>;
rockchip,camera-module-index = <2>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "CMK-OT2117-PC1";
rockchip,camera-module-lens-name = "YT10123-5MP";
rockchip,camera-module-lens-name = "30IRC-F16";
port {
sc4336_out: endpoint {
remote-endpoint = <&csi_dphy_input>;
remote-endpoint = <&csi_dphy_input2>;
data-lanes = <1 2>;
};
};