forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-04 f33f61bdb7ca6d5ebe7a78f9d8694b91360279ac
kernel/arch/arm64/boot/dts/rockchip/rk3566-evb1-ddr4-v10.dtsi
old mode 100644new mode 100755
....@@ -25,13 +25,6 @@
2525 vin-supply = <&dc_12v>;
2626 };
2727
28
- rk_headset: rk-headset {
29
- compatible = "rockchip_headset";
30
- headset_gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_LOW>;
31
- pinctrl-names = "default";
32
- pinctrl-0 = <&hp_det>;
33
- };
34
-
3528 vcc3v3_vga: vcc3v3-vga {
3629 compatible = "regulator-fixed";
3730 regulator-name = "vcc3v3_vga";
....@@ -54,6 +47,13 @@
5447 };
5548 };
5649
50
+&bt_sound {
51
+ status = "disabled";
52
+ simple-audio-card,cpu {
53
+ sound-dai = <&i2s2_2ch>;
54
+ };
55
+};
56
+
5757 &audiopwmout_diff {
5858 status = "disabled";
5959 };
....@@ -67,11 +67,11 @@
6767 };
6868
6969 &csi2_dphy_hw {
70
- status = "okay";
70
+ status = "disabled";
7171 };
7272
7373 &csi2_dphy1 {
74
- status = "okay";
74
+ status = "disabled";
7575
7676 /*
7777 * dphy1 only used for split mode,
....@@ -108,7 +108,7 @@
108108 };
109109
110110 &csi2_dphy2 {
111
- status = "okay";
111
+ status = "disabled";
112112
113113 /*
114114 * dphy2 only used for split mode,
....@@ -160,7 +160,7 @@
160160 * when dsi0 is enabled
161161 */
162162 &dsi0 {
163
- status = "okay";
163
+ status = "disabled";
164164 };
165165
166166 &dsi0_in_vp0 {
....@@ -168,7 +168,7 @@
168168 };
169169
170170 &dsi0_in_vp1 {
171
- status = "okay";
171
+ status = "disabled";
172172 };
173173
174174 &dsi0_panel {
....@@ -218,13 +218,37 @@
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
+
221248 /*
222249 * power-supply should switche to vcc3v3_lcd1_n
223250 * when mipi panel is connected to dsi1.
224251 */
225
-&gt1x {
226
- power-supply = <&vcc3v3_lcd0_n>;
227
-};
228252
229253 &i2c2 {
230254 status = "okay";
....@@ -280,6 +304,12 @@
280304 };
281305 };
282306
307
+&i2s2_2ch {
308
+ pinctrl-0 = <&i2s2m1_sclktx &i2s2m1_lrcktx &i2s2m1_sdi &i2s2m1_sdo>;
309
+ rockchip,bclk-fs = <32>;
310
+ status = "disabled";
311
+};
312
+
283313 &i2s3_2ch {
284314 status = "disabled";
285315 };
....@@ -318,7 +348,7 @@
318348 };
319349
320350 &video_phy0 {
321
- status = "okay";
351
+ status = "disabled";
322352 };
323353
324354 &video_phy1 {
....@@ -368,15 +398,15 @@
368398 };
369399
370400 &rkisp {
371
- status = "okay";
401
+ status = "disabled";
372402 };
373403
374404 &rkisp_mmu {
375
- status = "okay";
405
+ status = "disabled";
376406 };
377407
378408 &rkisp_vir0 {
379
- status = "okay";
409
+ status = "disabled";
380410
381411 port {
382412 #address-cells = <1>;
....@@ -390,7 +420,7 @@
390420 };
391421
392422 &route_dsi0 {
393
- status = "okay";
423
+ status = "disabled";
394424 connect = <&vp1_out_dsi0>;
395425 };
396426
....@@ -443,19 +473,12 @@
443473 WIFI,host_wake_irq = <&gpio3 RK_PD4 GPIO_ACTIVE_HIGH>;
444474 };
445475
446
-
447476 &pinctrl {
448477 cam {
449478 camera_pwr: camera-pwr {
450479 rockchip,pins =
451480 /* camera power en */
452481 <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
453
- };
454
- };
455
-
456
- headphone {
457
- hp_det: hp-det {
458
- rockchip,pins = <3 RK_PA1 RK_FUNC_GPIO &pcfg_pull_down>;
459482 };
460483 };
461484