hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/arm/boot/dts/rv1106-evb-cam.dtsi
....@@ -50,6 +50,26 @@
5050 remote-endpoint = <&sc3338_out>;
5151 data-lanes = <1 2>;
5252 };
53
+ csi_dphy_input6: endpoint@6 {
54
+ reg = <6>;
55
+ remote-endpoint = <&imx415_out>;
56
+ data-lanes = <1 2>;
57
+ };
58
+ csi_dphy_input7: endpoint@7 {
59
+ reg = <7>;
60
+ remote-endpoint = <&sc450ai_out>;
61
+ data-lanes = <1 2>;
62
+ };
63
+ csi_dphy_input8: endpoint@8 {
64
+ reg = <8>;
65
+ remote-endpoint = <&sc401ai_out>;
66
+ data-lanes = <1 2>;
67
+ };
68
+ csi_dphy_input9: endpoint@9 {
69
+ reg = <9>;
70
+ remote-endpoint = <&sc200ai_out>;
71
+ data-lanes = <1 2>;
72
+ };
5373 };
5474
5575 port@1 {
....@@ -202,6 +222,94 @@
202222 };
203223 };
204224 };
225
+
226
+ imx415: imx415@1a {
227
+ compatible = "sony,imx415";
228
+ status = "okay";
229
+ reg = <0x1a>;
230
+ clocks = <&cru MCLK_REF_MIPI0>;
231
+ clock-names = "xvclk";
232
+ reset-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_LOW>;
233
+ pwdn-gpios = <&gpio3 RK_PD2 GPIO_ACTIVE_HIGH>;
234
+ pinctrl-names = "default";
235
+ pinctrl-0 = <&mipi_refclk_out0>;
236
+ rockchip,camera-module-index = <0>;
237
+ rockchip,camera-module-facing = "back";
238
+ rockchip,camera-module-name = "CMK-OT2022-PX1";
239
+ rockchip,camera-module-lens-name = "IR0147-36IRC-8M-F20";
240
+ port {
241
+ imx415_out: endpoint {
242
+ remote-endpoint = <&csi_dphy_input6>;
243
+ data-lanes = <1 2>;
244
+ };
245
+ };
246
+ };
247
+
248
+ sc450ai: sc450ai@30 {
249
+ compatible = "smartsens,sc450ai";
250
+ status = "okay";
251
+ reg = <0x30>;
252
+ clocks = <&cru MCLK_REF_MIPI0>;
253
+ clock-names = "xvclk";
254
+ reset-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
255
+ pwdn-gpios = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>;
256
+ pinctrl-names = "default";
257
+ pinctrl-0 = <&mipi_refclk_out0>;
258
+ rockchip,camera-module-index = <0>;
259
+ rockchip,camera-module-facing = "back";
260
+ rockchip,camera-module-name = "CMK-OT2119-PC1";
261
+ rockchip,camera-module-lens-name = "30IRC-F16";
262
+ port {
263
+ sc450ai_out: endpoint {
264
+ remote-endpoint = <&csi_dphy_input7>;
265
+ data-lanes = <1 2>;
266
+ };
267
+ };
268
+ };
269
+
270
+ sc401ai: sc401ai@30 {
271
+ compatible = "smartsens,sc401ai";
272
+ status = "okay";
273
+ reg = <0x30>;
274
+ clocks = <&cru MCLK_REF_MIPI0>;
275
+ clock-names = "xvclk";
276
+ reset-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
277
+ pwdn-gpios = <&gpio3 RK_PD2 GPIO_ACTIVE_HIGH>;
278
+ pinctrl-names = "default";
279
+ pinctrl-0 = <&mipi_refclk_out0>;
280
+ rockchip,camera-module-index = <0>;
281
+ rockchip,camera-module-facing = "back";
282
+ rockchip,camera-module-name = "CMK-OT2115-PC1";
283
+ rockchip,camera-module-lens-name = "30IRC-F16";
284
+ port {
285
+ sc401ai_out: endpoint {
286
+ remote-endpoint = <&csi_dphy_input8>;
287
+ data-lanes = <1 2>;
288
+ };
289
+ };
290
+ };
291
+
292
+ sc200ai: sc200ai@30 {
293
+ compatible = "smartsens,sc200ai";
294
+ status = "okay";
295
+ reg = <0x30>;
296
+ clocks = <&cru MCLK_REF_MIPI0>;
297
+ clock-names = "xvclk";
298
+ reset-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
299
+ pwdn-gpios = <&gpio3 RK_PD2 GPIO_ACTIVE_HIGH>;
300
+ pinctrl-names = "default";
301
+ pinctrl-0 = <&mipi_refclk_out0>;
302
+ rockchip,camera-module-index = <0>;
303
+ rockchip,camera-module-facing = "back";
304
+ rockchip,camera-module-name = "CMK-OT2115-PC1";
305
+ rockchip,camera-module-lens-name = "30IRC-F16";
306
+ port {
307
+ sc200ai_out: endpoint {
308
+ remote-endpoint = <&csi_dphy_input9>;
309
+ data-lanes = <1 2>;
310
+ };
311
+ };
312
+ };
205313 };
206314
207315 &mipi0_csi2 {