hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/arch/arm64/boot/dts/rockchip/rk3566-evb1-ddr4-v10.dtsi
....@@ -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 {
....@@ -216,6 +216,33 @@
216216
217217 &edp_in_vp1 {
218218 status = "disabled";
219
+};
220
+
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
+ phy-handle = <&rgmii_phy1>;
245
+ status = "okay";
219246 };
220247
221248 /*
....@@ -280,6 +307,12 @@
280307 };
281308 };
282309
310
+&i2s2_2ch {
311
+ pinctrl-0 = <&i2s2m1_sclktx &i2s2m1_lrcktx &i2s2m1_sdi &i2s2m1_sdo>;
312
+ rockchip,bclk-fs = <32>;
313
+ status = "disabled";
314
+};
315
+
283316 &i2s3_2ch {
284317 status = "disabled";
285318 };
....@@ -318,7 +351,7 @@
318351 };
319352
320353 &video_phy0 {
321
- status = "okay";
354
+ status = "disabled";
322355 };
323356
324357 &video_phy1 {
....@@ -368,15 +401,15 @@
368401 };
369402
370403 &rkisp {
371
- status = "okay";
404
+ status = "disabled";
372405 };
373406
374407 &rkisp_mmu {
375
- status = "okay";
408
+ status = "disabled";
376409 };
377410
378411 &rkisp_vir0 {
379
- status = "okay";
412
+ status = "disabled";
380413
381414 port {
382415 #address-cells = <1>;
....@@ -390,7 +423,7 @@
390423 };
391424
392425 &route_dsi0 {
393
- status = "okay";
426
+ status = "disabled";
394427 connect = <&vp1_out_dsi0>;
395428 };
396429
....@@ -443,6 +476,9 @@
443476 WIFI,host_wake_irq = <&gpio3 RK_PD4 GPIO_ACTIVE_HIGH>;
444477 };
445478
479
+&work_led {
480
+ gpios = <&gpio2 RK_PB2 GPIO_ACTIVE_HIGH>;
481
+};
446482
447483 &pinctrl {
448484 cam {
....@@ -450,12 +486,6 @@
450486 rockchip,pins =
451487 /* camera power en */
452488 <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>;
459489 };
460490 };
461491