hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/arch/arm64/boot/dts/rockchip/rk3566-evb1-ddr4-v10.dtsi
old mode 100755new mode 100644
....@@ -67,11 +67,11 @@
6767 };
6868
6969 &csi2_dphy_hw {
70
- status = "disabled";
70
+ status = "okay";
7171 };
7272
7373 &csi2_dphy1 {
74
- status = "disabled";
74
+ status = "okay";
7575
7676 /*
7777 * dphy1 only used for split mode,
....@@ -108,7 +108,7 @@
108108 };
109109
110110 &csi2_dphy2 {
111
- status = "disabled";
111
+ status = "okay";
112112
113113 /*
114114 * dphy2 only used for split mode,
....@@ -160,7 +160,7 @@
160160 * when dsi0 is enabled
161161 */
162162 &dsi0 {
163
- status = "disabled";
163
+ status = "okay";
164164 };
165165
166166 &dsi0_in_vp0 {
....@@ -168,7 +168,7 @@
168168 };
169169
170170 &dsi0_in_vp1 {
171
- status = "disabled";
171
+ status = "okay";
172172 };
173173
174174 &dsi0_panel {
....@@ -218,37 +218,13 @@
218218 status = "disabled";
219219 };
220220
221
-&gmac1 {
222
- phy-mode = "rgmii";
223
- clock_in_out = "output";
224
-
225
- snps,reset-gpio = <&gpio3 RK_PB0 GPIO_ACTIVE_LOW>;
226
- snps,reset-active-low;
227
- /* Reset time is 20ms, 100ms for rtl8211f */
228
- snps,reset-delays-us = <0 20000 100000>;
229
-
230
- assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>;
231
- assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru CLK_MAC1_2TOP>;
232
- assigned-clock-rates = <0>, <125000000>;
233
-
234
- pinctrl-names = "default";
235
- pinctrl-0 = <&gmac1m1_miim
236
- &gmac1m1_tx_bus2
237
- &gmac1m1_rx_bus2
238
- &gmac1m1_rgmii_clk
239
- &gmac1m1_rgmii_bus>;
240
-
241
- tx_delay = <0x4f>;
242
- rx_delay = <0x26>;
243
-
244
-
245
- status = "okay";
246
-};
247
-
248221 /*
249222 * power-supply should switche to vcc3v3_lcd1_n
250223 * when mipi panel is connected to dsi1.
251224 */
225
+&gt1x {
226
+ power-supply = <&vcc3v3_lcd0_n>;
227
+};
252228
253229 &i2c2 {
254230 status = "okay";
....@@ -348,7 +324,7 @@
348324 };
349325
350326 &video_phy0 {
351
- status = "disabled";
327
+ status = "okay";
352328 };
353329
354330 &video_phy1 {
....@@ -398,15 +374,15 @@
398374 };
399375
400376 &rkisp {
401
- status = "disabled";
377
+ status = "okay";
402378 };
403379
404380 &rkisp_mmu {
405
- status = "disabled";
381
+ status = "okay";
406382 };
407383
408384 &rkisp_vir0 {
409
- status = "disabled";
385
+ status = "okay";
410386
411387 port {
412388 #address-cells = <1>;
....@@ -420,13 +396,14 @@
420396 };
421397
422398 &route_dsi0 {
423
- status = "disabled";
399
+ status = "okay";
424400 connect = <&vp1_out_dsi0>;
425401 };
426402
427403 &sdmmc2 {
428404 max-frequency = <150000000>;
429
- supports-sdio;
405
+ no-sd;
406
+ no-mmc;
430407 bus-width = <4>;
431408 disable-wp;
432409 cap-sd-highspeed;
....@@ -473,6 +450,10 @@
473450 WIFI,host_wake_irq = <&gpio3 RK_PD4 GPIO_ACTIVE_HIGH>;
474451 };
475452
453
+&work_led {
454
+ gpios = <&gpio2 RK_PB2 GPIO_ACTIVE_HIGH>;
455
+};
456
+
476457 &pinctrl {
477458 cam {
478459 camera_pwr: camera-pwr {