hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/rk3036.dtsi
....@@ -18,6 +18,9 @@
1818
1919 aliases {
2020 ethernet0 = &emac;
21
+ gpio0 = &gpio0;
22
+ gpio1 = &gpio1;
23
+ gpio2 = &gpio2;
2124 i2c0 = &i2c0;
2225 i2c1 = &i2c1;
2326 i2c2 = &i2c2;
....@@ -85,7 +88,7 @@
8588 };
8689 };
8790
88
- amba {
91
+ amba: bus {
8992 compatible = "simple-bus";
9093 #address-cells = <1>;
9194 #size-cells = <1>;
....@@ -138,7 +141,7 @@
138141 #clock-cells = <0>;
139142 };
140143
141
- bus_intmem@10080000 {
144
+ bus_intmem: sram@10080000 {
142145 compatible = "mmio-sram";
143146 reg = <0x10080000 0x2000>;
144147 #address-cells = <1>;
....@@ -152,24 +155,40 @@
152155 };
153156
154157 gpu: gpu@10090000 {
155
- compatible = "rockchip,rk3036-mali", "arm,mali-400";
158
+ compatible = "arm,mali400";
156159 reg = <0x10090000 0x10000>;
160
+ upthreshold = <40>;
161
+ downdifferential = <10>;
162
+
157163 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
158
- <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
159
- <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
160
- <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
161
- interrupt-names = "gp",
162
- "gpmmu",
163
- "pp0",
164
- "ppmmu0";
164
+ <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
165
+ <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
166
+ <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
167
+
168
+ interrupt-names = "Mali_GP_IRQ",
169
+ "Mali_GP_MMU_IRQ",
170
+ "Mali_PP0_IRQ",
171
+ "Mali_PP0_MMU_IRQ";
172
+
173
+ clocks = <&cru SCLK_GPU>;
174
+ clock-names = "clk_mali";
165175 assigned-clocks = <&cru SCLK_GPU>;
166176 assigned-clock-rates = <400000000>;
167177 assigned-clock-parents = <&cru PLL_DPLL>;
178
+ power-domains = <&power RK3036_PD_GPU>;
168179 operating-points-v2 = <&gpu_opp_table>;
169
- clocks = <&cru SCLK_GPU>, <&cru SCLK_GPU>;
170
- clock-names = "bus", "core";
171
- resets = <&cru SRST_GPU>;
180
+
172181 status = "disabled";
182
+
183
+ gpu_power_model: power_model {
184
+ compatible = "arm,mali-simple-power-model";
185
+ voltage = <900>;
186
+ frequency = <500>;
187
+ static-power = <300>;
188
+ dynamic-power = <396>;
189
+ ts = <32000 4700 (-80) 2>;
190
+ thermal-zone = "soc-thermal";
191
+ };
173192 };
174193
175194 gpu_opp_table: opp-table1 {
....@@ -185,34 +204,36 @@
185204 };
186205 };
187206
188
- vpu: video-codec@10108000 {
189
- compatible = "rockchip,rk3036-vpu", "rockchip,rk3288-vpu";
190
- reg = <0x10108000 0x800>;
191
- interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
192
- <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
193
- interrupt-names = "vepu", "vdpu";
194
- clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
195
- clock-names = "aclk", "hclk";
196
- iommus = <&vpu_mmu>;
197
- /*
198
- * 3036's vpu could not run higher than 300M
199
- */
200
- assigned-clocks = <&cru ACLK_VCODEC>;
201
- assigned-clock-rates = <297000000>;
202
- assigned-clock-parents = <&cru PLL_GPLL>;
203
- power-domains = <&power RK3036_PD_VPU>;
207
+ mpp_srv: mpp-srv {
208
+ compatible = "rockchip,mpp-service";
209
+ rockchip,taskqueue-count = <1>;
210
+ rockchip,resetgroup-count = <1>;
211
+ rockchip,grf = <&grf>;
212
+ rockchip,grf-offset = <0x0144>;
213
+ rockchip,grf-values = <0x0008000a>, <0x00080002>;
214
+ rockchip,grf-names = "grf_rkvdec", "grf_vdpu1";
204215 status = "disabled";
205216 };
206217
207
- vpu_service: vpu-service@10108400 {
208
- compatible = "rockchip,sub";
218
+ vdpu: vdpu@10108400 {
219
+ compatible = "rockchip,vpu-decoder-rk3036";
209220 reg = <0x10108400 0x400>;
210
- dev_mode = <0>;
211221 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
212222 interrupt-names = "irq_dec";
223
+ clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
224
+ clock-names = "aclk_vcodec", "hclk_vcodec";
225
+ rockchip,normal-rates = <297000000>, <0>;
226
+ assigned-clocks = <&cru ACLK_VCODEC>;
227
+ assigned-clock-rates = <297000000>;
228
+ assigned-clock-parents = <&cru PLL_GPLL>;
229
+ resets = <&cru SRST_VCODEC_A>, <&cru SRST_VCODEC_H>;
230
+ reset-names = "shared_video_a", "shared_video_h";
213231 iommus = <&vpu_mmu>;
214
- allocator = <1>;
215232 power-domains = <&power RK3036_PD_VPU>;
233
+ rockchip,srv = <&mpp_srv>;
234
+ rockchip,taskqueue-node = <0>;
235
+ rockchip,resetgroup-node = <0>;
236
+ status = "disabled";
216237 };
217238
218239 vpu_mmu: iommu@10108800 {
....@@ -220,20 +241,32 @@
220241 reg = <0x10108800 0x100>;
221242 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
222243 interrupt-names = "vpu_mmu";
244
+ clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
245
+ clock-names = "aclk", "iface";
223246 #iommu-cells = <0>;
224247 power-domains = <&power RK3036_PD_VPU>;
225248 status = "disabled";
226249 };
227250
228
- hevc_service: hevc-service@1010c000 {
229
- compatible = "rockchip,sub";
251
+ hevc: hevc_service@1010c000 {
252
+ compatible = "rockchip,hevc-decoder-rk3036";
230253 reg = <0x1010c000 0x400>;
231
- dev_mode = <1>;
232254 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
233255 interrupt-names = "irq_dec";
234
- allocator = <1>;
256
+ clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>, <&cru ACLK_HEVC>;
257
+ clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core";
258
+ rockchip,normal-rates = <297000000>, <0>, <200000000>;
259
+ assigned-clocks = <&cru ACLK_VCODEC>;
260
+ assigned-clock-rates = <297000000>;
261
+ assigned-clock-parents = <&cru PLL_GPLL>;
262
+ resets = <&cru SRST_VCODEC_A>, <&cru SRST_VCODEC_H>, <&cru SRST_HEVC>;
263
+ reset-names = "shared_video_a", "shared_video_h", "video_core";
235264 iommus = <&hevc_mmu>;
265
+ rockchip,srv = <&mpp_srv>;
266
+ rockchip,taskqueue-node = <0>;
267
+ rockchip,resetgroup-node = <0>;
236268 power-domains = <&power RK3036_PD_VPU>;
269
+ status = "disabled";
237270 };
238271
239272 hevc_mmu: iommu@1010c440 {
....@@ -241,28 +274,9 @@
241274 reg = <0x1010c440 0x40>, <0x1010c480 0x40>;
242275 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
243276 interrupt-names = "hevc_mmu";
277
+ clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
278
+ clock-names = "aclk", "iface";
244279 #iommu-cells = <0>;
245
- power-domains = <&power RK3036_PD_VPU>;
246
- status = "disabled";
247
- };
248
-
249
- vpu_combo: vpu-combo {
250
- compatible = "rockchip,vpu_combo";
251
- rockchip,grf = <&grf>;
252
- subcnt = <2>;
253
- rockchip,sub = <&hevc_service>, <&vpu_service>;
254
- mode_bit = <3>;
255
- mode_ctrl = <0x144>;
256
- clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>,
257
- <&cru ACLK_HEVC>;
258
- clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core";
259
- /* RK3036's vpu could not run higher than 300M */
260
- assigned-clocks = <&cru ACLK_VCODEC>;
261
- assigned-clock-rates = <297000000>;
262
- assigned-clock-parents = <&cru PLL_GPLL>;
263
- resets = <&cru SRST_VCODEC_A>, <&cru SRST_VCODEC_H>,
264
- <&cru SRST_HEVC>;
265
- reset-names = "video_a", "video_h", "video";
266280 power-domains = <&power RK3036_PD_VPU>;
267281 status = "disabled";
268282 };
....@@ -284,6 +298,37 @@
284298 vop_out_hdmi: endpoint@0 {
285299 reg = <0>;
286300 remote-endpoint = <&hdmi_in_vop>;
301
+ };
302
+ vop_out_tve: endpoint@1 {
303
+ reg = <1>;
304
+ remote-endpoint = <&tve_in_vop>;
305
+ };
306
+ };
307
+ };
308
+
309
+ tve: tve@10118200 {
310
+ compatible = "rockchip,rk3036-tve";
311
+ reg = <0x10118200 0x100>;
312
+ clocks = <&cru ACLK_VIO>;
313
+ clock-names = "aclk";
314
+ rockchip,saturation = <0x00386346>;
315
+ rockchip,brightcontrast = <0x00008b00>;
316
+ rockchip,adjtiming = <0xa6c00880>;
317
+ rockchip,lumafilter0 = <0x02ff0000>;
318
+ rockchip,lumafilter1 = <0xf40202fd>;
319
+ rockchip,lumafilter2 = <0xf332d919>;
320
+ rockchip,daclevel = <0x3e>;
321
+ rockchip,grf = <&grf>;
322
+ status = "disabled";
323
+
324
+ ports {
325
+ tve_in: port {
326
+ #address-cells = <1>;
327
+ #size-cells = <0>;
328
+ tve_in_vop: endpoint@0 {
329
+ reg = <0>;
330
+ remote-endpoint = <&vop_out_tve>;
331
+ };
287332 };
288333 };
289334 };
....@@ -363,6 +408,20 @@
363408 status = "disabled";
364409 };
365410
411
+ spdif_tx: spdif-tx@10204000 {
412
+ compatible = "rockchip,rk3066-spdif";
413
+ reg = <0x10204000 0x1000>;
414
+ clocks = <&cru SCLK_SPDIF>, <&cru SCLK_SPDIF>;
415
+ clock-names = "mclk", "hclk";
416
+ interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
417
+ dmas = <&pdma 13>;
418
+ dma-names = "tx";
419
+ pinctrl-names = "default";
420
+ pinctrl-0 = <&spdif_out>;
421
+ #sound-dai-cells = <0>;
422
+ status = "disabled";
423
+ };
424
+
366425 sfc: sfc@10208000 {
367426 compatible = "rockchip,sfc";
368427 reg = <0x10208000 0x200>;
....@@ -383,10 +442,12 @@
383442 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
384443 resets = <&cru SRST_MMC0>;
385444 reset-names = "reset";
445
+ no-mmc;
446
+ no-sdio;
386447 status = "disabled";
387448 };
388449
389
- sdio: dwmmc@10218000 {
450
+ sdio: mmc@10218000 {
390451 compatible = "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc";
391452 reg = <0x10218000 0x4000>;
392453 max-frequency = <37500000>;
....@@ -397,10 +458,12 @@
397458 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
398459 resets = <&cru SRST_SDIO>;
399460 reset-names = "reset";
461
+ no-mmc;
462
+ no-sd;
400463 status = "disabled";
401464 };
402465
403
- emmc: dwmmc@1021c000 {
466
+ emmc: mmc@1021c000 {
404467 compatible = "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc";
405468 reg = <0x1021c000 0x4000>;
406469 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
....@@ -411,13 +474,14 @@
411474 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
412475 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
413476 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
414
- default-sample-phase = <158>;
477
+ rockchip,default-sample-phase = <158>;
415478 disable-wp;
416479 dmas = <&pdma 12>;
417480 dma-names = "rx-tx";
418481 fifo-depth = <0x100>;
419482 non-removable;
420
- supports-emmc;
483
+ no-sdio;
484
+ no-sd;
421485 pinctrl-names = "default";
422486 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
423487 resets = <&cru SRST_EMMC>;
....@@ -429,8 +493,6 @@
429493 compatible = "rockchip,rk3036-i2s", "rockchip,rk3066-i2s";
430494 reg = <0x10220000 0x4000>;
431495 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
432
- #address-cells = <1>;
433
- #size-cells = <0>;
434496 clock-names = "i2s_clk", "i2s_hclk";
435497 clocks = <&cru SCLK_I2S>, <&cru HCLK_I2S>;
436498 assigned-clocks = <&cru SCLK_I2S_PRE>;
....@@ -440,7 +502,13 @@
440502 resets = <&cru SRST_I2S>;
441503 reset-names = "reset-m";
442504 pinctrl-names = "default";
443
- pinctrl-0 = <&i2s_bus>;
505
+ pinctrl-0 = <&i2s_mclk
506
+ &i2s_sclk
507
+ &i2s_lrclkrx
508
+ &i2s_lrclktx
509
+ &i2s_sdo
510
+ &i2s_sdi>;
511
+ #sound-dai-cells = <0>;
444512 status = "disabled";
445513 };
446514
....@@ -457,6 +525,8 @@
457525 grf: syscon@20008000 {
458526 compatible = "rockchip,rk3036-grf", "syscon", "simple-mfd";
459527 reg = <0x20008000 0x1000>;
528
+ #address-cells = <1>;
529
+ #size-cells = <1>;
460530
461531 reboot-mode {
462532 compatible = "syscon-reboot-mode";
....@@ -481,12 +551,42 @@
481551 <&cru ACLK_HEVC>;
482552 pm_qos = <&qos_vpu>;
483553 };
554
+ pd_gpu@RK3036_PD_GPU {
555
+ reg = <RK3036_PD_GPU>;
556
+ clocks = <&cru SCLK_GPU>;
557
+ };
558
+ };
484559
560
+ usb2phy: usb2-phy@17c {
561
+ compatible = "rockchip,rk3036-usb2phy";
562
+ reg = <0x017c 0x0c>;
563
+ clocks = <&cru SCLK_OTGPHY0>;
564
+ clock-names = "phyclk";
565
+ #clock-cells = <0>;
566
+ clock-output-names = "usb480m_phy";
567
+ status = "disabled";
568
+
569
+ u2phy_otg: otg-port {
570
+ #phy-cells = <0>;
571
+ interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
572
+ <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
573
+ <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
574
+ interrupt-names = "otg-bvalid", "otg-id",
575
+ "linestate";
576
+ status = "disabled";
577
+ };
578
+
579
+ u2phy_host: host-port {
580
+ #phy-cells = <0>;
581
+ interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
582
+ interrupt-names = "linestate";
583
+ status = "disabled";
584
+ };
485585 };
486586 };
487587
488588 acodec: acodec-ana@20030000 {
489
- compatible = "rk3036-codec";
589
+ compatible = "rockchip,rk3036-codec";
490590 reg = <0x20030000 0x4000>;
491591 rockchip,grf = <&grf>;
492592 clock-names = "acodec_pclk";
....@@ -518,25 +618,6 @@
518618 };
519619 };
520620
521
- hdmi_sound: hdmi-sound {
522
- compatible = "simple-audio-card";
523
- simple-audio-card,name = "rockchip,hdmi";
524
- simple-audio-card,widgets = "Headphone", "Out Jack",
525
- "Line", "In Jack";
526
- status = "disabled";
527
-
528
- simple-audio-card,dai-link {
529
- format = "i2s";
530
- mclk-fs = <256>;
531
- cpu {
532
- sound-dai = <&i2s>;
533
- };
534
- codec {
535
- sound-dai = <&hdmi>;
536
- };
537
- };
538
- };
539
-
540621 timer: timer@20044000 {
541622 compatible = "rockchip,rk3036-timer", "rockchip,rk3288-timer";
542623 reg = <0x20044000 0x20>;
....@@ -553,7 +634,7 @@
553634 };
554635
555636 pwm0: pwm@20050000 {
556
- compatible = "rockchip,rk3036-pwm", "rockchip,rk2928-pwm";
637
+ compatible = "rockchip,rk3036-pwm", "rockchip,rk3288-pwm";
557638 reg = <0x20050000 0x10>;
558639 #pwm-cells = <3>;
559640 clocks = <&cru PCLK_PWM>;
....@@ -564,7 +645,7 @@
564645 };
565646
566647 pwm1: pwm@20050010 {
567
- compatible = "rockchip,rk3036-pwm", "rockchip,rk2928-pwm";
648
+ compatible = "rockchip,rk3036-pwm", "rockchip,rk3288-pwm";
568649 reg = <0x20050010 0x10>;
569650 #pwm-cells = <3>;
570651 clocks = <&cru PCLK_PWM>;
....@@ -575,7 +656,7 @@
575656 };
576657
577658 pwm2: pwm@20050020 {
578
- compatible = "rockchip,rk3036-pwm", "rockchip,rk2928-pwm";
659
+ compatible = "rockchip,rk3036-pwm", "rockchip,rk3288-pwm";
579660 reg = <0x20050020 0x10>;
580661 #pwm-cells = <3>;
581662 clocks = <&cru PCLK_PWM>;
....@@ -586,9 +667,10 @@
586667 };
587668
588669 pwm3: pwm@20050030 {
589
- compatible = "rockchip,rk3036-pwm", "rockchip,rk2928-pwm";
670
+ compatible = "rockchip,rk3036-pwm", "rockchip,rk3288-pwm";
590671 reg = <0x20050030 0x10>;
591
- #pwm-cells = <2>;
672
+ interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
673
+ #pwm-cells = <3>;
592674 clocks = <&cru PCLK_PWM>;
593675 clock-names = "pwm";
594676 pinctrl-names = "active";
....@@ -681,7 +763,7 @@
681763 compatible = "rockchip,rockchip-spi";
682764 reg = <0x20074000 0x1000>;
683765 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
684
- clocks =<&cru PCLK_SPI>, <&cru SCLK_SPI>;
766
+ clocks = <&cru PCLK_SPI>, <&cru SCLK_SPI>;
685767 clock-names = "apb-pclk","spi_pclk";
686768 dmas = <&pdma 8>, <&pdma 9>;
687769 dma-names = "tx", "rx";
....@@ -703,6 +785,7 @@
703785 compatible = "rockchip,gpio-bank";
704786 reg = <0x2007c000 0x100>;
705787 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
788
+ clock-names = "bus";
706789 clocks = <&cru PCLK_GPIO0>;
707790
708791 gpio-controller;
....@@ -716,6 +799,7 @@
716799 compatible = "rockchip,gpio-bank";
717800 reg = <0x20080000 0x100>;
718801 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
802
+ clock-names = "bus";
719803 clocks = <&cru PCLK_GPIO1>;
720804
721805 gpio-controller;
....@@ -729,6 +813,7 @@
729813 compatible = "rockchip,gpio-bank";
730814 reg = <0x20084000 0x100>;
731815 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
816
+ clock-names = "bus";
732817 clocks = <&cru PCLK_GPIO2>;
733818
734819 gpio-controller;
....@@ -742,35 +827,31 @@
742827 bias-pull-pin-default;
743828 };
744829
745
- pcfg_pull_up: pcfg-pull-up {
746
- bias-pull-up;
747
- };
748
-
749830 pcfg_pull_none: pcfg-pull-none {
750831 bias-disable;
751832 };
752833
753834 pwm0 {
754835 pwm0_pin: pwm0-pin {
755
- rockchip,pins = <0 RK_PA0 2 &pcfg_pull_none>;
836
+ rockchip,pins = <0 RK_PA0 2 &pcfg_pull_default>;
756837 };
757838 };
758839
759840 pwm1 {
760841 pwm1_pin: pwm1-pin {
761
- rockchip,pins = <0 RK_PA1 2 &pcfg_pull_none>;
842
+ rockchip,pins = <0 RK_PA1 2 &pcfg_pull_default>;
762843 };
763844 };
764845
765846 pwm2 {
766847 pwm2_pin: pwm2-pin {
767
- rockchip,pins = <0 RK_PA1 2 &pcfg_pull_none>;
848
+ rockchip,pins = <0 RK_PA1 2 &pcfg_pull_default>;
768849 };
769850 };
770851
771852 pwm3 {
772853 pwm3_pin: pwm3-pin {
773
- rockchip,pins = <0 RK_PD3 1 &pcfg_pull_none>;
854
+ rockchip,pins = <0 RK_PD3 1 &pcfg_pull_default>;
774855 };
775856 };
776857
....@@ -845,6 +926,12 @@
845926 };
846927 };
847928
929
+ spdif_tx {
930
+ spdif_out: spdif-out {
931
+ rockchip,pins = <0 RK_PD4 1 &pcfg_pull_default>;
932
+ };
933
+ };
934
+
848935 emac {
849936 emac_xfer: emac-xfer {
850937 rockchip,pins = <2 RK_PB2 1 &pcfg_pull_default>, /* crs_dvalid */
....@@ -885,20 +972,30 @@
885972 };
886973
887974 i2s {
888
- i2s_bus: i2s-bus {
889
- rockchip,pins = <1 RK_PA0 1 &pcfg_pull_default>,
890
- <1 RK_PA1 1 &pcfg_pull_default>,
891
- <1 RK_PA2 1 &pcfg_pull_default>,
892
- <1 RK_PA3 1 &pcfg_pull_default>,
893
- <1 RK_PA4 1 &pcfg_pull_default>,
894
- <1 RK_PA5 1 &pcfg_pull_default>;
975
+ i2s_mclk: i2s-mclk {
976
+ rockchip,pins = <1 RK_PA0 1 &pcfg_pull_default>;
977
+ };
978
+ i2s_sclk: i2s-sclk {
979
+ rockchip,pins = <1 RK_PA1 1 &pcfg_pull_default>;
980
+ };
981
+ i2s_lrclkrx: i2s-lrclkrx {
982
+ rockchip,pins = <1 RK_PA2 1 &pcfg_pull_default>;
983
+ };
984
+ i2s_lrclktx: i2s-lrclktx {
985
+ rockchip,pins = <1 RK_PA3 1 &pcfg_pull_default>;
986
+ };
987
+ i2s_sdo: i2s-sdo {
988
+ rockchip,pins = <1 RK_PA4 1 &pcfg_pull_default>;
989
+ };
990
+ i2s_sdi: i2s-sdi {
991
+ rockchip,pins = <1 RK_PA5 1 &pcfg_pull_default>;
895992 };
896993 };
897994
898995 hdmi {
899996 hdmi_ctl: hdmi-ctl {
900
- rockchip,pins = <1 RK_PB0 1 &pcfg_pull_none>,
901
- <1 RK_PB1 1 &pcfg_pull_none>,
997
+ rockchip,pins = <1 RK_PB0 1 &pcfg_pull_none>,
998
+ <1 RK_PB1 1 &pcfg_pull_none>,
902999 <1 RK_PB2 1 &pcfg_pull_none>,
9031000 <1 RK_PB3 1 &pcfg_pull_none>;
9041001 };
....@@ -906,8 +1003,8 @@
9061003
9071004 uart0 {
9081005 uart0_xfer: uart0-xfer {
909
- rockchip,pins = <0 RK_PC0 1 &pcfg_pull_up>,
910
- <0 RK_PC1 1 &pcfg_pull_up>;
1006
+ rockchip,pins = <0 RK_PC0 1 &pcfg_pull_default>,
1007
+ <0 RK_PC1 1 &pcfg_pull_default>;
9111008 };
9121009
9131010 uart0_cts: uart0-cts {
....@@ -921,16 +1018,16 @@
9211018
9221019 uart1 {
9231020 uart1_xfer: uart1-xfer {
924
- rockchip,pins = <2 RK_PC6 1 &pcfg_pull_up>,
925
- <2 RK_PC7 1 &pcfg_pull_up>;
1021
+ rockchip,pins = <2 RK_PC6 1 &pcfg_pull_default>,
1022
+ <2 RK_PC7 1 &pcfg_pull_default>;
9261023 };
9271024 /* no rts / cts for uart1 */
9281025 };
9291026
9301027 uart2 {
9311028 uart2_xfer: uart2-xfer {
932
- rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up>,
933
- <1 RK_PC3 2 &pcfg_pull_up>;
1029
+ rockchip,pins = <1 RK_PC2 2 &pcfg_pull_default>,
1030
+ <1 RK_PC3 2 &pcfg_pull_default>;
9341031 };
9351032 /* no rts / cts for uart2 */
9361033 };