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,8 +1043,6 @@
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
....@@ -983,11 +1050,11 @@
9831050 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
9841051 reg = <0x0 0xff200000 0x0 0x10>;
9851052 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
986
- #pwm-cells = <3>;
987
- pinctrl-names = "active";
988
- pinctrl-0 = <&pwm0_pin>;
9891053 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
9901054 clock-names = "pwm", "pclk";
1055
+ pinctrl-names = "active";
1056
+ pinctrl-0 = <&pwm0_pin>;
1057
+ #pwm-cells = <3>;
9911058 status = "disabled";
9921059 };
9931060
....@@ -995,11 +1062,11 @@
9951062 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
9961063 reg = <0x0 0xff200010 0x0 0x10>;
9971064 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
998
- #pwm-cells = <3>;
999
- pinctrl-names = "active";
1000
- pinctrl-0 = <&pwm1_pin>;
10011065 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
10021066 clock-names = "pwm", "pclk";
1067
+ pinctrl-names = "active";
1068
+ pinctrl-0 = <&pwm1_pin>;
1069
+ #pwm-cells = <3>;
10031070 status = "disabled";
10041071 };
10051072
....@@ -1007,11 +1074,11 @@
10071074 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10081075 reg = <0x0 0xff200020 0x0 0x10>;
10091076 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
1010
- #pwm-cells = <3>;
1011
- pinctrl-names = "active";
1012
- pinctrl-0 = <&pwm2_pin>;
10131077 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
10141078 clock-names = "pwm", "pclk";
1079
+ pinctrl-names = "active";
1080
+ pinctrl-0 = <&pwm2_pin>;
1081
+ #pwm-cells = <3>;
10151082 status = "disabled";
10161083 };
10171084
....@@ -1020,11 +1087,11 @@
10201087 reg = <0x0 0xff200030 0x0 0x10>;
10211088 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
10221089 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
1023
- #pwm-cells = <3>;
1024
- pinctrl-names = "active";
1025
- pinctrl-0 = <&pwm3_pin>;
10261090 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
10271091 clock-names = "pwm", "pclk";
1092
+ pinctrl-names = "active";
1093
+ pinctrl-0 = <&pwm3_pin>;
1094
+ #pwm-cells = <3>;
10281095 status = "disabled";
10291096 };
10301097
....@@ -1032,11 +1099,11 @@
10321099 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10331100 reg = <0x0 0xff208000 0x0 0x10>;
10341101 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
1035
- #pwm-cells = <3>;
1036
- pinctrl-names = "active";
1037
- pinctrl-0 = <&pwm4_pin>;
10381102 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
10391103 clock-names = "pwm", "pclk";
1104
+ pinctrl-names = "active";
1105
+ pinctrl-0 = <&pwm4_pin>;
1106
+ #pwm-cells = <3>;
10401107 status = "disabled";
10411108 };
10421109
....@@ -1044,11 +1111,11 @@
10441111 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10451112 reg = <0x0 0xff208010 0x0 0x10>;
10461113 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
1047
- #pwm-cells = <3>;
1048
- pinctrl-names = "active";
1049
- pinctrl-0 = <&pwm5_pin>;
10501114 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
10511115 clock-names = "pwm", "pclk";
1116
+ pinctrl-names = "active";
1117
+ pinctrl-0 = <&pwm5_pin>;
1118
+ #pwm-cells = <3>;
10521119 status = "disabled";
10531120 };
10541121
....@@ -1056,11 +1123,11 @@
10561123 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10571124 reg = <0x0 0xff208020 0x0 0x10>;
10581125 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
1059
- #pwm-cells = <3>;
1060
- pinctrl-names = "active";
1061
- pinctrl-0 = <&pwm6_pin>;
10621126 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
10631127 clock-names = "pwm", "pclk";
1128
+ pinctrl-names = "active";
1129
+ pinctrl-0 = <&pwm6_pin>;
1130
+ #pwm-cells = <3>;
10641131 status = "disabled";
10651132 };
10661133
....@@ -1069,23 +1136,23 @@
10691136 reg = <0x0 0xff208030 0x0 0x10>;
10701137 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
10711138 <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
1072
- #pwm-cells = <3>;
1073
- pinctrl-names = "active";
1074
- pinctrl-0 = <&pwm7_pin>;
10751139 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
10761140 clock-names = "pwm", "pclk";
1141
+ pinctrl-names = "active";
1142
+ pinctrl-0 = <&pwm7_pin>;
1143
+ #pwm-cells = <3>;
10771144 status = "disabled";
10781145 };
10791146
1080
- rktimer: rktimer@ff210000 {
1081
- compatible = "rockchip,rk3288-timer";
1147
+ rktimer: timer@ff210000 {
1148
+ compatible = "rockchip,px30-timer", "rockchip,rk3288-timer";
10821149 reg = <0x0 0xff210000 0x0 0x1000>;
10831150 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
10841151 clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
10851152 clock-names = "pclk", "timer";
10861153 };
10871154
1088
- amba {
1155
+ amba: bus {
10891156 compatible = "simple-bus";
10901157 #address-cells = <2>;
10911158 #size-cells = <2>;
....@@ -1096,59 +1163,10 @@
10961163 reg = <0x0 0xff240000 0x0 0x4000>;
10971164 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
10981165 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
1166
+ arm,pl330-periph-burst;
10991167 clocks = <&cru ACLK_DMAC>;
11001168 clock-names = "apb_pclk";
11011169 #dma-cells = <1>;
1102
- arm,pl330-periph-burst;
1103
- };
1104
- };
1105
-
1106
- thermal_zones: thermal-zones {
1107
-
1108
- soc_thermal: soc-thermal {
1109
- polling-delay-passive = <20>;
1110
- polling-delay = <1000>;
1111
- sustainable-power = <750>;
1112
-
1113
- thermal-sensors = <&tsadc 0>;
1114
-
1115
- trips {
1116
- threshold: trip-point-0 {
1117
- temperature = <70000>;
1118
- hysteresis = <2000>;
1119
- type = "passive";
1120
- };
1121
- target: trip-point-1 {
1122
- temperature = <85000>;
1123
- hysteresis = <2000>;
1124
- type = "passive";
1125
- };
1126
- soc_crit: soc-crit {
1127
- temperature = <115000>;
1128
- hysteresis = <2000>;
1129
- type = "critical";
1130
- };
1131
- };
1132
-
1133
- cooling-maps {
1134
- map0 {
1135
- trip = <&target>;
1136
- cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1137
- contribution = <4096>;
1138
- };
1139
- map1 {
1140
- trip = <&target>;
1141
- cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1142
- contribution = <4096>;
1143
- };
1144
- };
1145
- };
1146
-
1147
- gpu_thermal: gpu-thermal {
1148
- polling-delay-passive = <100>; /* milliseconds */
1149
- polling-delay = <1000>; /* milliseconds */
1150
-
1151
- thermal-sensors = <&tsadc 1>;
11521170 };
11531171 };
11541172
....@@ -1156,15 +1174,19 @@
11561174 compatible = "rockchip,px30-tsadc";
11571175 reg = <0x0 0xff280000 0x0 0x100>;
11581176 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
1159
- rockchip,grf = <&grf>;
1160
- clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
1161
- clock-names = "tsadc", "apb_pclk";
11621177 assigned-clocks = <&cru SCLK_TSADC>;
11631178 assigned-clock-rates = <50000>;
1179
+ clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
1180
+ clock-names = "tsadc", "apb_pclk";
11641181 resets = <&cru SRST_TSADC>;
11651182 reset-names = "tsadc-apb";
1166
- #thermal-sensor-cells = <1>;
1183
+ rockchip,grf = <&grf>;
11671184 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>;
11681190 status = "disabled";
11691191 };
11701192
....@@ -1180,19 +1202,19 @@
11801202 status = "disabled";
11811203 };
11821204
1183
- otp: otp@ff290000 {
1205
+ otp: nvmem@ff290000 {
11841206 compatible = "rockchip,px30-otp";
11851207 reg = <0x0 0xff290000 0x0 0x4000>;
1186
- #address-cells = <1>;
1187
- #size-cells = <1>;
11881208 clocks = <&cru SCLK_OTP_USR>, <&cru PCLK_OTP_NS>,
11891209 <&cru PCLK_OTP_PHY>;
11901210 clock-names = "otp", "apb_pclk", "phy";
11911211 resets = <&cru SRST_OTP_PHY>;
1192
- reset-names = "otp_phy";
1212
+ reset-names = "phy";
1213
+ #address-cells = <1>;
1214
+ #size-cells = <1>;
11931215
11941216 /* Data cells */
1195
- otp_id: id@7 {
1217
+ cpu_id: id@7 {
11961218 reg = <0x07 0x10>;
11971219 };
11981220 cpu_leakage: cpu-leakage@17 {
....@@ -1208,27 +1230,14 @@
12081230 compatible = "rockchip,px30-cru";
12091231 reg = <0x0 0xff2b0000 0x0 0x1000>;
12101232 rockchip,grf = <&grf>;
1211
- rockchip,boost = <&cpu_boost>;
12121233 #clock-cells = <1>;
12131234 #reset-cells = <1>;
1235
+
1236
+ assigned-clocks = <&cru PLL_NPLL>;
1237
+ assigned-clock-rates = <1188000000>;
12141238 };
12151239
1216
- cpu_boost: cpu-boost@ff2b8000 {
1217
- compatible = "syscon";
1218
- reg = <0x0 0xff2b8000 0x0 0x1000>;
1219
- rockchip,boost-low-con0 = <0x1032>;
1220
- rockchip,boost-low-con1 = <0x1441>;
1221
- rockchip,boost-high-con0 = <0x1036>;
1222
- rockchip,boost-high-con1 = <0x1441>;
1223
- rockchip,boost-backup-pll = <1>;
1224
- rockchip,boost-backup-pll-usage = <0>;
1225
- rockchip,boost-switch-threshold = <0x249f00>;
1226
- rockchip,boost-statis-threshold = <0x100>;
1227
- rockchip,boost-statis-enable = <0>;
1228
- rockchip,boost-enable = <0>;
1229
- };
1230
-
1231
- pmucru: pmu-clock-controller@ff2bc000 {
1240
+ pmucru: clock-controller@ff2bc000 {
12321241 compatible = "rockchip,px30-pmucru";
12331242 reg = <0x0 0xff2bc000 0x0 0x1000>;
12341243 rockchip,grf = <&grf>;
....@@ -1257,9 +1266,8 @@
12571266 #size-cells = <1>;
12581267
12591268 u2phy: usb2-phy@100 {
1260
- compatible = "rockchip,px30-usb2phy",
1261
- "rockchip,rk3328-usb2phy";
1262
- reg = <0x100 0x10>;
1269
+ compatible = "rockchip,px30-usb2phy";
1270
+ reg = <0x100 0x20>;
12631271 clocks = <&pmucru SCLK_USBPHY_REF>;
12641272 clock-names = "phyclk";
12651273 #clock-cells = <0>;
....@@ -1287,18 +1295,18 @@
12871295 };
12881296 };
12891297
1290
- video_phy: video-phy@ff2e0000 {
1291
- compatible = "rockchip,px30-video-phy";
1298
+ video_phy: dsi_dphy: phy@ff2e0000 {
1299
+ compatible = "rockchip,px30-dsi-dphy", "rockchip,px30-video-phy";
12921300 reg = <0x0 0xff2e0000 0x0 0x10000>,
12931301 <0x0 0xff450000 0x0 0x10000>;
1302
+ reg-names = "phy", "host";
12941303 clocks = <&pmucru SCLK_MIPIDSIPHY_REF>,
12951304 <&cru PCLK_MIPIDSIPHY>, <&cru PCLK_MIPI_DSI>;
1296
- clock-names = "ref", "pclk_phy", "pclk_host";
1297
- #clock-cells = <0>;
1305
+ clock-names = "ref", "pclk", "pclk_host";
12981306 resets = <&cru SRST_MIPIDSIPHY_P>;
1299
- reset-names = "rst";
1300
- power-domains = <&power PX30_PD_VO>;
1307
+ reset-names = "apb";
13011308 #phy-cells = <0>;
1309
+ power-domains = <&power PX30_PD_VO>;
13021310 status = "disabled";
13031311 };
13041312
....@@ -1319,14 +1327,13 @@
13191327 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
13201328 clocks = <&cru HCLK_OTG>;
13211329 clock-names = "otg";
1322
- power-domains = <&power PX30_PD_USB>;
13231330 dr_mode = "otg";
13241331 g-np-tx-fifo-size = <16>;
13251332 g-rx-fifo-size = <280>;
13261333 g-tx-fifo-size = <256 128 128 64 32 16>;
1327
- g-use-dma;
13281334 phys = <&u2phy_otg>;
13291335 phy-names = "usb2-phy";
1336
+ power-domains = <&power PX30_PD_USB>;
13301337 status = "disabled";
13311338 };
13321339
....@@ -1336,9 +1343,9 @@
13361343 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
13371344 clocks = <&cru HCLK_HOST>, <&u2phy>;
13381345 clock-names = "usbhost", "utmi";
1339
- power-domains = <&power PX30_PD_USB>;
13401346 phys = <&u2phy_host>;
13411347 phy-names = "usb";
1348
+ power-domains = <&power PX30_PD_USB>;
13421349 status = "disabled";
13431350 };
13441351
....@@ -1348,16 +1355,15 @@
13481355 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
13491356 clocks = <&cru HCLK_HOST>, <&u2phy>;
13501357 clock-names = "usbhost", "utmi";
1351
- power-domains = <&power PX30_PD_USB>;
13521358 phys = <&u2phy_host>;
13531359 phy-names = "usb";
1360
+ power-domains = <&power PX30_PD_USB>;
13541361 status = "disabled";
13551362 };
13561363
13571364 gmac: ethernet@ff360000 {
13581365 compatible = "rockchip,px30-gmac";
13591366 reg = <0x0 0xff360000 0x0 0x10000>;
1360
- rockchip,grf = <&grf>;
13611367 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
13621368 interrupt-names = "macirq";
13631369 clocks = <&cru SCLK_GMAC>, <&cru SCLK_GMAC_RX_TX>,
....@@ -1368,61 +1374,72 @@
13681374 "mac_clk_tx", "clk_mac_ref",
13691375 "clk_mac_refout", "aclk_mac",
13701376 "pclk_mac", "clk_mac_speed";
1377
+ rockchip,grf = <&grf>;
13711378 phy-mode = "rmii";
13721379 pinctrl-names = "default";
13731380 pinctrl-0 = <&rmii_pins &mac_refclk_12ma>;
1381
+ power-domains = <&power PX30_PD_GMAC>;
13741382 resets = <&cru SRST_GMAC_A>;
13751383 reset-names = "stmmaceth";
1376
- power-domains = <&power PX30_PD_GMAC>;
13771384 status = "disabled";
13781385 };
13791386
13801387 sdmmc: dwmmc@ff370000 {
13811388 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
13821389 reg = <0x0 0xff370000 0x0 0x4000>;
1383
- max-frequency = <150000000>;
1390
+ interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
13841391 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
13851392 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
1386
- clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
1387
- assigned-clocks = <&cru SCLK_SDMMC>;
1388
- assigned-clock-parents = <&cru SCLK_SDMMC_DIV50>;
1389
- power-domains = <&power PX30_PD_SDCARD>;
1393
+ clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1394
+ bus-width = <4>;
13901395 fifo-depth = <0x100>;
1391
- interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
1396
+ max-frequency = <150000000>;
13921397 pinctrl-names = "default";
13931398 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>;
1399
+ power-domains = <&power PX30_PD_SDCARD>;
13941400 status = "disabled";
13951401 };
13961402
13971403 sdio: dwmmc@ff380000 {
13981404 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
13991405 reg = <0x0 0xff380000 0x0 0x4000>;
1400
- max-frequency = <150000000>;
1406
+ interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
14011407 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
14021408 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
1403
- clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
1404
- assigned-clocks = <&cru SCLK_SDIO>;
1405
- assigned-clock-parents = <&cru SCLK_SDIO_DIV50>;
1406
- power-domains = <&power PX30_PD_MMC_NAND>;
1409
+ clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1410
+ bus-width = <4>;
14071411 fifo-depth = <0x100>;
1408
- interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
1412
+ max-frequency = <150000000>;
14091413 pinctrl-names = "default";
14101414 pinctrl-0 = <&sdio_bus4 &sdio_cmd &sdio_clk>;
1415
+ power-domains = <&power PX30_PD_MMC_NAND>;
14111416 status = "disabled";
14121417 };
14131418
14141419 emmc: dwmmc@ff390000 {
14151420 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
14161421 reg = <0x0 0xff390000 0x0 0x4000>;
1417
- max-frequency = <150000000>;
1422
+ interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
14181423 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
14191424 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
1420
- clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
1421
- assigned-clocks = <&cru SCLK_EMMC>;
1422
- assigned-clock-parents = <&cru SCLK_EMMC_DIV50>;
1423
- power-domains = <&power PX30_PD_MMC_NAND>;
1425
+ clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1426
+ bus-width = <8>;
14241427 fifo-depth = <0x100>;
1425
- 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>;
14261443 status = "disabled";
14271444 };
14281445
....@@ -1440,23 +1457,18 @@
14401457 };
14411458
14421459 gpu: gpu@ff400000 {
1443
- compatible = "arm,mali-bifrost";
1460
+ compatible = "rockchip,px30-mali", "arm,mali-bifrost";
14441461 reg = <0x0 0xff400000 0x0 0x4000>;
1445
-
14461462 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
14471463 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
14481464 <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
14491465 interrupt-names = "GPU", "MMU", "JOB";
1450
-
1466
+ clocks = <&cru SCLK_GPU>;
1467
+ #cooling-cells = <2>;
1468
+ power-domains = <&power PX30_PD_GPU>;
1469
+ operating-points-v2 = <&gpu_opp_table>;
14511470 upthreshold = <40>;
14521471 downdifferential = <10>;
1453
-
1454
- clocks = <&cru SCLK_GPU>;
1455
- clock-names = "clk_mali";
1456
- power-domains = <&power PX30_PD_GPU>;
1457
- #cooling-cells = <2>;
1458
- operating-points-v2 = <&gpu_opp_table>;
1459
-
14601472 status = "disabled";
14611473 power_model {
14621474 compatible = "arm,mali-simple-power-model";
....@@ -1465,7 +1477,6 @@
14651477 ts = <32000 4700 (-80) 2>;
14661478 thermal-zone = "gpu-thermal";
14671479 };
1468
-
14691480 };
14701481
14711482 gpu_opp_table: gpu-opp-table {
....@@ -1596,6 +1607,7 @@
15961607 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
15971608 clock-names = "aclk", "iface";
15981609 power-domains = <&power PX30_PD_VPU>;
1610
+ rockchip,shootdown-entire;
15991611 #iommu-cells = <0>;
16001612 status = "disabled";
16011613 };
....@@ -1625,10 +1637,11 @@
16251637 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>, <&cru SCLK_CORE_VPU>;
16261638 clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core";
16271639 resets = <&cru SRST_VPU_A>, <&cru SRST_VPU_H>,
1628
- <&cru SRST_VPU_NIU_A>, <&cru SRST_VPU_NIU_H>,
1629
- <&cru SRST_VPU_CORE>;
1640
+ <&cru SRST_VPU_NIU_A>, <&cru SRST_VPU_NIU_H>,
1641
+ <&cru SRST_VPU_CORE>;
16301642 reset-names = "shared_video_a", "shared_video_h",
1631
- "niu_a", "niu_h", "video_core";
1643
+ "niu_a", "niu_h",
1644
+ "video_core";
16321645 iommus = <&hevc_mmu>;
16331646 rockchip,srv = <&mpp_srv>;
16341647 rockchip,taskqueue-node = <0>;
....@@ -1645,6 +1658,7 @@
16451658 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
16461659 clock-names = "aclk", "iface";
16471660 power-domains = <&power PX30_PD_VPU>;
1661
+ rockchip,shootdown-entire;
16481662 #iommu-cells = <0>;
16491663 status = "disabled";
16501664 };
....@@ -1653,13 +1667,13 @@
16531667 compatible = "rockchip,px30-mipi-dsi";
16541668 reg = <0x0 0xff450000 0x0 0x10000>;
16551669 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
1656
- clocks = <&cru PCLK_MIPI_DSI>, <&video_phy>;
1657
- 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>;
16581675 resets = <&cru SRST_MIPIDSI_HOST_P>;
16591676 reset-names = "apb";
1660
- phys = <&video_phy>;
1661
- phy-names = "mipi_dphy";
1662
- power-domains = <&power PX30_PD_VO>;
16631677 rockchip,grf = <&grf>;
16641678 #address-cells = <1>;
16651679 #size-cells = <0>;
....@@ -1689,29 +1703,31 @@
16891703
16901704 vopb: vop@ff460000 {
16911705 compatible = "rockchip,px30-vop-big";
1692
- reg = <0x0 0xff460000 0x0 0x1fc>, <0x0 0xff460a00 0x0 0x400>;
1706
+ reg = <0x0 0xff460000 0x0 0x260>, <0x0 0xff460a00 0x0 0x400>;
16931707 rockchip,grf = <&grf>;
16941708 reg-names = "regs", "gamma_lut";
16951709 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
16961710 clocks = <&cru ACLK_VOPB>, <&cru DCLK_VOPB>,
16971711 <&cru HCLK_VOPB>;
16981712 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1699
- 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";
17001715 iommus = <&vopb_mmu>;
1716
+ power-domains = <&power PX30_PD_VO>;
17011717 status = "disabled";
17021718
17031719 vopb_out: port {
17041720 #address-cells = <1>;
17051721 #size-cells = <0>;
17061722
1707
- vopb_out_lvds: endpoint@0 {
1723
+ vopb_out_dsi: endpoint@0 {
17081724 reg = <0>;
1709
- remote-endpoint = <&lvds_in_vopb>;
1725
+ remote-endpoint = <&dsi_in_vopb>;
17101726 };
17111727
1712
- vopb_out_dsi: endpoint@1 {
1728
+ vopb_out_lvds: endpoint@1 {
17131729 reg = <1>;
1714
- remote-endpoint = <&dsi_in_vopb>;
1730
+ remote-endpoint = <&lvds_vopb_in>;
17151731 };
17161732
17171733 vopb_out_rgb: endpoint@2 {
....@@ -1743,22 +1759,24 @@
17431759 clocks = <&cru ACLK_VOPL>, <&cru DCLK_VOPL>,
17441760 <&cru HCLK_VOPL>;
17451761 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1746
- 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";
17471764 iommus = <&vopl_mmu>;
1765
+ power-domains = <&power PX30_PD_VO>;
17481766 status = "disabled";
17491767
17501768 vopl_out: port {
17511769 #address-cells = <1>;
17521770 #size-cells = <0>;
17531771
1754
- vopl_out_lvds: endpoint@0 {
1772
+ vopl_out_dsi: endpoint@0 {
17551773 reg = <0>;
1756
- remote-endpoint = <&lvds_in_vopl>;
1774
+ remote-endpoint = <&dsi_in_vopl>;
17571775 };
17581776
1759
- vopl_out_dsi: endpoint@1 {
1777
+ vopl_out_lvds: endpoint@1 {
17601778 reg = <1>;
1761
- remote-endpoint = <&dsi_in_vopl>;
1779
+ remote-endpoint = <&lvds_vopl_in>;
17621780 };
17631781
17641782 vopl_out_rgb: endpoint@2 {
....@@ -1838,9 +1856,9 @@
18381856 reg = <0x0 0xff4a0000 0x0 0x8000>;
18391857 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
18401858 clocks = <&cru ACLK_ISP>, <&cru HCLK_ISP>, <&cru SCLK_ISP>, <&cru SCLK_ISP>,
1841
- <&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>;
18421860 clock-names = "aclk_isp", "hclk_isp", "clk_isp", "clk_isp_jpe",
1843
- "pclkin_isp", "clk_cif_pll", "clk_cif_out", "pclk_dphyrx";
1861
+ "pclkin_isp", "clk_cif_pll", "clk_cif_out", "pclk_dphyrx";
18441862 resets = <&cru SRST_ISP>, <&cru SRST_MIPICSIPHY_P>;
18451863 reset-names = "rst_isp", "rst_mipicsiphy";
18461864 power-domains = <&power PX30_PD_VI>;
....@@ -1866,9 +1884,9 @@
18661884 <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
18671885 interrupt-names = "isp_irq", "mi_irq", "mipi_irq";
18681886 clocks = <&cru ACLK_ISP>, <&cru HCLK_ISP>,
1869
- <&cru SCLK_ISP>, <&cru PCLK_ISP>;
1887
+ <&cru SCLK_ISP>, <&cru PCLK_ISP>;
18701888 clock-names = "aclk_isp", "hclk_isp",
1871
- "clk_isp", "pclk_isp";
1889
+ "clk_isp", "pclk_isp";
18721890 devfreq = <&dmc>;
18731891 power-domains = <&power PX30_PD_VI>;
18741892 iommus = <&isp_mmu>;
....@@ -2009,11 +2027,11 @@
20092027 downdifferential = <20>;
20102028 system-status-freq = <
20112029 /*system status freq(KHz)*/
2012
- SYS_STATUS_NORMAL 528000
2030
+ SYS_STATUS_NORMAL 666000
20132031 SYS_STATUS_REBOOT 450000
20142032 SYS_STATUS_SUSPEND 194000
20152033 SYS_STATUS_VIDEO_1080P 450000
2016
- SYS_STATUS_BOOST 528000
2034
+ SYS_STATUS_BOOST 666000
20172035 SYS_STATUS_ISP 666000
20182036 SYS_STATUS_PERFORMANCE 1056000
20192037 >;
....@@ -2083,14 +2101,6 @@
20832101 opp-microvolt-L2 = <950000>;
20842102 opp-microvolt-L3 = <950000>;
20852103 };
2086
- opp-528000000 {
2087
- opp-hz = /bits/ 64 <528000000>;
2088
- opp-microvolt = <975000>;
2089
- opp-microvolt-L0 = <975000>;
2090
- opp-microvolt-L1 = <975000>;
2091
- opp-microvolt-L2 = <950000>;
2092
- opp-microvolt-L3 = <950000>;
2093
- };
20942104 opp-666000000 {
20952105 opp-hz = /bits/ 64 <666000000>;
20962106 opp-microvolt = <1050000>;
....@@ -2120,11 +2130,6 @@
21202130 opp-328000000 {
21212131 opp-hz = /bits/ 64 <328000000>;
21222132 opp-microvolt = <950000>;
2123
- };
2124
- opp-528000000 {
2125
- opp-hz = /bits/ 64 <528000000>;
2126
- opp-microvolt = <950000>;
2127
- status = "disabled";
21282133 };
21292134 opp-666000000 {
21302135 opp-hz = /bits/ 64 <666000000>;
....@@ -2328,7 +2333,7 @@
23282333 };
23292334
23302335 tsadc {
2331
- tsadc_otp_gpio: tsadc-otp-gpio {
2336
+ tsadc_otp_gpio: tsadc_otp_pin: tsadc-otp-pin {
23322337 rockchip,pins =
23332338 <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
23342339 };
....@@ -2354,11 +2359,6 @@
23542359 uart0_rts: uart0-rts {
23552360 rockchip,pins =
23562361 <0 RK_PB5 1 &pcfg_pull_none>;
2357
- };
2358
-
2359
- uart0_rts_gpio: uart0-rts-gpio {
2360
- rockchip,pins =
2361
- <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
23622362 };
23632363 };
23642364
....@@ -2417,11 +2417,6 @@
24172417 rockchip,pins =
24182418 <0 RK_PC3 2 &pcfg_pull_none>;
24192419 };
2420
-
2421
- uart3m0_rts_gpio: uart3m0-rts-gpio {
2422
- rockchip,pins =
2423
- <0 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
2424
- };
24252420 };
24262421
24272422 uart3-m1 {
....@@ -2440,15 +2435,9 @@
24402435 rockchip,pins =
24412436 <1 RK_PB5 2 &pcfg_pull_none>;
24422437 };
2443
-
2444
- uart3m1_rts_gpio: uart3m1-rts-gpio {
2445
- rockchip,pins =
2446
- <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
2447
- };
24482438 };
24492439
24502440 uart4 {
2451
-
24522441 uart4_xfer: uart4-xfer {
24532442 rockchip,pins =
24542443 <1 RK_PD4 2 &pcfg_pull_up>,
....@@ -2458,7 +2447,6 @@
24582447 uart4_cts: uart4-cts {
24592448 rockchip,pins =
24602449 <1 RK_PD6 2 &pcfg_pull_none>;
2461
-
24622450 };
24632451
24642452 uart4_rts: uart4-rts {
....@@ -2468,7 +2456,6 @@
24682456 };
24692457
24702458 uart5 {
2471
-
24722459 uart5_xfer: uart5-xfer {
24732460 rockchip,pins =
24742461 <3 RK_PA2 4 &pcfg_pull_up>,
....@@ -2478,7 +2465,6 @@
24782465 uart5_cts: uart5-cts {
24792466 rockchip,pins =
24802467 <3 RK_PA3 4 &pcfg_pull_none>;
2481
-
24822468 };
24832469
24842470 uart5_rts: uart5-rts {
....@@ -2651,27 +2637,27 @@
26512637 i2s0 {
26522638 i2s0_8ch_mclk: i2s0-8ch-mclk {
26532639 rockchip,pins =
2654
- <3 RK_PC1 2 &pcfg_pull_none>;
2640
+ <3 RK_PC1 2 &pcfg_pull_none_smt>;
26552641 };
26562642
26572643 i2s0_8ch_sclktx: i2s0-8ch-sclktx {
26582644 rockchip,pins =
2659
- <3 RK_PC3 2 &pcfg_pull_none>;
2645
+ <3 RK_PC3 2 &pcfg_pull_none_smt>;
26602646 };
26612647
26622648 i2s0_8ch_sclkrx: i2s0-8ch-sclkrx {
26632649 rockchip,pins =
2664
- <3 RK_PB4 2 &pcfg_pull_none>;
2650
+ <3 RK_PB4 2 &pcfg_pull_none_smt>;
26652651 };
26662652
26672653 i2s0_8ch_lrcktx: i2s0-8ch-lrcktx {
26682654 rockchip,pins =
2669
- <3 RK_PC2 2 &pcfg_pull_none>;
2655
+ <3 RK_PC2 2 &pcfg_pull_none_smt>;
26702656 };
26712657
26722658 i2s0_8ch_lrckrx: i2s0-8ch-lrckrx {
26732659 rockchip,pins =
2674
- <3 RK_PB5 2 &pcfg_pull_none>;
2660
+ <3 RK_PB5 2 &pcfg_pull_none_smt>;
26752661 };
26762662
26772663 i2s0_8ch_sdo0: i2s0-8ch-sdo0 {
....@@ -2718,17 +2704,17 @@
27182704 i2s1 {
27192705 i2s1_2ch_mclk: i2s1-2ch-mclk {
27202706 rockchip,pins =
2721
- <2 RK_PC3 1 &pcfg_pull_none>;
2707
+ <2 RK_PC3 1 &pcfg_pull_none_smt>;
27222708 };
27232709
27242710 i2s1_2ch_sclk: i2s1-2ch-sclk {
27252711 rockchip,pins =
2726
- <2 RK_PC2 1 &pcfg_pull_none>;
2712
+ <2 RK_PC2 1 &pcfg_pull_none_smt>;
27272713 };
27282714
27292715 i2s1_2ch_lrck: i2s1-2ch-lrck {
27302716 rockchip,pins =
2731
- <2 RK_PC1 1 &pcfg_pull_none>;
2717
+ <2 RK_PC1 1 &pcfg_pull_none_smt>;
27322718 };
27332719
27342720 i2s1_2ch_sdi: i2s1-2ch-sdi {
....@@ -2745,17 +2731,17 @@
27452731 i2s2 {
27462732 i2s2_2ch_mclk: i2s2-2ch-mclk {
27472733 rockchip,pins =
2748
- <3 RK_PA1 2 &pcfg_pull_none>;
2734
+ <3 RK_PA1 2 &pcfg_pull_none_smt>;
27492735 };
27502736
27512737 i2s2_2ch_sclk: i2s2-2ch-sclk {
27522738 rockchip,pins =
2753
- <3 RK_PA2 2 &pcfg_pull_none>;
2739
+ <3 RK_PA2 2 &pcfg_pull_none_smt>;
27542740 };
27552741
27562742 i2s2_2ch_lrck: i2s2-2ch-lrck {
27572743 rockchip,pins =
2758
- <3 RK_PA3 2 &pcfg_pull_none>;
2744
+ <3 RK_PA3 2 &pcfg_pull_none_smt>;
27592745 };
27602746
27612747 i2s2_2ch_sdi: i2s2-2ch-sdi {
....@@ -2797,16 +2783,6 @@
27972783 <1 RK_PD4 1 &pcfg_pull_up_8ma>,
27982784 <1 RK_PD5 1 &pcfg_pull_up_8ma>;
27992785 };
2800
-
2801
- sdmmc_gpio: sdmmc-gpio {
2802
- rockchip,pins =
2803
- <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
2804
- <1 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
2805
- <1 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
2806
- <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
2807
- <1 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
2808
- <1 RK_PD7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
2809
- };
28102786 };
28112787
28122788 sdio {
....@@ -2827,16 +2803,6 @@
28272803 <1 RK_PD0 1 &pcfg_pull_up>,
28282804 <1 RK_PD1 1 &pcfg_pull_up>;
28292805 };
2830
-
2831
- sdio_gpio: sdio-gpio {
2832
- rockchip,pins =
2833
- <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>,
2834
- <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>,
2835
- <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_up>,
2836
- <1 RK_PD1 RK_FUNC_GPIO &pcfg_pull_up>,
2837
- <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>,
2838
- <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
2839
- };
28402806 };
28412807
28422808 emmc {
....@@ -2848,11 +2814,6 @@
28482814 emmc_cmd: emmc-cmd {
28492815 rockchip,pins =
28502816 <1 RK_PB2 2 &pcfg_pull_up_8ma>;
2851
- };
2852
-
2853
- emmc_pwren: emmc-pwren {
2854
- rockchip,pins =
2855
- <1 RK_PB0 2 &pcfg_pull_none>;
28562817 };
28572818
28582819 emmc_rstnout: emmc-rstnout {
....@@ -3065,24 +3026,15 @@
30653026 gmac {
30663027 rmii_pins: rmii-pins {
30673028 rockchip,pins =
3068
- /* mac_txen */
3069
- <2 RK_PA0 2 &pcfg_pull_none_12ma>,
3070
- /* mac_txd1 */
3071
- <2 RK_PA1 2 &pcfg_pull_none_12ma>,
3072
- /* mac_txd0 */
3073
- <2 RK_PA2 2 &pcfg_pull_none_12ma>,
3074
- /* mac_rxd0 */
3075
- <2 RK_PA3 2 &pcfg_pull_none>,
3076
- /* mac_rxd1 */
3077
- <2 RK_PA4 2 &pcfg_pull_none>,
3078
- /* mac_rxer */
3079
- <2 RK_PA5 2 &pcfg_pull_none>,
3080
- /* mac_rxdv */
3081
- <2 RK_PA6 2 &pcfg_pull_none>,
3082
- /* mac_mdio */
3083
- <2 RK_PA7 2 &pcfg_pull_none>,
3084
- /* mac_mdc */
3085
- <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 */
30863038 };
30873039
30883040 mac_refclk_12ma: mac-refclk-12ma {
....@@ -3098,75 +3050,78 @@
30983050
30993051 cif-m0 {
31003052 cif_clkout_m0: cif-clkout-m0 {
3101
- 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 */
31023055 };
31033056
31043057 dvp_d2d9_m0: dvp-d2d9-m0 {
31053058 rockchip,pins =
3106
- <2 RK_PA0 1 &pcfg_pull_none>,/* cif_data2 */
3107
- <2 RK_PA1 1 &pcfg_pull_none>,/* cif_data3 */
3108
- <2 RK_PA2 1 &pcfg_pull_none>,/* cif_data4 */
3109
- <2 RK_PA3 1 &pcfg_pull_none>,/* cif_data5 */
3110
- <2 RK_PA4 1 &pcfg_pull_none>,/* cif_data6 */
3111
- <2 RK_PA5 1 &pcfg_pull_none>,/* cif_data7 */
3112
- <2 RK_PA6 1 &pcfg_pull_none>,/* cif_data8 */
3113
- <2 RK_PA7 1 &pcfg_pull_none>,/* cif_data9 */
3114
- <2 RK_PB0 1 &pcfg_pull_none>,/* cif_sync */
3115
- <2 RK_PB1 1 &pcfg_pull_none>,/* cif_href */
3116
- <2 RK_PB2 1 &pcfg_pull_none>,/* cif_clkin */
3117
- <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 */
31183071 };
31193072
31203073 dvp_d0d1_m0: dvp-d0d1-m0 {
31213074 rockchip,pins =
3122
- <2 RK_PB4 1 &pcfg_pull_none>,/* cif_data0 */
3123
- <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 */
31243077 };
31253078
31263079 dvp_d10d11_m0:d10-d11-m0 {
31273080 rockchip,pins =
3128
- <2 RK_PB7 1 &pcfg_pull_none>,/* cif_data10 */
3129
- <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 */
31303083 };
31313084 };
31323085
31333086 cif-m1 {
31343087 cif_clkout_m1: cif-clkout-m1 {
3135
- rockchip,pins = <3 RK_PD0 3 &pcfg_pull_none>;/* cif_clkout */
3088
+ rockchip,pins =
3089
+ <3 RK_PD0 3 &pcfg_pull_none>;
31363090 };
31373091
31383092 dvp_d2d9_m1: dvp-d2d9-m1 {
31393093 rockchip,pins =
3140
- <3 RK_PA3 3 &pcfg_pull_none>,/* cif_data2 */
3141
- <3 RK_PA5 3 &pcfg_pull_none>,/* cif_data3 */
3142
- <3 RK_PA7 3 &pcfg_pull_none>,/* cif_data4 */
3143
- <3 RK_PB0 3 &pcfg_pull_none>,/* cif_data5 */
3144
- <3 RK_PB1 3 &pcfg_pull_none>,/* cif_data6 */
3145
- <3 RK_PB4 3 &pcfg_pull_none>,/* cif_data7 */
3146
- <3 RK_PB6 3 &pcfg_pull_none>,/* cif_data8 */
3147
- <3 RK_PB7 3 &pcfg_pull_none>,/* cif_data9 */
3148
- <3 RK_PD1 3 &pcfg_pull_none>,/* cif_sync */
3149
- <3 RK_PD2 3 &pcfg_pull_none>,/* cif_href */
3150
- <3 RK_PD3 3 &pcfg_pull_none>,/* cif_clkin */
3151
- <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 */
31523106 };
31533107
31543108 dvp_d0d1_m1: dvp-d0d1-m1 {
31553109 rockchip,pins =
3156
- <3 RK_PA1 3 &pcfg_pull_none>,/* cif_data0 */
3157
- <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 */
31583112 };
31593113
31603114 dvp_d10d11_m1:d10-d11-m1 {
31613115 rockchip,pins =
3162
- <3 RK_PC6 3 &pcfg_pull_none>,/* cif_data10 */
3163
- <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 */
31643118 };
31653119 };
31663120
31673121 isp {
31683122 isp_prelight: isp-prelight {
3169
- rockchip,pins = <3 RK_PD1 4 &pcfg_pull_none>;/* ISP_PRELIGHTTRIG */
3123
+ rockchip,pins =
3124
+ <3 RK_PD1 4 &pcfg_pull_none>;
31703125 };
31713126 };
31723127 };