forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 645e752c5a84baeb21015cdc85fc05b7d16312c8
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,31 @@
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>;
51
+ data-lanes = <1 2>;
52
+ };
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>;
4671 data-lanes = <1 2>;
4772 };
4873 };
....@@ -110,6 +135,28 @@
110135 };
111136 };
112137
138
+ sc3338: sc3338@30 {
139
+ compatible = "smartsens,sc3338";
140
+ status = "okay";
141
+ reg = <0x30>;
142
+ clocks = <&cru MCLK_REF_MIPI0>;
143
+ clock-names = "xvclk";
144
+ reset-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
145
+ pwdn-gpios = <&gpio3 RK_PD2 GPIO_ACTIVE_HIGH>;
146
+ pinctrl-names = "default";
147
+ pinctrl-0 = <&mipi_refclk_out0>;
148
+ rockchip,camera-module-index = <0>;
149
+ rockchip,camera-module-facing = "back";
150
+ rockchip,camera-module-name = "FKO1";
151
+ rockchip,camera-module-lens-name = "30IRC-F16";
152
+ port {
153
+ sc3338_out: endpoint {
154
+ remote-endpoint = <&csi_dphy_input5>;
155
+ data-lanes = <1 2>;
156
+ };
157
+ };
158
+ };
159
+
113160 sc4336: sc4336@30 {
114161 compatible = "smartsens,sc4336";
115162 status = "okay";
....@@ -175,6 +222,94 @@
175222 };
176223 };
177224 };
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
+ };
178313 };
179314
180315 &mipi0_csi2 {