hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/arm/boot/dts/rv1106-evb-cam.dtsi
....@@ -1,6 +1,6 @@
11 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
22 /*
3
- * Copyright (c) 2022 Rockchip Electronics Co., Ltd.
3
+ * Copyright (c) 2023 Rockchip Electronics Co., Ltd.
44 *
55 */
66
....@@ -43,6 +43,11 @@
4343 csi_dphy_input4: endpoint@4 {
4444 reg = <4>;
4545 remote-endpoint = <&jx_k17_out>;
46
+ data-lanes = <1 2>;
47
+ };
48
+ csi_dphy_input5: endpoint@5 {
49
+ reg = <5>;
50
+ remote-endpoint = <&sc3338_out>;
4651 data-lanes = <1 2>;
4752 };
4853 };
....@@ -110,6 +115,28 @@
110115 };
111116 };
112117
118
+ sc3338: sc3338@30 {
119
+ compatible = "smartsens,sc3338";
120
+ status = "okay";
121
+ reg = <0x30>;
122
+ clocks = <&cru MCLK_REF_MIPI0>;
123
+ clock-names = "xvclk";
124
+ reset-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
125
+ pwdn-gpios = <&gpio3 RK_PD2 GPIO_ACTIVE_HIGH>;
126
+ pinctrl-names = "default";
127
+ pinctrl-0 = <&mipi_refclk_out0>;
128
+ rockchip,camera-module-index = <0>;
129
+ rockchip,camera-module-facing = "back";
130
+ rockchip,camera-module-name = "FKO1";
131
+ rockchip,camera-module-lens-name = "30IRC-F16";
132
+ port {
133
+ sc3338_out: endpoint {
134
+ remote-endpoint = <&csi_dphy_input5>;
135
+ data-lanes = <1 2>;
136
+ };
137
+ };
138
+ };
139
+
113140 sc4336: sc4336@30 {
114141 compatible = "smartsens,sc4336";
115142 status = "okay";