forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
kernel/arch/arm64/boot/dts/rockchip/px30.dtsi
....@@ -1,7 +1,6 @@
1
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
12 /*
2
- * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd
3
- *
4
- * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3
+ * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd
54 */
65
76 #include <dt-bindings/clock/px30-cru.h>
....@@ -27,6 +26,10 @@
2726
2827 aliases {
2928 ethernet0 = &gmac;
29
+ gpio0 = &gpio0;
30
+ gpio1 = &gpio1;
31
+ gpio2 = &gpio2;
32
+ gpio3 = &gpio3;
3033 i2c0 = &i2c0;
3134 i2c1 = &i2c1;
3235 i2c2 = &i2c2;
....@@ -42,6 +45,7 @@
4245 serial5 = &uart5;
4346 spi0 = &spi0;
4447 spi1 = &spi1;
48
+ spi2 = &sfc;
4549 };
4650
4751 cpus {
....@@ -50,39 +54,50 @@
5054
5155 cpu0: cpu@0 {
5256 device_type = "cpu";
53
- compatible = "arm,cortex-a35", "arm,armv8";
57
+ compatible = "arm,cortex-a35";
5458 reg = <0x0 0x0>;
5559 enable-method = "psci";
5660 clocks = <&cru ARMCLK>;
5761 #cooling-cells = <2>;
62
+ cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
5863 dynamic-power-coefficient = <90>;
5964 operating-points-v2 = <&cpu0_opp_table>;
60
- cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
6165 };
6266
6367 cpu1: cpu@1 {
6468 device_type = "cpu";
65
- compatible = "arm,cortex-a35", "arm,armv8";
69
+ compatible = "arm,cortex-a35";
6670 reg = <0x0 0x1>;
6771 enable-method = "psci";
68
- operating-points-v2 = <&cpu0_opp_table>;
72
+ clocks = <&cru ARMCLK>;
73
+ #cooling-cells = <2>;
6974 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
75
+ dynamic-power-coefficient = <90>;
76
+ operating-points-v2 = <&cpu0_opp_table>;
7077 };
78
+
7179 cpu2: cpu@2 {
7280 device_type = "cpu";
73
- compatible = "arm,cortex-a35", "arm,armv8";
81
+ compatible = "arm,cortex-a35";
7482 reg = <0x0 0x2>;
7583 enable-method = "psci";
76
- operating-points-v2 = <&cpu0_opp_table>;
84
+ clocks = <&cru ARMCLK>;
85
+ #cooling-cells = <2>;
7786 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
87
+ dynamic-power-coefficient = <90>;
88
+ operating-points-v2 = <&cpu0_opp_table>;
7889 };
90
+
7991 cpu3: cpu@3 {
8092 device_type = "cpu";
81
- compatible = "arm,cortex-a35", "arm,armv8";
93
+ compatible = "arm,cortex-a35";
8294 reg = <0x0 0x3>;
8395 enable-method = "psci";
84
- operating-points-v2 = <&cpu0_opp_table>;
96
+ clocks = <&cru ARMCLK>;
97
+ #cooling-cells = <2>;
8598 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
99
+ dynamic-power-coefficient = <90>;
100
+ operating-points-v2 = <&cpu0_opp_table>;
86101 };
87102
88103 idle-states {
....@@ -335,12 +350,34 @@
335350 };
336351
337352 arm-pmu {
338
- compatible = "arm,cortex-a53-pmu";
353
+ compatible = "arm,cortex-a35-pmu";
339354 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
340355 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
341356 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
342357 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
343358 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
359
+ };
360
+
361
+ bus_soc: bus-soc {
362
+ compatible = "rockchip,px30-bus";
363
+ rockchip,busfreq-policy = "autocs";
364
+ soc-bus0 {
365
+ bus-id = <0>;
366
+ timer-us = <20>;
367
+ enable-msk = <0x40f7>;
368
+ };
369
+ soc-bus1 {
370
+ bus-id = <1>;
371
+ timer-us = <200>;
372
+ enable-msk = <0x40bf>;
373
+ status = "disabled";
374
+ };
375
+ soc-bus2 {
376
+ bus-id = <2>;
377
+ timer-us = <200>;
378
+ enable-msk = <0x4007>;
379
+ status = "disabled";
380
+ };
344381 };
345382
346383 bus_apll: bus-apll {
....@@ -368,7 +405,7 @@
368405
369406 cpuinfo {
370407 compatible = "rockchip,cpuinfo";
371
- nvmem-cells = <&otp_id>;
408
+ nvmem-cells = <&cpu_id>;
372409 nvmem-cell-names = "id";
373410 };
374411
....@@ -445,6 +482,55 @@
445482 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
446483 };
447484
485
+ thermal_zones: thermal-zones {
486
+ soc_thermal: soc-thermal {
487
+ polling-delay-passive = <20>;
488
+ polling-delay = <1000>;
489
+ sustainable-power = <750>;
490
+ thermal-sensors = <&tsadc 0>;
491
+
492
+ trips {
493
+ threshold: trip-point-0 {
494
+ temperature = <70000>;
495
+ hysteresis = <2000>;
496
+ type = "passive";
497
+ };
498
+
499
+ target: trip-point-1 {
500
+ temperature = <85000>;
501
+ hysteresis = <2000>;
502
+ type = "passive";
503
+ };
504
+
505
+ soc_crit: soc-crit {
506
+ temperature = <115000>;
507
+ hysteresis = <2000>;
508
+ type = "critical";
509
+ };
510
+ };
511
+
512
+ cooling-maps {
513
+ map0 {
514
+ trip = <&target>;
515
+ cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
516
+ contribution = <4096>;
517
+ };
518
+
519
+ map1 {
520
+ trip = <&target>;
521
+ cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
522
+ contribution = <4096>;
523
+ };
524
+ };
525
+ };
526
+
527
+ gpu_thermal: gpu-thermal {
528
+ polling-delay-passive = <100>; /* milliseconds */
529
+ polling-delay = <1000>; /* milliseconds */
530
+ thermal-sensors = <&tsadc 1>;
531
+ };
532
+ };
533
+
448534 xin24m: xin24m {
449535 compatible = "fixed-clock";
450536 #clock-cells = <0>;
....@@ -475,20 +561,20 @@
475561 #size-cells = <0>;
476562
477563 /* These power domains are grouped by VD_LOGIC */
478
- pd_usb@PX30_PD_USB {
564
+ power-domain@PX30_PD_USB {
479565 reg = <PX30_PD_USB>;
480566 clocks = <&cru HCLK_HOST>,
481567 <&cru HCLK_OTG>,
482568 <&cru SCLK_OTG_ADP>;
483569 pm_qos = <&qos_usb_host>, <&qos_usb_otg>;
484570 };
485
- pd_sdcard@PX30_PD_SDCARD {
571
+ power-domain@PX30_PD_SDCARD {
486572 reg = <PX30_PD_SDCARD>;
487573 clocks = <&cru HCLK_SDMMC>,
488574 <&cru SCLK_SDMMC>;
489575 pm_qos = <&qos_sdmmc>;
490576 };
491
- pd_gmac@PX30_PD_GMAC {
577
+ power-domain@PX30_PD_GMAC {
492578 reg = <PX30_PD_GMAC>;
493579 clocks = <&cru ACLK_GMAC>,
494580 <&cru PCLK_GMAC>,
....@@ -496,7 +582,7 @@
496582 <&cru SCLK_GMAC_RX_TX>;
497583 pm_qos = <&qos_gmac>;
498584 };
499
- pd_mmc_nand@PX30_PD_MMC_NAND {
585
+ power-domain@PX30_PD_MMC_NAND {
500586 reg = <PX30_PD_MMC_NAND>;
501587 clocks = <&cru HCLK_NANDC>,
502588 <&cru HCLK_EMMC>,
....@@ -509,14 +595,14 @@
509595 pm_qos = <&qos_emmc>, <&qos_nand>,
510596 <&qos_sdio>, <&qos_sfc>;
511597 };
512
- pd_vpu@PX30_PD_VPU {
598
+ power-domain@PX30_PD_VPU {
513599 reg = <PX30_PD_VPU>;
514600 clocks = <&cru ACLK_VPU>,
515601 <&cru HCLK_VPU>,
516602 <&cru SCLK_CORE_VPU>;
517603 pm_qos = <&qos_vpu>, <&qos_vpu_r128>;
518604 };
519
- pd_vo@PX30_PD_VO {
605
+ power-domain@PX30_PD_VO {
520606 reg = <PX30_PD_VO>;
521607 clocks = <&cru ACLK_RGA>,
522608 <&cru ACLK_VOPB>,
....@@ -532,7 +618,7 @@
532618 pm_qos = <&qos_rga_rd>, <&qos_rga_wr>,
533619 <&qos_vop_m0>, <&qos_vop_m1>;
534620 };
535
- pd_vi@PX30_PD_VI {
621
+ power-domain@PX30_PD_VI {
536622 reg = <PX30_PD_VI>;
537623 clocks = <&cru ACLK_CIF>,
538624 <&cru ACLK_ISP>,
....@@ -543,7 +629,7 @@
543629 <&qos_isp_wr>, <&qos_isp_m1>,
544630 <&qos_vip>;
545631 };
546
- pd_gpu@PX30_PD_GPU {
632
+ power-domain@PX30_PD_GPU {
547633 reg = <PX30_PD_GPU>;
548634 clocks = <&cru SCLK_GPU>;
549635 pm_qos = <&qos_gpu>;
....@@ -566,12 +652,10 @@
566652 compatible = "syscon-reboot-mode";
567653 offset = <0x200>;
568654 mode-bootloader = <BOOT_BL_DOWNLOAD>;
569
- mode-charge = <BOOT_CHARGING>;
570655 mode-fastboot = <BOOT_FASTBOOT>;
571656 mode-loader = <BOOT_BL_DOWNLOAD>;
572657 mode-normal = <BOOT_NORMAL>;
573658 mode-recovery = <BOOT_RECOVERY>;
574
- mode-ums = <BOOT_UMS>;
575659 };
576660
577661 pmu_pvtm: pmu-pvtm {
....@@ -594,9 +678,11 @@
594678 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
595679 clocks = <&pmucru SCLK_UART0_PMU>, <&pmucru PCLK_UART0_PMU>;
596680 clock-names = "baudclk", "apb_pclk";
681
+ dmas = <&dmac 0>, <&dmac 1>;
682
+ /*You can add it to enable dma*/
683
+ /*dma-names = "tx", "rx";*/
597684 reg-shift = <2>;
598685 reg-io-width = <4>;
599
- dmas = <&dmac 0>, <&dmac 1>;
600686 pinctrl-names = "default";
601687 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
602688 status = "disabled";
....@@ -638,13 +724,10 @@
638724 clock-names = "i2s_clk", "i2s_hclk";
639725 dmas = <&dmac 18>, <&dmac 19>;
640726 dma-names = "tx", "rx";
641
- resets = <&cru SRST_I2S1>, <&cru SRST_I2S1_H>;
642
- reset-names = "reset-m", "reset-h";
643727 pinctrl-names = "default";
644
- pinctrl-0 = <&i2s1_2ch_sclk
645
- &i2s1_2ch_lrck
646
- &i2s1_2ch_sdi
647
- &i2s1_2ch_sdo>;
728
+ pinctrl-0 = <&i2s1_2ch_sclk &i2s1_2ch_lrck
729
+ &i2s1_2ch_sdi &i2s1_2ch_sdo>;
730
+ #sound-dai-cells = <0>;
648731 status = "disabled";
649732 };
650733
....@@ -656,32 +739,10 @@
656739 clock-names = "i2s_clk", "i2s_hclk";
657740 dmas = <&dmac 20>, <&dmac 21>;
658741 dma-names = "tx", "rx";
659
- resets = <&cru SRST_I2S2>, <&cru SRST_I2S2_H>;
660
- reset-names = "reset-m", "reset-h";
661742 pinctrl-names = "default";
662
- pinctrl-0 = <&i2s2_2ch_sclk
663
- &i2s2_2ch_lrck
664
- &i2s2_2ch_sdi
665
- &i2s2_2ch_sdo>;
666
- status = "disabled";
667
- };
668
-
669
- pdm: pdm@ff0a0000 {
670
- compatible = "rockchip,px30-pdm";
671
- reg = <0x0 0xff0a0000 0x0 0x1000>;
672
- clocks = <&cru SCLK_PDM>, <&cru HCLK_PDM>;
673
- clock-names = "pdm_clk", "pdm_hclk";
674
- dmas = <&dmac 24>;
675
- dma-names = "rx";
676
- resets = <&cru SRST_PDM>;
677
- reset-names = "pdm-m";
678
- pinctrl-names = "default";
679
- pinctrl-0 = <&pdm_clk0m0
680
- &pdm_clk1
681
- &pdm_sdi0m0
682
- &pdm_sdi1
683
- &pdm_sdi2
684
- &pdm_sdi3>;
743
+ pinctrl-0 = <&i2s2_2ch_sclk &i2s2_2ch_lrck
744
+ &i2s2_2ch_sdi &i2s2_2ch_sdo>;
745
+ #sound-dai-cells = <0>;
685746 status = "disabled";
686747 };
687748
....@@ -690,7 +751,7 @@
690751 reg = <0x0 0xff0b0000 0x0 0x400>, <0x0 0xff0b0480 0x0 0x3B80>;
691752 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
692753 clocks = <&cru ACLK_CRYPTO >, <&cru HCLK_CRYPTO >,
693
- <&cru SCLK_CRYPTO>, <&cru SCLK_CRYPTO_APK>;
754
+ <&cru SCLK_CRYPTO>, <&cru SCLK_CRYPTO_APK>;
694755 clock-names = "aclk", "hclk", "sclk", "apb_pclk";
695756 resets = <&cru SRST_CRYPTO>;
696757 reset-names = "crypto-rst";
....@@ -701,13 +762,13 @@
701762 compatible = "rockchip,cryptov2-rng";
702763 reg = <0x0 0xff0b0400 0x0 0x80>;
703764 clocks = <&cru SCLK_CRYPTO>, <&cru SCLK_CRYPTO_APK>,
704
- <&cru ACLK_CRYPTO>, <&cru HCLK_CRYPTO>;
765
+ <&cru ACLK_CRYPTO>, <&cru HCLK_CRYPTO>;
705766 clock-names = "clk_crypto", "clk_crypto_apk",
706
- "aclk_crypto", "hclk_crypto";
767
+ "aclk_crypto", "hclk_crypto";
707768 assigned-clocks = <&cru SCLK_CRYPTO>, <&cru SCLK_CRYPTO_APK>,
708
- <&cru ACLK_CRYPTO>, <&cru HCLK_CRYPTO>;
769
+ <&cru ACLK_CRYPTO>, <&cru HCLK_CRYPTO>;
709770 assigned-clock-rates = <150000000>, <150000000>,
710
- <200000000>, <200000000>;
771
+ <200000000>, <200000000>;
711772 resets = <&cru SRST_CRYPTO>;
712773 reset-names = "reset";
713774 status = "disabled";
....@@ -752,12 +813,12 @@
752813 #address-cells = <1>;
753814 #size-cells = <0>;
754815
755
- lvds_in_vopb: endpoint@0 {
816
+ lvds_vopb_in: endpoint@0 {
756817 reg = <0>;
757818 remote-endpoint = <&vopb_out_lvds>;
758819 };
759820
760
- lvds_in_vopl: endpoint@1 {
821
+ lvds_vopl_in: endpoint@1 {
761822 reg = <1>;
762823 remote-endpoint = <&vopl_out_lvds>;
763824 };
....@@ -821,9 +882,11 @@
821882 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
822883 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
823884 clock-names = "baudclk", "apb_pclk";
885
+ dmas = <&dmac 2>, <&dmac 3>;
886
+ /*You can add it to enable dma*/
887
+ /*dma-names = "tx", "rx";*/
824888 reg-shift = <2>;
825889 reg-io-width = <4>;
826
- dmas = <&dmac 2>, <&dmac 3>;
827890 pinctrl-names = "default";
828891 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
829892 status = "disabled";
....@@ -835,9 +898,11 @@
835898 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
836899 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
837900 clock-names = "baudclk", "apb_pclk";
901
+ dmas = <&dmac 4>, <&dmac 5>;
902
+ /*You can add it to enable dma*/
903
+ /*dma-names = "tx", "rx";*/
838904 reg-shift = <2>;
839905 reg-io-width = <4>;
840
- dmas = <&dmac 4>, <&dmac 5>;
841906 pinctrl-names = "default";
842907 pinctrl-0 = <&uart2m0_xfer>;
843908 status = "disabled";
....@@ -849,9 +914,11 @@
849914 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
850915 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
851916 clock-names = "baudclk", "apb_pclk";
917
+ dmas = <&dmac 6>, <&dmac 7>;
918
+ /*You can add it to enable dma*/
919
+ /*dma-names = "tx", "rx";*/
852920 reg-shift = <2>;
853921 reg-io-width = <4>;
854
- dmas = <&dmac 6>, <&dmac 7>;
855922 pinctrl-names = "default";
856923 pinctrl-0 = <&uart3m1_xfer &uart3m1_cts &uart3m1_rts>;
857924 status = "disabled";
....@@ -863,9 +930,11 @@
863930 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
864931 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
865932 clock-names = "baudclk", "apb_pclk";
933
+ dmas = <&dmac 8>, <&dmac 9>;
934
+ /*You can add it to enable dma*/
935
+ /*dma-names = "tx", "rx";*/
866936 reg-shift = <2>;
867937 reg-io-width = <4>;
868
- dmas = <&dmac 8>, <&dmac 9>;
869938 pinctrl-names = "default";
870939 pinctrl-0 = <&uart4_xfer &uart4_cts &uart4_rts>;
871940 status = "disabled";
....@@ -877,16 +946,18 @@
877946 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
878947 clocks = <&cru SCLK_UART5>, <&cru PCLK_UART5>;
879948 clock-names = "baudclk", "apb_pclk";
949
+ dmas = <&dmac 10>, <&dmac 11>;
950
+ /*You can add it to enable dma*/
951
+ /*dma-names = "tx", "rx";*/
880952 reg-shift = <2>;
881953 reg-io-width = <4>;
882
- dmas = <&dmac 10>, <&dmac 11>;
883954 pinctrl-names = "default";
884955 pinctrl-0 = <&uart5_xfer &uart5_cts &uart5_rts>;
885956 status = "disabled";
886957 };
887958
888959 i2c0: i2c@ff180000 {
889
- compatible = "rockchip,rk3399-i2c";
960
+ compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
890961 reg = <0x0 0xff180000 0x0 0x1000>;
891962 clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
892963 clock-names = "i2c", "pclk";
....@@ -899,7 +970,7 @@
899970 };
900971
901972 i2c1: i2c@ff190000 {
902
- compatible = "rockchip,rk3399-i2c";
973
+ compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
903974 reg = <0x0 0xff190000 0x0 0x1000>;
904975 clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
905976 clock-names = "i2c", "pclk";
....@@ -912,7 +983,7 @@
912983 };
913984
914985 i2c2: i2c@ff1a0000 {
915
- compatible = "rockchip,rk3399-i2c";
986
+ compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
916987 reg = <0x0 0xff1a0000 0x0 0x1000>;
917988 clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
918989 clock-names = "i2c", "pclk";
....@@ -925,7 +996,7 @@
925996 };
926997
927998 i2c3: i2c@ff1b0000 {
928
- compatible = "rockchip,rk3399-i2c";
999
+ compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
9291000 reg = <0x0 0xff1b0000 0x0 0x1000>;
9301001 clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
9311002 clock-names = "i2c", "pclk";
....@@ -941,15 +1012,14 @@
9411012 compatible = "rockchip,px30-spi", "rockchip,rk3066-spi";
9421013 reg = <0x0 0xff1d0000 0x0 0x1000>;
9431014 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
944
- #address-cells = <1>;
945
- #size-cells = <0>;
9461015 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
9471016 clock-names = "spiclk", "apb_pclk";
9481017 dmas = <&dmac 12>, <&dmac 13>;
9491018 dma-names = "tx", "rx";
950
- pinctrl-names = "default", "high_speed";
1019
+ pinctrl-names = "default";
9511020 pinctrl-0 = <&spi0_clk &spi0_csn &spi0_miso &spi0_mosi>;
952
- pinctrl-1 = <&spi0_clk_hs &spi0_csn &spi0_miso_hs &spi0_mosi_hs>;
1021
+ #address-cells = <1>;
1022
+ #size-cells = <0>;
9531023 status = "disabled";
9541024 };
9551025
....@@ -957,15 +1027,14 @@
9571027 compatible = "rockchip,px30-spi", "rockchip,rk3066-spi";
9581028 reg = <0x0 0xff1d8000 0x0 0x1000>;
9591029 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
960
- #address-cells = <1>;
961
- #size-cells = <0>;
9621030 clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
9631031 clock-names = "spiclk", "apb_pclk";
9641032 dmas = <&dmac 14>, <&dmac 15>;
9651033 dma-names = "tx", "rx";
966
- pinctrl-names = "default", "high_speed";
1034
+ pinctrl-names = "default";
9671035 pinctrl-0 = <&spi1_clk &spi1_csn0 &spi1_csn1 &spi1_miso &spi1_mosi>;
968
- pinctrl-1 = <&spi1_clk_hs &spi1_csn0 &spi1_csn1 &spi1_miso_hs &spi1_mosi_hs>;
1036
+ #address-cells = <1>;
1037
+ #size-cells = <0>;
9691038 status = "disabled";
9701039 };
9711040
....@@ -974,108 +1043,116 @@
9741043 reg = <0x0 0xff1e0000 0x0 0x100>;
9751044 clocks = <&cru PCLK_WDT_NS>;
9761045 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
977
- resets = <&cru SRST_WDT_NS_P>;
978
- reset-names = "reset";
9791046 status = "disabled";
9801047 };
9811048
9821049 pwm0: pwm@ff200000 {
9831050 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
9841051 reg = <0x0 0xff200000 0x0 0x10>;
985
- #pwm-cells = <3>;
986
- pinctrl-names = "active";
987
- pinctrl-0 = <&pwm0_pin>;
1052
+ interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
9881053 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
9891054 clock-names = "pwm", "pclk";
1055
+ pinctrl-names = "active";
1056
+ pinctrl-0 = <&pwm0_pin>;
1057
+ #pwm-cells = <3>;
9901058 status = "disabled";
9911059 };
9921060
9931061 pwm1: pwm@ff200010 {
9941062 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
9951063 reg = <0x0 0xff200010 0x0 0x10>;
996
- #pwm-cells = <3>;
997
- pinctrl-names = "active";
998
- pinctrl-0 = <&pwm1_pin>;
1064
+ interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
9991065 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
10001066 clock-names = "pwm", "pclk";
1067
+ pinctrl-names = "active";
1068
+ pinctrl-0 = <&pwm1_pin>;
1069
+ #pwm-cells = <3>;
10011070 status = "disabled";
10021071 };
10031072
10041073 pwm2: pwm@ff200020 {
10051074 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10061075 reg = <0x0 0xff200020 0x0 0x10>;
1007
- #pwm-cells = <3>;
1008
- pinctrl-names = "active";
1009
- pinctrl-0 = <&pwm2_pin>;
1076
+ interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
10101077 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
10111078 clock-names = "pwm", "pclk";
1079
+ pinctrl-names = "active";
1080
+ pinctrl-0 = <&pwm2_pin>;
1081
+ #pwm-cells = <3>;
10121082 status = "disabled";
10131083 };
10141084
10151085 pwm3: pwm@ff200030 {
10161086 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10171087 reg = <0x0 0xff200030 0x0 0x10>;
1018
- #pwm-cells = <3>;
1019
- pinctrl-names = "active";
1020
- pinctrl-0 = <&pwm3_pin>;
1088
+ interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
1089
+ <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
10211090 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
10221091 clock-names = "pwm", "pclk";
1092
+ pinctrl-names = "active";
1093
+ pinctrl-0 = <&pwm3_pin>;
1094
+ #pwm-cells = <3>;
10231095 status = "disabled";
10241096 };
10251097
10261098 pwm4: pwm@ff208000 {
10271099 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10281100 reg = <0x0 0xff208000 0x0 0x10>;
1029
- #pwm-cells = <3>;
1030
- pinctrl-names = "active";
1031
- pinctrl-0 = <&pwm4_pin>;
1101
+ interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
10321102 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
10331103 clock-names = "pwm", "pclk";
1104
+ pinctrl-names = "active";
1105
+ pinctrl-0 = <&pwm4_pin>;
1106
+ #pwm-cells = <3>;
10341107 status = "disabled";
10351108 };
10361109
10371110 pwm5: pwm@ff208010 {
10381111 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10391112 reg = <0x0 0xff208010 0x0 0x10>;
1040
- #pwm-cells = <3>;
1041
- pinctrl-names = "active";
1042
- pinctrl-0 = <&pwm5_pin>;
1113
+ interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
10431114 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
10441115 clock-names = "pwm", "pclk";
1116
+ pinctrl-names = "active";
1117
+ pinctrl-0 = <&pwm5_pin>;
1118
+ #pwm-cells = <3>;
10451119 status = "disabled";
10461120 };
10471121
10481122 pwm6: pwm@ff208020 {
10491123 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10501124 reg = <0x0 0xff208020 0x0 0x10>;
1051
- #pwm-cells = <3>;
1052
- pinctrl-names = "active";
1053
- pinctrl-0 = <&pwm6_pin>;
1125
+ interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
10541126 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
10551127 clock-names = "pwm", "pclk";
1128
+ pinctrl-names = "active";
1129
+ pinctrl-0 = <&pwm6_pin>;
1130
+ #pwm-cells = <3>;
10561131 status = "disabled";
10571132 };
10581133
10591134 pwm7: pwm@ff208030 {
10601135 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10611136 reg = <0x0 0xff208030 0x0 0x10>;
1062
- #pwm-cells = <3>;
1063
- pinctrl-names = "active";
1064
- pinctrl-0 = <&pwm7_pin>;
1137
+ interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
1138
+ <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
10651139 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
10661140 clock-names = "pwm", "pclk";
1141
+ pinctrl-names = "active";
1142
+ pinctrl-0 = <&pwm7_pin>;
1143
+ #pwm-cells = <3>;
10671144 status = "disabled";
10681145 };
10691146
1070
- rktimer: rktimer@ff210000 {
1071
- compatible = "rockchip,rk3288-timer";
1147
+ rktimer: timer@ff210000 {
1148
+ compatible = "rockchip,px30-timer", "rockchip,rk3288-timer";
10721149 reg = <0x0 0xff210000 0x0 0x1000>;
10731150 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
10741151 clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
10751152 clock-names = "pclk", "timer";
10761153 };
10771154
1078
- amba {
1155
+ amba: bus {
10791156 compatible = "simple-bus";
10801157 #address-cells = <2>;
10811158 #size-cells = <2>;
....@@ -1086,59 +1163,10 @@
10861163 reg = <0x0 0xff240000 0x0 0x4000>;
10871164 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
10881165 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
1166
+ arm,pl330-periph-burst;
10891167 clocks = <&cru ACLK_DMAC>;
10901168 clock-names = "apb_pclk";
10911169 #dma-cells = <1>;
1092
- arm,pl330-periph-burst;
1093
- };
1094
- };
1095
-
1096
- thermal_zones: thermal-zones {
1097
-
1098
- soc_thermal: soc-thermal {
1099
- polling-delay-passive = <20>;
1100
- polling-delay = <1000>;
1101
- sustainable-power = <750>;
1102
-
1103
- thermal-sensors = <&tsadc 0>;
1104
-
1105
- trips {
1106
- threshold: trip-point-0 {
1107
- temperature = <70000>;
1108
- hysteresis = <2000>;
1109
- type = "passive";
1110
- };
1111
- target: trip-point-1 {
1112
- temperature = <85000>;
1113
- hysteresis = <2000>;
1114
- type = "passive";
1115
- };
1116
- soc_crit: soc-crit {
1117
- temperature = <115000>;
1118
- hysteresis = <2000>;
1119
- type = "critical";
1120
- };
1121
- };
1122
-
1123
- cooling-maps {
1124
- map0 {
1125
- trip = <&target>;
1126
- cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1127
- contribution = <4096>;
1128
- };
1129
- map1 {
1130
- trip = <&target>;
1131
- cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1132
- contribution = <4096>;
1133
- };
1134
- };
1135
- };
1136
-
1137
- gpu_thermal: gpu-thermal {
1138
- polling-delay-passive = <100>; /* milliseconds */
1139
- polling-delay = <1000>; /* milliseconds */
1140
-
1141
- thermal-sensors = <&tsadc 1>;
11421170 };
11431171 };
11441172
....@@ -1146,15 +1174,19 @@
11461174 compatible = "rockchip,px30-tsadc";
11471175 reg = <0x0 0xff280000 0x0 0x100>;
11481176 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
1149
- rockchip,grf = <&grf>;
1150
- clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
1151
- clock-names = "tsadc", "apb_pclk";
11521177 assigned-clocks = <&cru SCLK_TSADC>;
11531178 assigned-clock-rates = <50000>;
1179
+ clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
1180
+ clock-names = "tsadc", "apb_pclk";
11541181 resets = <&cru SRST_TSADC>;
11551182 reset-names = "tsadc-apb";
1156
- #thermal-sensor-cells = <1>;
1183
+ rockchip,grf = <&grf>;
11571184 rockchip,hw-tshut-temp = <120000>;
1185
+ pinctrl-names = "init", "default", "sleep";
1186
+ pinctrl-0 = <&tsadc_otp_pin>;
1187
+ pinctrl-1 = <&tsadc_otp_out>;
1188
+ pinctrl-2 = <&tsadc_otp_pin>;
1189
+ #thermal-sensor-cells = <1>;
11581190 status = "disabled";
11591191 };
11601192
....@@ -1170,19 +1202,19 @@
11701202 status = "disabled";
11711203 };
11721204
1173
- otp: otp@ff290000 {
1205
+ otp: nvmem@ff290000 {
11741206 compatible = "rockchip,px30-otp";
11751207 reg = <0x0 0xff290000 0x0 0x4000>;
1176
- #address-cells = <1>;
1177
- #size-cells = <1>;
11781208 clocks = <&cru SCLK_OTP_USR>, <&cru PCLK_OTP_NS>,
11791209 <&cru PCLK_OTP_PHY>;
11801210 clock-names = "otp", "apb_pclk", "phy";
11811211 resets = <&cru SRST_OTP_PHY>;
1182
- reset-names = "otp_phy";
1212
+ reset-names = "phy";
1213
+ #address-cells = <1>;
1214
+ #size-cells = <1>;
11831215
11841216 /* Data cells */
1185
- otp_id: id@7 {
1217
+ cpu_id: id@7 {
11861218 reg = <0x07 0x10>;
11871219 };
11881220 cpu_leakage: cpu-leakage@17 {
....@@ -1198,27 +1230,14 @@
11981230 compatible = "rockchip,px30-cru";
11991231 reg = <0x0 0xff2b0000 0x0 0x1000>;
12001232 rockchip,grf = <&grf>;
1201
- rockchip,boost = <&cpu_boost>;
12021233 #clock-cells = <1>;
12031234 #reset-cells = <1>;
1235
+
1236
+ assigned-clocks = <&cru PLL_NPLL>;
1237
+ assigned-clock-rates = <1188000000>;
12041238 };
12051239
1206
- cpu_boost: cpu-boost@ff2b8000 {
1207
- compatible = "syscon";
1208
- reg = <0x0 0xff2b8000 0x0 0x1000>;
1209
- rockchip,boost-low-con0 = <0x1032>;
1210
- rockchip,boost-low-con1 = <0x1441>;
1211
- rockchip,boost-high-con0 = <0x1036>;
1212
- rockchip,boost-high-con1 = <0x1441>;
1213
- rockchip,boost-backup-pll = <1>;
1214
- rockchip,boost-backup-pll-usage = <0>;
1215
- rockchip,boost-switch-threshold = <0x249f00>;
1216
- rockchip,boost-statis-threshold = <0x100>;
1217
- rockchip,boost-statis-enable = <0>;
1218
- rockchip,boost-enable = <0>;
1219
- };
1220
-
1221
- pmucru: pmu-clock-controller@ff2bc000 {
1240
+ pmucru: clock-controller@ff2bc000 {
12221241 compatible = "rockchip,px30-pmucru";
12231242 reg = <0x0 0xff2bc000 0x0 0x1000>;
12241243 rockchip,grf = <&grf>;
....@@ -1247,9 +1266,8 @@
12471266 #size-cells = <1>;
12481267
12491268 u2phy: usb2-phy@100 {
1250
- compatible = "rockchip,px30-usb2phy",
1251
- "rockchip,rk3328-usb2phy";
1252
- reg = <0x100 0x10>;
1269
+ compatible = "rockchip,px30-usb2phy";
1270
+ reg = <0x100 0x20>;
12531271 clocks = <&pmucru SCLK_USBPHY_REF>;
12541272 clock-names = "phyclk";
12551273 #clock-cells = <0>;
....@@ -1277,18 +1295,18 @@
12771295 };
12781296 };
12791297
1280
- video_phy: video-phy@ff2e0000 {
1281
- compatible = "rockchip,px30-video-phy";
1298
+ video_phy: dsi_dphy: phy@ff2e0000 {
1299
+ compatible = "rockchip,px30-dsi-dphy", "rockchip,px30-video-phy";
12821300 reg = <0x0 0xff2e0000 0x0 0x10000>,
12831301 <0x0 0xff450000 0x0 0x10000>;
1302
+ reg-names = "phy", "host";
12841303 clocks = <&pmucru SCLK_MIPIDSIPHY_REF>,
12851304 <&cru PCLK_MIPIDSIPHY>, <&cru PCLK_MIPI_DSI>;
1286
- clock-names = "ref", "pclk_phy", "pclk_host";
1287
- #clock-cells = <0>;
1305
+ clock-names = "ref", "pclk", "pclk_host";
12881306 resets = <&cru SRST_MIPIDSIPHY_P>;
1289
- reset-names = "rst";
1290
- power-domains = <&power PX30_PD_VO>;
1307
+ reset-names = "apb";
12911308 #phy-cells = <0>;
1309
+ power-domains = <&power PX30_PD_VO>;
12921310 status = "disabled";
12931311 };
12941312
....@@ -1309,14 +1327,13 @@
13091327 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
13101328 clocks = <&cru HCLK_OTG>;
13111329 clock-names = "otg";
1312
- power-domains = <&power PX30_PD_USB>;
13131330 dr_mode = "otg";
13141331 g-np-tx-fifo-size = <16>;
13151332 g-rx-fifo-size = <280>;
13161333 g-tx-fifo-size = <256 128 128 64 32 16>;
1317
- g-use-dma;
13181334 phys = <&u2phy_otg>;
13191335 phy-names = "usb2-phy";
1336
+ power-domains = <&power PX30_PD_USB>;
13201337 status = "disabled";
13211338 };
13221339
....@@ -1326,9 +1343,9 @@
13261343 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
13271344 clocks = <&cru HCLK_HOST>, <&u2phy>;
13281345 clock-names = "usbhost", "utmi";
1329
- power-domains = <&power PX30_PD_USB>;
13301346 phys = <&u2phy_host>;
13311347 phy-names = "usb";
1348
+ power-domains = <&power PX30_PD_USB>;
13321349 status = "disabled";
13331350 };
13341351
....@@ -1338,16 +1355,15 @@
13381355 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
13391356 clocks = <&cru HCLK_HOST>, <&u2phy>;
13401357 clock-names = "usbhost", "utmi";
1341
- power-domains = <&power PX30_PD_USB>;
13421358 phys = <&u2phy_host>;
13431359 phy-names = "usb";
1360
+ power-domains = <&power PX30_PD_USB>;
13441361 status = "disabled";
13451362 };
13461363
13471364 gmac: ethernet@ff360000 {
13481365 compatible = "rockchip,px30-gmac";
13491366 reg = <0x0 0xff360000 0x0 0x10000>;
1350
- rockchip,grf = <&grf>;
13511367 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
13521368 interrupt-names = "macirq";
13531369 clocks = <&cru SCLK_GMAC>, <&cru SCLK_GMAC_RX_TX>,
....@@ -1358,61 +1374,72 @@
13581374 "mac_clk_tx", "clk_mac_ref",
13591375 "clk_mac_refout", "aclk_mac",
13601376 "pclk_mac", "clk_mac_speed";
1377
+ rockchip,grf = <&grf>;
13611378 phy-mode = "rmii";
13621379 pinctrl-names = "default";
13631380 pinctrl-0 = <&rmii_pins &mac_refclk_12ma>;
1381
+ power-domains = <&power PX30_PD_GMAC>;
13641382 resets = <&cru SRST_GMAC_A>;
13651383 reset-names = "stmmaceth";
1366
- power-domains = <&power PX30_PD_GMAC>;
13671384 status = "disabled";
13681385 };
13691386
13701387 sdmmc: dwmmc@ff370000 {
13711388 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
13721389 reg = <0x0 0xff370000 0x0 0x4000>;
1373
- max-frequency = <150000000>;
1390
+ interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
13741391 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
13751392 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
1376
- clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
1377
- assigned-clocks = <&cru SCLK_SDMMC>;
1378
- assigned-clock-parents = <&cru SCLK_SDMMC_DIV50>;
1379
- power-domains = <&power PX30_PD_SDCARD>;
1393
+ clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1394
+ bus-width = <4>;
13801395 fifo-depth = <0x100>;
1381
- interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
1396
+ max-frequency = <150000000>;
13821397 pinctrl-names = "default";
13831398 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>;
1399
+ power-domains = <&power PX30_PD_SDCARD>;
13841400 status = "disabled";
13851401 };
13861402
13871403 sdio: dwmmc@ff380000 {
13881404 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
13891405 reg = <0x0 0xff380000 0x0 0x4000>;
1390
- max-frequency = <150000000>;
1406
+ interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
13911407 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
13921408 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
1393
- clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
1394
- assigned-clocks = <&cru SCLK_SDIO>;
1395
- assigned-clock-parents = <&cru SCLK_SDIO_DIV50>;
1396
- power-domains = <&power PX30_PD_MMC_NAND>;
1409
+ clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1410
+ bus-width = <4>;
13971411 fifo-depth = <0x100>;
1398
- interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
1412
+ max-frequency = <150000000>;
13991413 pinctrl-names = "default";
14001414 pinctrl-0 = <&sdio_bus4 &sdio_cmd &sdio_clk>;
1415
+ power-domains = <&power PX30_PD_MMC_NAND>;
14011416 status = "disabled";
14021417 };
14031418
14041419 emmc: dwmmc@ff390000 {
14051420 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
14061421 reg = <0x0 0xff390000 0x0 0x4000>;
1407
- max-frequency = <150000000>;
1422
+ interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
14081423 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
14091424 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
1410
- clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
1411
- assigned-clocks = <&cru SCLK_EMMC>;
1412
- assigned-clock-parents = <&cru SCLK_EMMC_DIV50>;
1413
- power-domains = <&power PX30_PD_MMC_NAND>;
1425
+ clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1426
+ bus-width = <8>;
14141427 fifo-depth = <0x100>;
1415
- interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
1428
+ max-frequency = <150000000>;
1429
+ pinctrl-names = "default";
1430
+ pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
1431
+ power-domains = <&power PX30_PD_MMC_NAND>;
1432
+ status = "disabled";
1433
+ };
1434
+
1435
+ sfc: spi@ff3a0000 {
1436
+ compatible = "rockchip,sfc";
1437
+ reg = <0x0 0xff3a0000 0x0 0x4000>;
1438
+ interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
1439
+ clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
1440
+ clock-names = "clk_sfc", "hclk_sfc";
1441
+ assigned-clocks = <&cru SCLK_SFC>;
1442
+ assigned-clock-rates = <100000000>;
14161443 status = "disabled";
14171444 };
14181445
....@@ -1430,23 +1457,18 @@
14301457 };
14311458
14321459 gpu: gpu@ff400000 {
1433
- compatible = "arm,mali-bifrost";
1460
+ compatible = "rockchip,px30-mali", "arm,mali-bifrost";
14341461 reg = <0x0 0xff400000 0x0 0x4000>;
1435
-
14361462 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
14371463 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
14381464 <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
14391465 interrupt-names = "GPU", "MMU", "JOB";
1440
-
1466
+ clocks = <&cru SCLK_GPU>;
1467
+ #cooling-cells = <2>;
1468
+ power-domains = <&power PX30_PD_GPU>;
1469
+ operating-points-v2 = <&gpu_opp_table>;
14411470 upthreshold = <40>;
14421471 downdifferential = <10>;
1443
-
1444
- clocks = <&cru SCLK_GPU>;
1445
- clock-names = "clk_mali";
1446
- power-domains = <&power PX30_PD_GPU>;
1447
- #cooling-cells = <2>;
1448
- operating-points-v2 = <&gpu_opp_table>;
1449
-
14501472 status = "disabled";
14511473 power_model {
14521474 compatible = "arm,mali-simple-power-model";
....@@ -1455,7 +1477,6 @@
14551477 ts = <32000 4700 (-80) 2>;
14561478 thermal-zone = "gpu-thermal";
14571479 };
1458
-
14591480 };
14601481
14611482 gpu_opp_table: gpu-opp-table {
....@@ -1586,6 +1607,7 @@
15861607 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
15871608 clock-names = "aclk", "iface";
15881609 power-domains = <&power PX30_PD_VPU>;
1610
+ rockchip,shootdown-entire;
15891611 #iommu-cells = <0>;
15901612 status = "disabled";
15911613 };
....@@ -1615,10 +1637,11 @@
16151637 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>, <&cru SCLK_CORE_VPU>;
16161638 clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core";
16171639 resets = <&cru SRST_VPU_A>, <&cru SRST_VPU_H>,
1618
- <&cru SRST_VPU_NIU_A>, <&cru SRST_VPU_NIU_H>,
1619
- <&cru SRST_VPU_CORE>;
1640
+ <&cru SRST_VPU_NIU_A>, <&cru SRST_VPU_NIU_H>,
1641
+ <&cru SRST_VPU_CORE>;
16201642 reset-names = "shared_video_a", "shared_video_h",
1621
- "niu_a", "niu_h", "video_core";
1643
+ "niu_a", "niu_h",
1644
+ "video_core";
16221645 iommus = <&hevc_mmu>;
16231646 rockchip,srv = <&mpp_srv>;
16241647 rockchip,taskqueue-node = <0>;
....@@ -1635,6 +1658,7 @@
16351658 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
16361659 clock-names = "aclk", "iface";
16371660 power-domains = <&power PX30_PD_VPU>;
1661
+ rockchip,shootdown-entire;
16381662 #iommu-cells = <0>;
16391663 status = "disabled";
16401664 };
....@@ -1643,13 +1667,13 @@
16431667 compatible = "rockchip,px30-mipi-dsi";
16441668 reg = <0x0 0xff450000 0x0 0x10000>;
16451669 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
1646
- clocks = <&cru PCLK_MIPI_DSI>, <&video_phy>;
1647
- clock-names = "pclk", "hs_clk";
1670
+ clocks = <&cru PCLK_MIPI_DSI>;
1671
+ clock-names = "pclk";
1672
+ phys = <&video_phy>;
1673
+ phy-names = "dphy";
1674
+ power-domains = <&power PX30_PD_VO>;
16481675 resets = <&cru SRST_MIPIDSI_HOST_P>;
16491676 reset-names = "apb";
1650
- phys = <&video_phy>;
1651
- phy-names = "mipi_dphy";
1652
- power-domains = <&power PX30_PD_VO>;
16531677 rockchip,grf = <&grf>;
16541678 #address-cells = <1>;
16551679 #size-cells = <0>;
....@@ -1679,29 +1703,31 @@
16791703
16801704 vopb: vop@ff460000 {
16811705 compatible = "rockchip,px30-vop-big";
1682
- reg = <0x0 0xff460000 0x0 0x1fc>, <0x0 0xff460a00 0x0 0x400>;
1706
+ reg = <0x0 0xff460000 0x0 0x260>, <0x0 0xff460a00 0x0 0x400>;
16831707 rockchip,grf = <&grf>;
16841708 reg-names = "regs", "gamma_lut";
16851709 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
16861710 clocks = <&cru ACLK_VOPB>, <&cru DCLK_VOPB>,
16871711 <&cru HCLK_VOPB>;
16881712 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1689
- power-domains = <&power PX30_PD_VO>;
1713
+ resets = <&cru SRST_VOPB_A>, <&cru SRST_VOPB_H>, <&cru SRST_VOPB>;
1714
+ reset-names = "axi", "ahb", "dclk";
16901715 iommus = <&vopb_mmu>;
1716
+ power-domains = <&power PX30_PD_VO>;
16911717 status = "disabled";
16921718
16931719 vopb_out: port {
16941720 #address-cells = <1>;
16951721 #size-cells = <0>;
16961722
1697
- vopb_out_lvds: endpoint@0 {
1723
+ vopb_out_dsi: endpoint@0 {
16981724 reg = <0>;
1699
- remote-endpoint = <&lvds_in_vopb>;
1725
+ remote-endpoint = <&dsi_in_vopb>;
17001726 };
17011727
1702
- vopb_out_dsi: endpoint@1 {
1728
+ vopb_out_lvds: endpoint@1 {
17031729 reg = <1>;
1704
- remote-endpoint = <&dsi_in_vopb>;
1730
+ remote-endpoint = <&lvds_vopb_in>;
17051731 };
17061732
17071733 vopb_out_rgb: endpoint@2 {
....@@ -1733,22 +1759,24 @@
17331759 clocks = <&cru ACLK_VOPL>, <&cru DCLK_VOPL>,
17341760 <&cru HCLK_VOPL>;
17351761 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1736
- power-domains = <&power PX30_PD_VO>;
1762
+ resets = <&cru SRST_VOPL_A>, <&cru SRST_VOPL_H>, <&cru SRST_VOPL>;
1763
+ reset-names = "axi", "ahb", "dclk";
17371764 iommus = <&vopl_mmu>;
1765
+ power-domains = <&power PX30_PD_VO>;
17381766 status = "disabled";
17391767
17401768 vopl_out: port {
17411769 #address-cells = <1>;
17421770 #size-cells = <0>;
17431771
1744
- vopl_out_lvds: endpoint@0 {
1772
+ vopl_out_dsi: endpoint@0 {
17451773 reg = <0>;
1746
- remote-endpoint = <&lvds_in_vopl>;
1774
+ remote-endpoint = <&dsi_in_vopl>;
17471775 };
17481776
1749
- vopl_out_dsi: endpoint@1 {
1777
+ vopl_out_lvds: endpoint@1 {
17501778 reg = <1>;
1751
- remote-endpoint = <&dsi_in_vopl>;
1779
+ remote-endpoint = <&lvds_vopl_in>;
17521780 };
17531781
17541782 vopl_out_rgb: endpoint@2 {
....@@ -1828,9 +1856,9 @@
18281856 reg = <0x0 0xff4a0000 0x0 0x8000>;
18291857 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
18301858 clocks = <&cru ACLK_ISP>, <&cru HCLK_ISP>, <&cru SCLK_ISP>, <&cru SCLK_ISP>,
1831
- <&cru PCLK_ISP>, <&cru SCLK_CIF_OUT>, <&cru SCLK_CIF_OUT>, <&cru PCLK_MIPICSIPHY>;
1859
+ <&cru PCLK_ISP>, <&cru SCLK_CIF_OUT>, <&cru SCLK_CIF_OUT>, <&cru PCLK_MIPICSIPHY>;
18321860 clock-names = "aclk_isp", "hclk_isp", "clk_isp", "clk_isp_jpe",
1833
- "pclkin_isp", "clk_cif_pll", "clk_cif_out", "pclk_dphyrx";
1861
+ "pclkin_isp", "clk_cif_pll", "clk_cif_out", "pclk_dphyrx";
18341862 resets = <&cru SRST_ISP>, <&cru SRST_MIPICSIPHY_P>;
18351863 reset-names = "rst_isp", "rst_mipicsiphy";
18361864 power-domains = <&power PX30_PD_VI>;
....@@ -1856,9 +1884,9 @@
18561884 <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
18571885 interrupt-names = "isp_irq", "mi_irq", "mipi_irq";
18581886 clocks = <&cru ACLK_ISP>, <&cru HCLK_ISP>,
1859
- <&cru SCLK_ISP>, <&cru PCLK_ISP>;
1887
+ <&cru SCLK_ISP>, <&cru PCLK_ISP>;
18601888 clock-names = "aclk_isp", "hclk_isp",
1861
- "clk_isp", "pclk_isp";
1889
+ "clk_isp", "pclk_isp";
18621890 devfreq = <&dmc>;
18631891 power-domains = <&power PX30_PD_VI>;
18641892 iommus = <&isp_mmu>;
....@@ -1999,11 +2027,11 @@
19992027 downdifferential = <20>;
20002028 system-status-freq = <
20012029 /*system status freq(KHz)*/
2002
- SYS_STATUS_NORMAL 528000
2030
+ SYS_STATUS_NORMAL 666000
20032031 SYS_STATUS_REBOOT 450000
20042032 SYS_STATUS_SUSPEND 194000
20052033 SYS_STATUS_VIDEO_1080P 450000
2006
- SYS_STATUS_BOOST 528000
2034
+ SYS_STATUS_BOOST 666000
20072035 SYS_STATUS_ISP 666000
20082036 SYS_STATUS_PERFORMANCE 1056000
20092037 >;
....@@ -2073,14 +2101,6 @@
20732101 opp-microvolt-L2 = <950000>;
20742102 opp-microvolt-L3 = <950000>;
20752103 };
2076
- opp-528000000 {
2077
- opp-hz = /bits/ 64 <528000000>;
2078
- opp-microvolt = <975000>;
2079
- opp-microvolt-L0 = <975000>;
2080
- opp-microvolt-L1 = <975000>;
2081
- opp-microvolt-L2 = <950000>;
2082
- opp-microvolt-L3 = <950000>;
2083
- };
20842104 opp-666000000 {
20852105 opp-hz = /bits/ 64 <666000000>;
20862106 opp-microvolt = <1050000>;
....@@ -2110,11 +2130,6 @@
21102130 opp-328000000 {
21112131 opp-hz = /bits/ 64 <328000000>;
21122132 opp-microvolt = <950000>;
2113
- };
2114
- opp-528000000 {
2115
- opp-hz = /bits/ 64 <528000000>;
2116
- opp-microvolt = <950000>;
2117
- status = "disabled";
21182133 };
21192134 opp-666000000 {
21202135 opp-hz = /bits/ 64 <666000000>;
....@@ -2318,7 +2333,7 @@
23182333 };
23192334
23202335 tsadc {
2321
- tsadc_otp_gpio: tsadc-otp-gpio {
2336
+ tsadc_otp_gpio: tsadc_otp_pin: tsadc-otp-pin {
23222337 rockchip,pins =
23232338 <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
23242339 };
....@@ -2344,11 +2359,6 @@
23442359 uart0_rts: uart0-rts {
23452360 rockchip,pins =
23462361 <0 RK_PB5 1 &pcfg_pull_none>;
2347
- };
2348
-
2349
- uart0_rts_gpio: uart0-rts-gpio {
2350
- rockchip,pins =
2351
- <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
23522362 };
23532363 };
23542364
....@@ -2407,11 +2417,6 @@
24072417 rockchip,pins =
24082418 <0 RK_PC3 2 &pcfg_pull_none>;
24092419 };
2410
-
2411
- uart3m0_rts_gpio: uart3m0-rts-gpio {
2412
- rockchip,pins =
2413
- <0 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
2414
- };
24152420 };
24162421
24172422 uart3-m1 {
....@@ -2430,15 +2435,9 @@
24302435 rockchip,pins =
24312436 <1 RK_PB5 2 &pcfg_pull_none>;
24322437 };
2433
-
2434
- uart3m1_rts_gpio: uart3m1-rts-gpio {
2435
- rockchip,pins =
2436
- <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
2437
- };
24382438 };
24392439
24402440 uart4 {
2441
-
24422441 uart4_xfer: uart4-xfer {
24432442 rockchip,pins =
24442443 <1 RK_PD4 2 &pcfg_pull_up>,
....@@ -2448,7 +2447,6 @@
24482447 uart4_cts: uart4-cts {
24492448 rockchip,pins =
24502449 <1 RK_PD6 2 &pcfg_pull_none>;
2451
-
24522450 };
24532451
24542452 uart4_rts: uart4-rts {
....@@ -2458,7 +2456,6 @@
24582456 };
24592457
24602458 uart5 {
2461
-
24622459 uart5_xfer: uart5-xfer {
24632460 rockchip,pins =
24642461 <3 RK_PA2 4 &pcfg_pull_up>,
....@@ -2468,7 +2465,6 @@
24682465 uart5_cts: uart5-cts {
24692466 rockchip,pins =
24702467 <3 RK_PA3 4 &pcfg_pull_none>;
2471
-
24722468 };
24732469
24742470 uart5_rts: uart5-rts {
....@@ -2641,27 +2637,27 @@
26412637 i2s0 {
26422638 i2s0_8ch_mclk: i2s0-8ch-mclk {
26432639 rockchip,pins =
2644
- <3 RK_PC1 2 &pcfg_pull_none>;
2640
+ <3 RK_PC1 2 &pcfg_pull_none_smt>;
26452641 };
26462642
26472643 i2s0_8ch_sclktx: i2s0-8ch-sclktx {
26482644 rockchip,pins =
2649
- <3 RK_PC3 2 &pcfg_pull_none>;
2645
+ <3 RK_PC3 2 &pcfg_pull_none_smt>;
26502646 };
26512647
26522648 i2s0_8ch_sclkrx: i2s0-8ch-sclkrx {
26532649 rockchip,pins =
2654
- <3 RK_PB4 2 &pcfg_pull_none>;
2650
+ <3 RK_PB4 2 &pcfg_pull_none_smt>;
26552651 };
26562652
26572653 i2s0_8ch_lrcktx: i2s0-8ch-lrcktx {
26582654 rockchip,pins =
2659
- <3 RK_PC2 2 &pcfg_pull_none>;
2655
+ <3 RK_PC2 2 &pcfg_pull_none_smt>;
26602656 };
26612657
26622658 i2s0_8ch_lrckrx: i2s0-8ch-lrckrx {
26632659 rockchip,pins =
2664
- <3 RK_PB5 2 &pcfg_pull_none>;
2660
+ <3 RK_PB5 2 &pcfg_pull_none_smt>;
26652661 };
26662662
26672663 i2s0_8ch_sdo0: i2s0-8ch-sdo0 {
....@@ -2708,17 +2704,17 @@
27082704 i2s1 {
27092705 i2s1_2ch_mclk: i2s1-2ch-mclk {
27102706 rockchip,pins =
2711
- <2 RK_PC3 1 &pcfg_pull_none>;
2707
+ <2 RK_PC3 1 &pcfg_pull_none_smt>;
27122708 };
27132709
27142710 i2s1_2ch_sclk: i2s1-2ch-sclk {
27152711 rockchip,pins =
2716
- <2 RK_PC2 1 &pcfg_pull_none>;
2712
+ <2 RK_PC2 1 &pcfg_pull_none_smt>;
27172713 };
27182714
27192715 i2s1_2ch_lrck: i2s1-2ch-lrck {
27202716 rockchip,pins =
2721
- <2 RK_PC1 1 &pcfg_pull_none>;
2717
+ <2 RK_PC1 1 &pcfg_pull_none_smt>;
27222718 };
27232719
27242720 i2s1_2ch_sdi: i2s1-2ch-sdi {
....@@ -2735,17 +2731,17 @@
27352731 i2s2 {
27362732 i2s2_2ch_mclk: i2s2-2ch-mclk {
27372733 rockchip,pins =
2738
- <3 RK_PA1 2 &pcfg_pull_none>;
2734
+ <3 RK_PA1 2 &pcfg_pull_none_smt>;
27392735 };
27402736
27412737 i2s2_2ch_sclk: i2s2-2ch-sclk {
27422738 rockchip,pins =
2743
- <3 RK_PA2 2 &pcfg_pull_none>;
2739
+ <3 RK_PA2 2 &pcfg_pull_none_smt>;
27442740 };
27452741
27462742 i2s2_2ch_lrck: i2s2-2ch-lrck {
27472743 rockchip,pins =
2748
- <3 RK_PA3 2 &pcfg_pull_none>;
2744
+ <3 RK_PA3 2 &pcfg_pull_none_smt>;
27492745 };
27502746
27512747 i2s2_2ch_sdi: i2s2-2ch-sdi {
....@@ -2787,16 +2783,6 @@
27872783 <1 RK_PD4 1 &pcfg_pull_up_8ma>,
27882784 <1 RK_PD5 1 &pcfg_pull_up_8ma>;
27892785 };
2790
-
2791
- sdmmc_gpio: sdmmc-gpio {
2792
- rockchip,pins =
2793
- <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
2794
- <1 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
2795
- <1 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
2796
- <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
2797
- <1 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
2798
- <1 RK_PD7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
2799
- };
28002786 };
28012787
28022788 sdio {
....@@ -2817,16 +2803,6 @@
28172803 <1 RK_PD0 1 &pcfg_pull_up>,
28182804 <1 RK_PD1 1 &pcfg_pull_up>;
28192805 };
2820
-
2821
- sdio_gpio: sdio-gpio {
2822
- rockchip,pins =
2823
- <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>,
2824
- <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>,
2825
- <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_up>,
2826
- <1 RK_PD1 RK_FUNC_GPIO &pcfg_pull_up>,
2827
- <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>,
2828
- <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
2829
- };
28302806 };
28312807
28322808 emmc {
....@@ -2838,11 +2814,6 @@
28382814 emmc_cmd: emmc-cmd {
28392815 rockchip,pins =
28402816 <1 RK_PB2 2 &pcfg_pull_up_8ma>;
2841
- };
2842
-
2843
- emmc_pwren: emmc-pwren {
2844
- rockchip,pins =
2845
- <1 RK_PB0 2 &pcfg_pull_none>;
28462817 };
28472818
28482819 emmc_rstnout: emmc-rstnout {
....@@ -3055,24 +3026,15 @@
30553026 gmac {
30563027 rmii_pins: rmii-pins {
30573028 rockchip,pins =
3058
- /* mac_txen */
3059
- <2 RK_PA0 2 &pcfg_pull_none_12ma>,
3060
- /* mac_txd1 */
3061
- <2 RK_PA1 2 &pcfg_pull_none_12ma>,
3062
- /* mac_txd0 */
3063
- <2 RK_PA2 2 &pcfg_pull_none_12ma>,
3064
- /* mac_rxd0 */
3065
- <2 RK_PA3 2 &pcfg_pull_none>,
3066
- /* mac_rxd1 */
3067
- <2 RK_PA4 2 &pcfg_pull_none>,
3068
- /* mac_rxer */
3069
- <2 RK_PA5 2 &pcfg_pull_none>,
3070
- /* mac_rxdv */
3071
- <2 RK_PA6 2 &pcfg_pull_none>,
3072
- /* mac_mdio */
3073
- <2 RK_PA7 2 &pcfg_pull_none>,
3074
- /* mac_mdc */
3075
- <2 RK_PB1 2 &pcfg_pull_none>;
3029
+ <2 RK_PA0 2 &pcfg_pull_none_12ma>, /* mac_txen */
3030
+ <2 RK_PA1 2 &pcfg_pull_none_12ma>, /* mac_txd1 */
3031
+ <2 RK_PA2 2 &pcfg_pull_none_12ma>, /* mac_txd0 */
3032
+ <2 RK_PA3 2 &pcfg_pull_none>, /* mac_rxd0 */
3033
+ <2 RK_PA4 2 &pcfg_pull_none>, /* mac_rxd1 */
3034
+ <2 RK_PA5 2 &pcfg_pull_none>, /* mac_rxer */
3035
+ <2 RK_PA6 2 &pcfg_pull_none>, /* mac_rxdv */
3036
+ <2 RK_PA7 2 &pcfg_pull_none>, /* mac_mdio */
3037
+ <2 RK_PB1 2 &pcfg_pull_none>; /* mac_mdc */
30763038 };
30773039
30783040 mac_refclk_12ma: mac-refclk-12ma {
....@@ -3088,75 +3050,78 @@
30883050
30893051 cif-m0 {
30903052 cif_clkout_m0: cif-clkout-m0 {
3091
- rockchip,pins = <2 RK_PB3 1 &pcfg_pull_none_12ma>;/* cif_clkout */
3053
+ rockchip,pins =
3054
+ <2 RK_PB3 1 &pcfg_pull_none_12ma>;/* cif_clkout */
30923055 };
30933056
30943057 dvp_d2d9_m0: dvp-d2d9-m0 {
30953058 rockchip,pins =
3096
- <2 RK_PA0 1 &pcfg_pull_none>,/* cif_data2 */
3097
- <2 RK_PA1 1 &pcfg_pull_none>,/* cif_data3 */
3098
- <2 RK_PA2 1 &pcfg_pull_none>,/* cif_data4 */
3099
- <2 RK_PA3 1 &pcfg_pull_none>,/* cif_data5 */
3100
- <2 RK_PA4 1 &pcfg_pull_none>,/* cif_data6 */
3101
- <2 RK_PA5 1 &pcfg_pull_none>,/* cif_data7 */
3102
- <2 RK_PA6 1 &pcfg_pull_none>,/* cif_data8 */
3103
- <2 RK_PA7 1 &pcfg_pull_none>,/* cif_data9 */
3104
- <2 RK_PB0 1 &pcfg_pull_none>,/* cif_sync */
3105
- <2 RK_PB1 1 &pcfg_pull_none>,/* cif_href */
3106
- <2 RK_PB2 1 &pcfg_pull_none>,/* cif_clkin */
3107
- <2 RK_PB3 1 &pcfg_pull_none>;/* cif_clkout */
3059
+ <2 RK_PA0 1 &pcfg_pull_none>, /* cif_data2 */
3060
+ <2 RK_PA1 1 &pcfg_pull_none>, /* cif_data3 */
3061
+ <2 RK_PA2 1 &pcfg_pull_none>, /* cif_data4 */
3062
+ <2 RK_PA3 1 &pcfg_pull_none>, /* cif_data5 */
3063
+ <2 RK_PA4 1 &pcfg_pull_none>, /* cif_data6 */
3064
+ <2 RK_PA5 1 &pcfg_pull_none>, /* cif_data7 */
3065
+ <2 RK_PA6 1 &pcfg_pull_none>, /* cif_data8 */
3066
+ <2 RK_PA7 1 &pcfg_pull_none>, /* cif_data9 */
3067
+ <2 RK_PB0 1 &pcfg_pull_none>, /* cif_sync */
3068
+ <2 RK_PB1 1 &pcfg_pull_none>, /* cif_href */
3069
+ <2 RK_PB2 1 &pcfg_pull_none>, /* cif_clkin */
3070
+ <2 RK_PB3 1 &pcfg_pull_none>; /* cif_clkout */
31083071 };
31093072
31103073 dvp_d0d1_m0: dvp-d0d1-m0 {
31113074 rockchip,pins =
3112
- <2 RK_PB4 1 &pcfg_pull_none>,/* cif_data0 */
3113
- <2 RK_PB6 1 &pcfg_pull_none>;/* cif_data1 */
3075
+ <2 RK_PB4 1 &pcfg_pull_none>, /* cif_data0 */
3076
+ <2 RK_PB6 1 &pcfg_pull_none>; /* cif_data1 */
31143077 };
31153078
31163079 dvp_d10d11_m0:d10-d11-m0 {
31173080 rockchip,pins =
3118
- <2 RK_PB7 1 &pcfg_pull_none>,/* cif_data10 */
3119
- <2 RK_PC0 1 &pcfg_pull_none>;/* cif_data11 */
3081
+ <2 RK_PB7 1 &pcfg_pull_none>, /* cif_data10 */
3082
+ <2 RK_PC0 1 &pcfg_pull_none>; /* cif_data11 */
31203083 };
31213084 };
31223085
31233086 cif-m1 {
31243087 cif_clkout_m1: cif-clkout-m1 {
3125
- rockchip,pins = <3 RK_PD0 3 &pcfg_pull_none>;/* cif_clkout */
3088
+ rockchip,pins =
3089
+ <3 RK_PD0 3 &pcfg_pull_none>;
31263090 };
31273091
31283092 dvp_d2d9_m1: dvp-d2d9-m1 {
31293093 rockchip,pins =
3130
- <3 RK_PA3 3 &pcfg_pull_none>,/* cif_data2 */
3131
- <3 RK_PA5 3 &pcfg_pull_none>,/* cif_data3 */
3132
- <3 RK_PA7 3 &pcfg_pull_none>,/* cif_data4 */
3133
- <3 RK_PB0 3 &pcfg_pull_none>,/* cif_data5 */
3134
- <3 RK_PB1 3 &pcfg_pull_none>,/* cif_data6 */
3135
- <3 RK_PB4 3 &pcfg_pull_none>,/* cif_data7 */
3136
- <3 RK_PB6 3 &pcfg_pull_none>,/* cif_data8 */
3137
- <3 RK_PB7 3 &pcfg_pull_none>,/* cif_data9 */
3138
- <3 RK_PD1 3 &pcfg_pull_none>,/* cif_sync */
3139
- <3 RK_PD2 3 &pcfg_pull_none>,/* cif_href */
3140
- <3 RK_PD3 3 &pcfg_pull_none>,/* cif_clkin */
3141
- <3 RK_PD0 3 &pcfg_pull_none>;/* cif_clkout */
3094
+ <3 RK_PA3 3 &pcfg_pull_none>, /* cif_data2 */
3095
+ <3 RK_PA5 3 &pcfg_pull_none>, /* cif_data3 */
3096
+ <3 RK_PA7 3 &pcfg_pull_none>, /* cif_data4 */
3097
+ <3 RK_PB0 3 &pcfg_pull_none>, /* cif_data5 */
3098
+ <3 RK_PB1 3 &pcfg_pull_none>, /* cif_data6 */
3099
+ <3 RK_PB4 3 &pcfg_pull_none>, /* cif_data7 */
3100
+ <3 RK_PB6 3 &pcfg_pull_none>, /* cif_data8 */
3101
+ <3 RK_PB7 3 &pcfg_pull_none>, /* cif_data9 */
3102
+ <3 RK_PD1 3 &pcfg_pull_none>, /* cif_sync */
3103
+ <3 RK_PD2 3 &pcfg_pull_none>, /* cif_href */
3104
+ <3 RK_PD3 3 &pcfg_pull_none>, /* cif_clkin */
3105
+ <3 RK_PD0 3 &pcfg_pull_none>; /* cif_clkout */
31423106 };
31433107
31443108 dvp_d0d1_m1: dvp-d0d1-m1 {
31453109 rockchip,pins =
3146
- <3 RK_PA1 3 &pcfg_pull_none>,/* cif_data0 */
3147
- <3 RK_PA2 3 &pcfg_pull_none>;/* cif_data1 */
3110
+ <3 RK_PA1 3 &pcfg_pull_none>, /* cif_data0 */
3111
+ <3 RK_PA2 3 &pcfg_pull_none>; /* cif_data1 */
31483112 };
31493113
31503114 dvp_d10d11_m1:d10-d11-m1 {
31513115 rockchip,pins =
3152
- <3 RK_PC6 3 &pcfg_pull_none>,/* cif_data10 */
3153
- <3 RK_PC7 3 &pcfg_pull_none>;/* cif_data11 */
3116
+ <3 RK_PC6 3 &pcfg_pull_none>, /* cif_data10 */
3117
+ <3 RK_PC7 3 &pcfg_pull_none>; /* cif_data11 */
31543118 };
31553119 };
31563120
31573121 isp {
31583122 isp_prelight: isp-prelight {
3159
- rockchip,pins = <3 RK_PD1 4 &pcfg_pull_none>;/* ISP_PRELIGHTTRIG */
3123
+ rockchip,pins =
3124
+ <3 RK_PD1 4 &pcfg_pull_none>;
31603125 };
31613126 };
31623127 };