mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
arm64: dts: rockchip: add dual sc635hai sensor for rv1126b evb dual cam
Signed-off-by: LongChang Ma <chad.ma@rock-chips.com> Change-Id: Id5d16e2ac39d6dd0c4cde96b7c5fc0b06e0eb978
This commit is contained in:
@@ -29,6 +29,11 @@
|
||||
remote-endpoint = <&sc450ai_2_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
csi_dphy1_input2: endpoint@2 {
|
||||
reg = <2>;
|
||||
remote-endpoint = <&sc635hai_2_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
@@ -59,6 +64,11 @@
|
||||
remote-endpoint = <&sc450ai_1_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
csi_dphy2_input3: endpoint@2 {
|
||||
reg = <2>;
|
||||
remote-endpoint = <&sc635hai_1_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
|
||||
};
|
||||
port@1 {
|
||||
@@ -101,6 +111,29 @@
|
||||
};
|
||||
};
|
||||
|
||||
sc635hai_1: sc635hai-1@30 {
|
||||
compatible = "smartsens,sc635hai";
|
||||
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 {
|
||||
sc635hai_1_out: endpoint {
|
||||
remote-endpoint = <&csi_dphy2_input3>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sc450ai_2: sc450ai-2@32 {
|
||||
compatible = "smartsens,sc450ai";
|
||||
status = "okay";
|
||||
@@ -124,6 +157,29 @@
|
||||
};
|
||||
};
|
||||
|
||||
sc635hai_2: sc635hai-2@32 {
|
||||
compatible = "smartsens,sc635hai";
|
||||
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 {
|
||||
sc635hai_2_out: endpoint {
|
||||
remote-endpoint = <&csi_dphy1_input2>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
&mipi0_csi2 {
|
||||
|
||||
Reference in New Issue
Block a user