From f5bb52c061aa391d22d25b4a38a205f201d53556 Mon Sep 17 00:00:00 2001 From: Su Yuefu Date: Mon, 31 Mar 2025 17:50:53 +0800 Subject: [PATCH] arm64: dts: rockchip: rv1126b-evb-cam-csi0: Add sc635hai support Signed-off-by: Su Yuefu Change-Id: Ia6030d2970f88a9873595fc4dd52eec1cfe98895 --- .../dts/rockchip/rv1126b-evb-cam-csi0.dtsi | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rv1126b-evb-cam-csi0.dtsi b/arch/arm64/boot/dts/rockchip/rv1126b-evb-cam-csi0.dtsi index d706786b18f6..e4a47be9e283 100644 --- a/arch/arm64/boot/dts/rockchip/rv1126b-evb-cam-csi0.dtsi +++ b/arch/arm64/boot/dts/rockchip/rv1126b-evb-cam-csi0.dtsi @@ -50,6 +50,12 @@ remote-endpoint = <&gc8613_out>; data-lanes = <1 2 3 4>; }; + + csi_dphy_input6: endpoint@7 { + reg = <7>; + remote-endpoint = <&sc635hai_out>; + data-lanes = <1 2 3 4>; + }; }; port@1 { reg = <1>; @@ -153,6 +159,28 @@ }; }; + sc635hai: sc635hai@30 { + compatible = "smartsens,sc635hai"; + status = "okay"; + reg = <0x30>; + 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"; + port { + sc635hai_out: endpoint { + remote-endpoint = <&csi_dphy_input6>; + data-lanes = <1 2 3 4>; + }; + }; + }; + gc8613: gc8613@31 { compatible = "galaxycore,gc8613"; reg = <0x31>;