diff --git a/arch/arm64/boot/dts/rockchip/rv1126b-evb-dual-cam-csi0.dtsi b/arch/arm64/boot/dts/rockchip/rv1126b-evb-dual-cam-csi0.dtsi index 6b726e14c01a..85ae0c78487e 100644 --- a/arch/arm64/boot/dts/rockchip/rv1126b-evb-dual-cam-csi0.dtsi +++ b/arch/arm64/boot/dts/rockchip/rv1126b-evb-dual-cam-csi0.dtsi @@ -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 {