hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/arm/boot/dts/rv1106g-evb2-v12-wakeup.dts
....@@ -12,10 +12,6 @@
1212 model = "Rockchip RV1106G EVB2 V12 Board";
1313 compatible = "rockchip,rv1106g-evb2-v12-wakeup", "rockchip,rv1106";
1414
15
- chosen {
16
- bootargs = "clk_gate.always_on=1";
17
- };
18
-
1915 reserved-memory {
2016 #address-cells = <1>;
2117 #size-cells = <1>;
....@@ -25,31 +21,6 @@
2521 reg = <0x40000 0x3c000>;
2622 };
2723
28
- meta: meta@800000 {
29
- /* reg's offset MUST match with RTOS */
30
- reg = <0x00800000 0x60000>;
31
- };
32
-
33
- rkisp_thunderboot: rkisp@860000 {
34
- /* reg's offset MUST match with RTOS */
35
- /*
36
- * vicap, capture raw10, ceil(w*10/8/256)*256*h *4(buf num)
37
- * e.g. 1920x1080: 0xa8c000
38
- */
39
- reg = <0x00860000 0xa8c000>;
40
- };
41
- };
42
-
43
- thunder_boot_service: thunder-boot-service {
44
- compatible = "rockchip,thunder-boot-service";
45
- mbox-names = "amp-rx";
46
- mboxes = <&mailbox 1>;
47
- resets = <&cru SRST_CORE_MCU>, <&cru SRST_CORE_MCU_PWRUP>,
48
- <&cru SRST_CORE_MCU_CPU>, <&cru SRST_T_CORE_MCU_CPU>;
49
- reset-names = "core_mcu", "core_mcu_pwrup",
50
- "core_mcu_cpu", "t_core_mcu_cpu";
51
- memory-region = <&rtos>;
52
- status = "disabled";
5324 };
5425
5526 vcc_1v8: vcc-1v8 {
....@@ -83,7 +54,7 @@
8354 wireless_wlan: wireless-wlan {
8455 compatible = "wlan-platdata";
8556 WIFI,host_wake_irq = <&gpio1 RK_PB0 GPIO_ACTIVE_HIGH>;
86
- status = "okay";
57
+ status = "disabled";
8758 };
8859
8960 gpio-keys {
....@@ -129,6 +100,12 @@
129100 csi_dphy_input0: endpoint@0 {
130101 reg = <0>;
131102 remote-endpoint = <&sc3338_out>;
103
+ data-lanes = <1 2>;
104
+ };
105
+
106
+ csi_dphy_input1: endpoint@1 {
107
+ reg = <1>;
108
+ remote-endpoint = <&sc200ai_out>;
132109 data-lanes = <1 2>;
133110 };
134111 };
....@@ -180,6 +157,28 @@
180157 };
181158 };
182159 };
160
+
161
+ sc200ai: sc200ai@30 {
162
+ compatible = "smartsens,sc200ai";
163
+ status = "okay";
164
+ reg = <0x30>;
165
+ clocks = <&cru MCLK_REF_MIPI0>;
166
+ clock-names = "xvclk";
167
+ reset-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
168
+ pwdn-gpios = <&gpio3 RK_PD2 GPIO_ACTIVE_HIGH>;
169
+ pinctrl-names = "default";
170
+ pinctrl-0 = <&mipi_refclk_out0>;
171
+ rockchip,camera-module-index = <0>;
172
+ rockchip,camera-module-facing = "back";
173
+ rockchip,camera-module-name = "CMK-OT2115-PC1";
174
+ rockchip,camera-module-lens-name = "30IRC-F16";
175
+ port {
176
+ sc200ai_out: endpoint {
177
+ remote-endpoint = <&csi_dphy_input1>;
178
+ data-lanes = <1 2>;
179
+ };
180
+ };
181
+ };
183182 };
184183
185184 &mipi0_csi2 {
....@@ -223,7 +222,6 @@
223222
224223 &rkcif_mipi_lvds {
225224 status = "okay";
226
- //memory-region-thunderboot = <&rkisp_thunderboot>;
227225
228226 pinctrl-names = "default";
229227 pinctrl-0 = <&mipi_pins>;
....@@ -323,5 +321,9 @@
323321 };
324322
325323 &usbdrd_dwc3 {
326
- dr_mode = "peripheral";
324
+ dr_mode = "otg";
325
+};
326
+
327
+&acodec {
328
+ status = "disabled";
327329 };