hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/arm/boot/dts/rv1106g-evb2-v10-dual-camera.dts
....@@ -64,7 +64,7 @@
6464
6565 csi_dphy_input0: endpoint@0 {
6666 reg = <0>;
67
- remote-endpoint = <&sc3338_30_out>;
67
+ remote-endpoint = <&sc301iot_out>;
6868 data-lanes = <1 2>;
6969 };
7070 };
....@@ -96,7 +96,7 @@
9696
9797 csi_dphy_input1: endpoint@0 {
9898 reg = <0>;
99
- remote-endpoint = <&sc3338_32_out>;
99
+ remote-endpoint = <&sc230ai_out>;
100100 data-lanes = <1 2>;
101101 };
102102 };
....@@ -127,43 +127,44 @@
127127 &i2c4 {
128128 rockchip,amp-shared;
129129
130
- sc3338_30: sc3338_30@30 {
131
- compatible = "smartsens,sc3338";
130
+ sc230ai: sc230ai@30 {
131
+ compatible = "smartsens,sc230ai";
132132 status = "okay";
133133 reg = <0x30>;
134
- clocks = <&cru MCLK_REF_MIPI0>;
134
+ clocks = <&cru MCLK_REF_MIPI1>;
135135 clock-names = "xvclk";
136
- pwdn-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
136
+ reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
137137 pinctrl-names = "default";
138
- pinctrl-0 = <&mipi_refclk_out0>;
139
- rockchip,camera-module-index = <0>;
138
+ pinctrl-0 = <&mipi_refclk_out1>;
139
+ rockchip,camera-module-index = <1>;
140140 rockchip,camera-module-facing = "back";
141
- rockchip,camera-module-name = "FKO1";
142
- rockchip,camera-module-lens-name = "30IRC-F16";
141
+ rockchip,camera-module-name = "CMK-OT2350-PC1";
142
+ rockchip,camera-module-lens-name = "65IRC-F16";
143143 port {
144
- sc3338_30_out: endpoint {
145
- remote-endpoint = <&csi_dphy_input0>;
144
+ sc230ai_out: endpoint {
145
+ remote-endpoint = <&csi_dphy_input1>;
146146 data-lanes = <1 2>;
147147 };
148148 };
149149 };
150150
151
- sc3338_32: sc3338_32@32 {
152
- compatible = "smartsens,sc3338";
151
+ sc301iot: sc301iot@32 {
152
+ compatible = "smartsens,sc301iot";
153153 status = "okay";
154154 reg = <0x32>;
155
- clocks = <&cru MCLK_REF_MIPI1>;
155
+ clocks = <&cru MCLK_REF_MIPI0>;
156156 clock-names = "xvclk";
157
- pwdn-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
157
+ reset-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
158
+ pwdn-gpios = <&gpio3 RK_PD2 GPIO_ACTIVE_HIGH>;
158159 pinctrl-names = "default";
159
- pinctrl-0 = <&mipi_refclk_out1>;
160
- rockchip,camera-module-index = <1>;
160
+ pinctrl-0 = <&mipi_refclk_out0>;
161
+ rockchip,camera-module-index = <0>;
161162 rockchip,camera-module-facing = "back";
162
- rockchip,camera-module-name = "FKO1";
163
- rockchip,camera-module-lens-name = "30IRC-F16";
163
+ rockchip,camera-module-name = "CMK-OT2349-PC1";
164
+ rockchip,camera-module-lens-name = "65IRC-F20";
164165 port {
165
- sc3338_32_out: endpoint {
166
- remote-endpoint = <&csi_dphy_input1>;
166
+ sc301iot_out: endpoint {
167
+ remote-endpoint = <&csi_dphy_input0>;
167168 data-lanes = <1 2>;
168169 };
169170 };
....@@ -327,29 +328,29 @@
327328 /* reg's offset MUST match with RTOS */
328329 /*
329330 * vicap, capture raw10, ceil(w*10/8/256)*256*h *4(buf num)
330
- * e.g. 2304x1296: 0xf30000
331
+ * e.g. 2048x1536: 0xf00000
331332 * 0x008b0000 = (meta's reg offset) + (meta's reg size)
332333 * = 0x00800000 + 0xb0000
333334 */
334
- reg = <0x008b0000 0xf30000>;
335
+ reg = <0x008b0000 0xf00000>;
335336 };
336337
337338 &ramdisk_r {
338
- reg = <0x17e0000 (10 * 0x00100000)>;
339
+ reg = <0x17b0000 (10 * 0x00100000)>;
339340 };
340341
341342 &ramdisk_c {
342
- reg = <0x21e0000 (5 * 0x00100000)>;
343
+ reg = <0x21b0000 (5 * 0x00100000)>;
343344 };
344345
345346 &rkisp1_thunderboot {
346347 /*
347348 * vicap, capture raw10, ceil(w*10/8/256)*256*h *4(buf num)
348
- * e.g. 2304x1296: 0xf30000
349
- * 0x26e0000 = (ramdisk_c's reg offset) + (ramdisk_c's reg size)
350
- * = 0x21e0000 + (5 * 0x00100000)
349
+ * e.g. 1920x1080: 0xa8c0000
350
+ * 0x26b0000 = (ramdisk_c's reg offset) + (ramdisk_c's reg size)
351
+ * = 0x21b0000 + (5 * 0x00100000)
351352 */
352
- reg = <0x26e0000 0xf30000>;
353
+ reg = <0x26b0000 0xa8c000>;
353354 };
354355
355356 &pinctrl {