mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
arm64: dts: rockchip: add dual sc200ai sensor for rv1126b evb dual cam
Signed-off-by: LongChang Ma <chad.ma@rock-chips.com> Change-Id: I2075cb7a4ed4d2ff2c84924b4daa51e469a1bf2d
This commit is contained in:
@@ -34,6 +34,11 @@
|
||||
remote-endpoint = <&sc635hai_2_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
csi_dphy1_input4: endpoint@3 {
|
||||
reg = <3>;
|
||||
remote-endpoint = <&sc200ai_2_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
@@ -69,6 +74,11 @@
|
||||
remote-endpoint = <&sc635hai_1_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
csi_dphy2_input5: endpoint@3 {
|
||||
reg = <3>;
|
||||
remote-endpoint = <&sc200ai_1_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
|
||||
};
|
||||
port@1 {
|
||||
@@ -88,6 +98,29 @@
|
||||
status = "okay";
|
||||
pinctrl-0 = <&i2c3m1_pins>;
|
||||
|
||||
sc200ai_1: sc200ai-1@30 {
|
||||
compatible = "smartsens,sc200ai";
|
||||
status = "okay";
|
||||
reg = <0x30>;
|
||||
clocks = <&cru CLK_MIPI1_OUT2IO>;
|
||||
clock-names = "xvclk";
|
||||
reset-gpios = <&gpio4 RK_PA6 GPIO_ACTIVE_HIGH>;
|
||||
pwdn-gpios = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&cam_clk1_pins>;
|
||||
rockchip,camera-module-index = <1>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "default";
|
||||
rockchip,camera-module-lens-name = "default";
|
||||
// rockchip,camera-module-sync-mode = "internal_master";
|
||||
port {
|
||||
sc200ai_1_out: endpoint {
|
||||
remote-endpoint = <&csi_dphy2_input5>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sc450ai_1: sc450ai-1@30 {
|
||||
compatible = "smartsens,sc450ai";
|
||||
status = "okay";
|
||||
@@ -134,6 +167,29 @@
|
||||
};
|
||||
};
|
||||
|
||||
sc200ai_2: sc200ai-2@32 {
|
||||
compatible = "smartsens,sc200ai";
|
||||
status = "okay";
|
||||
reg = <0x32>;
|
||||
clocks = <&cru CLK_MIPI0_OUT2IO>;
|
||||
clock-names = "xvclk";
|
||||
reset-gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
|
||||
pwdn-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&cam_clk0_pins>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "default";
|
||||
rockchip,camera-module-lens-name = "default";
|
||||
// rockchip,camera-module-sync-mode = "external_master";
|
||||
port {
|
||||
sc200ai_2_out: endpoint {
|
||||
remote-endpoint = <&csi_dphy1_input4>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sc450ai_2: sc450ai-2@32 {
|
||||
compatible = "smartsens,sc450ai";
|
||||
status = "okay";
|
||||
|
||||
Reference in New Issue
Block a user