forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
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>
....@@ -42,6 +41,7 @@
4241 serial5 = &uart5;
4342 spi0 = &spi0;
4443 spi1 = &spi1;
44
+ spi2 = &sfc;
4545 };
4646
4747 cpus {
....@@ -50,39 +50,50 @@
5050
5151 cpu0: cpu@0 {
5252 device_type = "cpu";
53
- compatible = "arm,cortex-a35", "arm,armv8";
53
+ compatible = "arm,cortex-a35";
5454 reg = <0x0 0x0>;
5555 enable-method = "psci";
5656 clocks = <&cru ARMCLK>;
5757 #cooling-cells = <2>;
58
+ cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
5859 dynamic-power-coefficient = <90>;
5960 operating-points-v2 = <&cpu0_opp_table>;
60
- cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
6161 };
6262
6363 cpu1: cpu@1 {
6464 device_type = "cpu";
65
- compatible = "arm,cortex-a35", "arm,armv8";
65
+ compatible = "arm,cortex-a35";
6666 reg = <0x0 0x1>;
6767 enable-method = "psci";
68
- operating-points-v2 = <&cpu0_opp_table>;
68
+ clocks = <&cru ARMCLK>;
69
+ #cooling-cells = <2>;
6970 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
71
+ dynamic-power-coefficient = <90>;
72
+ operating-points-v2 = <&cpu0_opp_table>;
7073 };
74
+
7175 cpu2: cpu@2 {
7276 device_type = "cpu";
73
- compatible = "arm,cortex-a35", "arm,armv8";
77
+ compatible = "arm,cortex-a35";
7478 reg = <0x0 0x2>;
7579 enable-method = "psci";
76
- operating-points-v2 = <&cpu0_opp_table>;
80
+ clocks = <&cru ARMCLK>;
81
+ #cooling-cells = <2>;
7782 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
83
+ dynamic-power-coefficient = <90>;
84
+ operating-points-v2 = <&cpu0_opp_table>;
7885 };
86
+
7987 cpu3: cpu@3 {
8088 device_type = "cpu";
81
- compatible = "arm,cortex-a35", "arm,armv8";
89
+ compatible = "arm,cortex-a35";
8290 reg = <0x0 0x3>;
8391 enable-method = "psci";
84
- operating-points-v2 = <&cpu0_opp_table>;
92
+ clocks = <&cru ARMCLK>;
93
+ #cooling-cells = <2>;
8594 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
95
+ dynamic-power-coefficient = <90>;
96
+ operating-points-v2 = <&cpu0_opp_table>;
8697 };
8798
8899 idle-states {
....@@ -335,12 +346,34 @@
335346 };
336347
337348 arm-pmu {
338
- compatible = "arm,cortex-a53-pmu";
349
+ compatible = "arm,cortex-a35-pmu";
339350 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
340351 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
341352 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
342353 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
343354 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
355
+ };
356
+
357
+ bus_soc: bus-soc {
358
+ compatible = "rockchip,px30-bus";
359
+ rockchip,busfreq-policy = "autocs";
360
+ soc-bus0 {
361
+ bus-id = <0>;
362
+ timer-us = <20>;
363
+ enable-msk = <0x40f7>;
364
+ };
365
+ soc-bus1 {
366
+ bus-id = <1>;
367
+ timer-us = <200>;
368
+ enable-msk = <0x40bf>;
369
+ status = "disabled";
370
+ };
371
+ soc-bus2 {
372
+ bus-id = <2>;
373
+ timer-us = <200>;
374
+ enable-msk = <0x4007>;
375
+ status = "disabled";
376
+ };
344377 };
345378
346379 bus_apll: bus-apll {
....@@ -368,7 +401,7 @@
368401
369402 cpuinfo {
370403 compatible = "rockchip,cpuinfo";
371
- nvmem-cells = <&otp_id>;
404
+ nvmem-cells = <&cpu_id>;
372405 nvmem-cell-names = "id";
373406 };
374407
....@@ -445,6 +478,55 @@
445478 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
446479 };
447480
481
+ thermal_zones: thermal-zones {
482
+ soc_thermal: soc-thermal {
483
+ polling-delay-passive = <20>;
484
+ polling-delay = <1000>;
485
+ sustainable-power = <750>;
486
+ thermal-sensors = <&tsadc 0>;
487
+
488
+ trips {
489
+ threshold: trip-point-0 {
490
+ temperature = <70000>;
491
+ hysteresis = <2000>;
492
+ type = "passive";
493
+ };
494
+
495
+ target: trip-point-1 {
496
+ temperature = <85000>;
497
+ hysteresis = <2000>;
498
+ type = "passive";
499
+ };
500
+
501
+ soc_crit: soc-crit {
502
+ temperature = <115000>;
503
+ hysteresis = <2000>;
504
+ type = "critical";
505
+ };
506
+ };
507
+
508
+ cooling-maps {
509
+ map0 {
510
+ trip = <&target>;
511
+ cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
512
+ contribution = <4096>;
513
+ };
514
+
515
+ map1 {
516
+ trip = <&target>;
517
+ cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
518
+ contribution = <4096>;
519
+ };
520
+ };
521
+ };
522
+
523
+ gpu_thermal: gpu-thermal {
524
+ polling-delay-passive = <100>; /* milliseconds */
525
+ polling-delay = <1000>; /* milliseconds */
526
+ thermal-sensors = <&tsadc 1>;
527
+ };
528
+ };
529
+
448530 xin24m: xin24m {
449531 compatible = "fixed-clock";
450532 #clock-cells = <0>;
....@@ -475,20 +557,20 @@
475557 #size-cells = <0>;
476558
477559 /* These power domains are grouped by VD_LOGIC */
478
- pd_usb@PX30_PD_USB {
560
+ power-domain@PX30_PD_USB {
479561 reg = <PX30_PD_USB>;
480562 clocks = <&cru HCLK_HOST>,
481563 <&cru HCLK_OTG>,
482564 <&cru SCLK_OTG_ADP>;
483565 pm_qos = <&qos_usb_host>, <&qos_usb_otg>;
484566 };
485
- pd_sdcard@PX30_PD_SDCARD {
567
+ power-domain@PX30_PD_SDCARD {
486568 reg = <PX30_PD_SDCARD>;
487569 clocks = <&cru HCLK_SDMMC>,
488570 <&cru SCLK_SDMMC>;
489571 pm_qos = <&qos_sdmmc>;
490572 };
491
- pd_gmac@PX30_PD_GMAC {
573
+ power-domain@PX30_PD_GMAC {
492574 reg = <PX30_PD_GMAC>;
493575 clocks = <&cru ACLK_GMAC>,
494576 <&cru PCLK_GMAC>,
....@@ -496,7 +578,7 @@
496578 <&cru SCLK_GMAC_RX_TX>;
497579 pm_qos = <&qos_gmac>;
498580 };
499
- pd_mmc_nand@PX30_PD_MMC_NAND {
581
+ power-domain@PX30_PD_MMC_NAND {
500582 reg = <PX30_PD_MMC_NAND>;
501583 clocks = <&cru HCLK_NANDC>,
502584 <&cru HCLK_EMMC>,
....@@ -509,14 +591,14 @@
509591 pm_qos = <&qos_emmc>, <&qos_nand>,
510592 <&qos_sdio>, <&qos_sfc>;
511593 };
512
- pd_vpu@PX30_PD_VPU {
594
+ power-domain@PX30_PD_VPU {
513595 reg = <PX30_PD_VPU>;
514596 clocks = <&cru ACLK_VPU>,
515597 <&cru HCLK_VPU>,
516598 <&cru SCLK_CORE_VPU>;
517599 pm_qos = <&qos_vpu>, <&qos_vpu_r128>;
518600 };
519
- pd_vo@PX30_PD_VO {
601
+ power-domain@PX30_PD_VO {
520602 reg = <PX30_PD_VO>;
521603 clocks = <&cru ACLK_RGA>,
522604 <&cru ACLK_VOPB>,
....@@ -532,7 +614,7 @@
532614 pm_qos = <&qos_rga_rd>, <&qos_rga_wr>,
533615 <&qos_vop_m0>, <&qos_vop_m1>;
534616 };
535
- pd_vi@PX30_PD_VI {
617
+ power-domain@PX30_PD_VI {
536618 reg = <PX30_PD_VI>;
537619 clocks = <&cru ACLK_CIF>,
538620 <&cru ACLK_ISP>,
....@@ -543,7 +625,7 @@
543625 <&qos_isp_wr>, <&qos_isp_m1>,
544626 <&qos_vip>;
545627 };
546
- pd_gpu@PX30_PD_GPU {
628
+ power-domain@PX30_PD_GPU {
547629 reg = <PX30_PD_GPU>;
548630 clocks = <&cru SCLK_GPU>;
549631 pm_qos = <&qos_gpu>;
....@@ -566,12 +648,10 @@
566648 compatible = "syscon-reboot-mode";
567649 offset = <0x200>;
568650 mode-bootloader = <BOOT_BL_DOWNLOAD>;
569
- mode-charge = <BOOT_CHARGING>;
570651 mode-fastboot = <BOOT_FASTBOOT>;
571652 mode-loader = <BOOT_BL_DOWNLOAD>;
572653 mode-normal = <BOOT_NORMAL>;
573654 mode-recovery = <BOOT_RECOVERY>;
574
- mode-ums = <BOOT_UMS>;
575655 };
576656
577657 pmu_pvtm: pmu-pvtm {
....@@ -594,9 +674,11 @@
594674 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
595675 clocks = <&pmucru SCLK_UART0_PMU>, <&pmucru PCLK_UART0_PMU>;
596676 clock-names = "baudclk", "apb_pclk";
677
+ dmas = <&dmac 0>, <&dmac 1>;
678
+ /*You can add it to enable dma*/
679
+ /*dma-names = "tx", "rx";*/
597680 reg-shift = <2>;
598681 reg-io-width = <4>;
599
- dmas = <&dmac 0>, <&dmac 1>;
600682 pinctrl-names = "default";
601683 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
602684 status = "disabled";
....@@ -638,13 +720,10 @@
638720 clock-names = "i2s_clk", "i2s_hclk";
639721 dmas = <&dmac 18>, <&dmac 19>;
640722 dma-names = "tx", "rx";
641
- resets = <&cru SRST_I2S1>, <&cru SRST_I2S1_H>;
642
- reset-names = "reset-m", "reset-h";
643723 pinctrl-names = "default";
644
- pinctrl-0 = <&i2s1_2ch_sclk
645
- &i2s1_2ch_lrck
646
- &i2s1_2ch_sdi
647
- &i2s1_2ch_sdo>;
724
+ pinctrl-0 = <&i2s1_2ch_sclk &i2s1_2ch_lrck
725
+ &i2s1_2ch_sdi &i2s1_2ch_sdo>;
726
+ #sound-dai-cells = <0>;
648727 status = "disabled";
649728 };
650729
....@@ -656,32 +735,10 @@
656735 clock-names = "i2s_clk", "i2s_hclk";
657736 dmas = <&dmac 20>, <&dmac 21>;
658737 dma-names = "tx", "rx";
659
- resets = <&cru SRST_I2S2>, <&cru SRST_I2S2_H>;
660
- reset-names = "reset-m", "reset-h";
661738 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>;
739
+ pinctrl-0 = <&i2s2_2ch_sclk &i2s2_2ch_lrck
740
+ &i2s2_2ch_sdi &i2s2_2ch_sdo>;
741
+ #sound-dai-cells = <0>;
685742 status = "disabled";
686743 };
687744
....@@ -690,7 +747,7 @@
690747 reg = <0x0 0xff0b0000 0x0 0x400>, <0x0 0xff0b0480 0x0 0x3B80>;
691748 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
692749 clocks = <&cru ACLK_CRYPTO >, <&cru HCLK_CRYPTO >,
693
- <&cru SCLK_CRYPTO>, <&cru SCLK_CRYPTO_APK>;
750
+ <&cru SCLK_CRYPTO>, <&cru SCLK_CRYPTO_APK>;
694751 clock-names = "aclk", "hclk", "sclk", "apb_pclk";
695752 resets = <&cru SRST_CRYPTO>;
696753 reset-names = "crypto-rst";
....@@ -701,13 +758,13 @@
701758 compatible = "rockchip,cryptov2-rng";
702759 reg = <0x0 0xff0b0400 0x0 0x80>;
703760 clocks = <&cru SCLK_CRYPTO>, <&cru SCLK_CRYPTO_APK>,
704
- <&cru ACLK_CRYPTO>, <&cru HCLK_CRYPTO>;
761
+ <&cru ACLK_CRYPTO>, <&cru HCLK_CRYPTO>;
705762 clock-names = "clk_crypto", "clk_crypto_apk",
706
- "aclk_crypto", "hclk_crypto";
763
+ "aclk_crypto", "hclk_crypto";
707764 assigned-clocks = <&cru SCLK_CRYPTO>, <&cru SCLK_CRYPTO_APK>,
708
- <&cru ACLK_CRYPTO>, <&cru HCLK_CRYPTO>;
765
+ <&cru ACLK_CRYPTO>, <&cru HCLK_CRYPTO>;
709766 assigned-clock-rates = <150000000>, <150000000>,
710
- <200000000>, <200000000>;
767
+ <200000000>, <200000000>;
711768 resets = <&cru SRST_CRYPTO>;
712769 reset-names = "reset";
713770 status = "disabled";
....@@ -752,12 +809,12 @@
752809 #address-cells = <1>;
753810 #size-cells = <0>;
754811
755
- lvds_in_vopb: endpoint@0 {
812
+ lvds_vopb_in: endpoint@0 {
756813 reg = <0>;
757814 remote-endpoint = <&vopb_out_lvds>;
758815 };
759816
760
- lvds_in_vopl: endpoint@1 {
817
+ lvds_vopl_in: endpoint@1 {
761818 reg = <1>;
762819 remote-endpoint = <&vopl_out_lvds>;
763820 };
....@@ -821,9 +878,11 @@
821878 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
822879 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
823880 clock-names = "baudclk", "apb_pclk";
881
+ dmas = <&dmac 2>, <&dmac 3>;
882
+ /*You can add it to enable dma*/
883
+ /*dma-names = "tx", "rx";*/
824884 reg-shift = <2>;
825885 reg-io-width = <4>;
826
- dmas = <&dmac 2>, <&dmac 3>;
827886 pinctrl-names = "default";
828887 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
829888 status = "disabled";
....@@ -835,9 +894,11 @@
835894 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
836895 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
837896 clock-names = "baudclk", "apb_pclk";
897
+ dmas = <&dmac 4>, <&dmac 5>;
898
+ /*You can add it to enable dma*/
899
+ /*dma-names = "tx", "rx";*/
838900 reg-shift = <2>;
839901 reg-io-width = <4>;
840
- dmas = <&dmac 4>, <&dmac 5>;
841902 pinctrl-names = "default";
842903 pinctrl-0 = <&uart2m0_xfer>;
843904 status = "disabled";
....@@ -849,9 +910,11 @@
849910 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
850911 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
851912 clock-names = "baudclk", "apb_pclk";
913
+ dmas = <&dmac 6>, <&dmac 7>;
914
+ /*You can add it to enable dma*/
915
+ /*dma-names = "tx", "rx";*/
852916 reg-shift = <2>;
853917 reg-io-width = <4>;
854
- dmas = <&dmac 6>, <&dmac 7>;
855918 pinctrl-names = "default";
856919 pinctrl-0 = <&uart3m1_xfer &uart3m1_cts &uart3m1_rts>;
857920 status = "disabled";
....@@ -863,9 +926,11 @@
863926 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
864927 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
865928 clock-names = "baudclk", "apb_pclk";
929
+ dmas = <&dmac 8>, <&dmac 9>;
930
+ /*You can add it to enable dma*/
931
+ /*dma-names = "tx", "rx";*/
866932 reg-shift = <2>;
867933 reg-io-width = <4>;
868
- dmas = <&dmac 8>, <&dmac 9>;
869934 pinctrl-names = "default";
870935 pinctrl-0 = <&uart4_xfer &uart4_cts &uart4_rts>;
871936 status = "disabled";
....@@ -877,16 +942,18 @@
877942 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
878943 clocks = <&cru SCLK_UART5>, <&cru PCLK_UART5>;
879944 clock-names = "baudclk", "apb_pclk";
945
+ dmas = <&dmac 10>, <&dmac 11>;
946
+ /*You can add it to enable dma*/
947
+ /*dma-names = "tx", "rx";*/
880948 reg-shift = <2>;
881949 reg-io-width = <4>;
882
- dmas = <&dmac 10>, <&dmac 11>;
883950 pinctrl-names = "default";
884951 pinctrl-0 = <&uart5_xfer &uart5_cts &uart5_rts>;
885952 status = "disabled";
886953 };
887954
888955 i2c0: i2c@ff180000 {
889
- compatible = "rockchip,rk3399-i2c";
956
+ compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
890957 reg = <0x0 0xff180000 0x0 0x1000>;
891958 clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
892959 clock-names = "i2c", "pclk";
....@@ -899,7 +966,7 @@
899966 };
900967
901968 i2c1: i2c@ff190000 {
902
- compatible = "rockchip,rk3399-i2c";
969
+ compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
903970 reg = <0x0 0xff190000 0x0 0x1000>;
904971 clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
905972 clock-names = "i2c", "pclk";
....@@ -912,7 +979,7 @@
912979 };
913980
914981 i2c2: i2c@ff1a0000 {
915
- compatible = "rockchip,rk3399-i2c";
982
+ compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
916983 reg = <0x0 0xff1a0000 0x0 0x1000>;
917984 clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
918985 clock-names = "i2c", "pclk";
....@@ -925,7 +992,7 @@
925992 };
926993
927994 i2c3: i2c@ff1b0000 {
928
- compatible = "rockchip,rk3399-i2c";
995
+ compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
929996 reg = <0x0 0xff1b0000 0x0 0x1000>;
930997 clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
931998 clock-names = "i2c", "pclk";
....@@ -941,15 +1008,14 @@
9411008 compatible = "rockchip,px30-spi", "rockchip,rk3066-spi";
9421009 reg = <0x0 0xff1d0000 0x0 0x1000>;
9431010 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
944
- #address-cells = <1>;
945
- #size-cells = <0>;
9461011 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
9471012 clock-names = "spiclk", "apb_pclk";
9481013 dmas = <&dmac 12>, <&dmac 13>;
9491014 dma-names = "tx", "rx";
950
- pinctrl-names = "default", "high_speed";
1015
+ pinctrl-names = "default";
9511016 pinctrl-0 = <&spi0_clk &spi0_csn &spi0_miso &spi0_mosi>;
952
- pinctrl-1 = <&spi0_clk_hs &spi0_csn &spi0_miso_hs &spi0_mosi_hs>;
1017
+ #address-cells = <1>;
1018
+ #size-cells = <0>;
9531019 status = "disabled";
9541020 };
9551021
....@@ -957,15 +1023,14 @@
9571023 compatible = "rockchip,px30-spi", "rockchip,rk3066-spi";
9581024 reg = <0x0 0xff1d8000 0x0 0x1000>;
9591025 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
960
- #address-cells = <1>;
961
- #size-cells = <0>;
9621026 clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
9631027 clock-names = "spiclk", "apb_pclk";
9641028 dmas = <&dmac 14>, <&dmac 15>;
9651029 dma-names = "tx", "rx";
966
- pinctrl-names = "default", "high_speed";
1030
+ pinctrl-names = "default";
9671031 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>;
1032
+ #address-cells = <1>;
1033
+ #size-cells = <0>;
9691034 status = "disabled";
9701035 };
9711036
....@@ -974,118 +1039,106 @@
9741039 reg = <0x0 0xff1e0000 0x0 0x100>;
9751040 clocks = <&cru PCLK_WDT_NS>;
9761041 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
977
- resets = <&cru SRST_WDT_NS_P>;
978
- reset-names = "reset";
9791042 status = "disabled";
9801043 };
9811044
9821045 pwm0: pwm@ff200000 {
9831046 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
9841047 reg = <0x0 0xff200000 0x0 0x10>;
985
- interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
986
- #pwm-cells = <3>;
987
- pinctrl-names = "active";
988
- pinctrl-0 = <&pwm0_pin>;
9891048 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
9901049 clock-names = "pwm", "pclk";
1050
+ pinctrl-names = "active";
1051
+ pinctrl-0 = <&pwm0_pin>;
1052
+ #pwm-cells = <3>;
9911053 status = "disabled";
9921054 };
9931055
9941056 pwm1: pwm@ff200010 {
9951057 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
9961058 reg = <0x0 0xff200010 0x0 0x10>;
997
- interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
998
- #pwm-cells = <3>;
999
- pinctrl-names = "active";
1000
- pinctrl-0 = <&pwm1_pin>;
10011059 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
10021060 clock-names = "pwm", "pclk";
1061
+ pinctrl-names = "active";
1062
+ pinctrl-0 = <&pwm1_pin>;
1063
+ #pwm-cells = <3>;
10031064 status = "disabled";
10041065 };
10051066
10061067 pwm2: pwm@ff200020 {
10071068 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10081069 reg = <0x0 0xff200020 0x0 0x10>;
1009
- interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
1010
- #pwm-cells = <3>;
1011
- pinctrl-names = "active";
1012
- pinctrl-0 = <&pwm2_pin>;
10131070 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
10141071 clock-names = "pwm", "pclk";
1072
+ pinctrl-names = "active";
1073
+ pinctrl-0 = <&pwm2_pin>;
1074
+ #pwm-cells = <3>;
10151075 status = "disabled";
10161076 };
10171077
10181078 pwm3: pwm@ff200030 {
10191079 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10201080 reg = <0x0 0xff200030 0x0 0x10>;
1021
- interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
1022
- <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
1023
- #pwm-cells = <3>;
1024
- pinctrl-names = "active";
1025
- pinctrl-0 = <&pwm3_pin>;
10261081 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
10271082 clock-names = "pwm", "pclk";
1083
+ pinctrl-names = "active";
1084
+ pinctrl-0 = <&pwm3_pin>;
1085
+ #pwm-cells = <3>;
10281086 status = "disabled";
10291087 };
10301088
10311089 pwm4: pwm@ff208000 {
10321090 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10331091 reg = <0x0 0xff208000 0x0 0x10>;
1034
- interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
1035
- #pwm-cells = <3>;
1036
- pinctrl-names = "active";
1037
- pinctrl-0 = <&pwm4_pin>;
10381092 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
10391093 clock-names = "pwm", "pclk";
1094
+ pinctrl-names = "active";
1095
+ pinctrl-0 = <&pwm4_pin>;
1096
+ #pwm-cells = <3>;
10401097 status = "disabled";
10411098 };
10421099
10431100 pwm5: pwm@ff208010 {
10441101 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10451102 reg = <0x0 0xff208010 0x0 0x10>;
1046
- interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
1047
- #pwm-cells = <3>;
1048
- pinctrl-names = "active";
1049
- pinctrl-0 = <&pwm5_pin>;
10501103 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
10511104 clock-names = "pwm", "pclk";
1105
+ pinctrl-names = "active";
1106
+ pinctrl-0 = <&pwm5_pin>;
1107
+ #pwm-cells = <3>;
10521108 status = "disabled";
10531109 };
10541110
10551111 pwm6: pwm@ff208020 {
10561112 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10571113 reg = <0x0 0xff208020 0x0 0x10>;
1058
- interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
1059
- #pwm-cells = <3>;
1060
- pinctrl-names = "active";
1061
- pinctrl-0 = <&pwm6_pin>;
10621114 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
10631115 clock-names = "pwm", "pclk";
1116
+ pinctrl-names = "active";
1117
+ pinctrl-0 = <&pwm6_pin>;
1118
+ #pwm-cells = <3>;
10641119 status = "disabled";
10651120 };
10661121
10671122 pwm7: pwm@ff208030 {
10681123 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10691124 reg = <0x0 0xff208030 0x0 0x10>;
1070
- interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
1071
- <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
1072
- #pwm-cells = <3>;
1073
- pinctrl-names = "active";
1074
- pinctrl-0 = <&pwm7_pin>;
10751125 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
10761126 clock-names = "pwm", "pclk";
1127
+ pinctrl-names = "active";
1128
+ pinctrl-0 = <&pwm7_pin>;
1129
+ #pwm-cells = <3>;
10771130 status = "disabled";
10781131 };
10791132
1080
- rktimer: rktimer@ff210000 {
1081
- compatible = "rockchip,rk3288-timer";
1133
+ rktimer: timer@ff210000 {
1134
+ compatible = "rockchip,px30-timer", "rockchip,rk3288-timer";
10821135 reg = <0x0 0xff210000 0x0 0x1000>;
10831136 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
10841137 clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
10851138 clock-names = "pclk", "timer";
10861139 };
10871140
1088
- amba {
1141
+ amba: bus {
10891142 compatible = "simple-bus";
10901143 #address-cells = <2>;
10911144 #size-cells = <2>;
....@@ -1096,59 +1149,10 @@
10961149 reg = <0x0 0xff240000 0x0 0x4000>;
10971150 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
10981151 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
1152
+ arm,pl330-periph-burst;
10991153 clocks = <&cru ACLK_DMAC>;
11001154 clock-names = "apb_pclk";
11011155 #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>;
11521156 };
11531157 };
11541158
....@@ -1156,15 +1160,19 @@
11561160 compatible = "rockchip,px30-tsadc";
11571161 reg = <0x0 0xff280000 0x0 0x100>;
11581162 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";
11621163 assigned-clocks = <&cru SCLK_TSADC>;
11631164 assigned-clock-rates = <50000>;
1165
+ clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
1166
+ clock-names = "tsadc", "apb_pclk";
11641167 resets = <&cru SRST_TSADC>;
11651168 reset-names = "tsadc-apb";
1166
- #thermal-sensor-cells = <1>;
1169
+ rockchip,grf = <&grf>;
11671170 rockchip,hw-tshut-temp = <120000>;
1171
+ pinctrl-names = "init", "default", "sleep";
1172
+ pinctrl-0 = <&tsadc_otp_pin>;
1173
+ pinctrl-1 = <&tsadc_otp_out>;
1174
+ pinctrl-2 = <&tsadc_otp_pin>;
1175
+ #thermal-sensor-cells = <1>;
11681176 status = "disabled";
11691177 };
11701178
....@@ -1180,19 +1188,19 @@
11801188 status = "disabled";
11811189 };
11821190
1183
- otp: otp@ff290000 {
1191
+ otp: nvmem@ff290000 {
11841192 compatible = "rockchip,px30-otp";
11851193 reg = <0x0 0xff290000 0x0 0x4000>;
1186
- #address-cells = <1>;
1187
- #size-cells = <1>;
11881194 clocks = <&cru SCLK_OTP_USR>, <&cru PCLK_OTP_NS>,
11891195 <&cru PCLK_OTP_PHY>;
11901196 clock-names = "otp", "apb_pclk", "phy";
11911197 resets = <&cru SRST_OTP_PHY>;
1192
- reset-names = "otp_phy";
1198
+ reset-names = "phy";
1199
+ #address-cells = <1>;
1200
+ #size-cells = <1>;
11931201
11941202 /* Data cells */
1195
- otp_id: id@7 {
1203
+ cpu_id: id@7 {
11961204 reg = <0x07 0x10>;
11971205 };
11981206 cpu_leakage: cpu-leakage@17 {
....@@ -1208,27 +1216,14 @@
12081216 compatible = "rockchip,px30-cru";
12091217 reg = <0x0 0xff2b0000 0x0 0x1000>;
12101218 rockchip,grf = <&grf>;
1211
- rockchip,boost = <&cpu_boost>;
12121219 #clock-cells = <1>;
12131220 #reset-cells = <1>;
1221
+
1222
+ assigned-clocks = <&cru PLL_NPLL>;
1223
+ assigned-clock-rates = <1188000000>;
12141224 };
12151225
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 {
1226
+ pmucru: clock-controller@ff2bc000 {
12321227 compatible = "rockchip,px30-pmucru";
12331228 reg = <0x0 0xff2bc000 0x0 0x1000>;
12341229 rockchip,grf = <&grf>;
....@@ -1257,9 +1252,8 @@
12571252 #size-cells = <1>;
12581253
12591254 u2phy: usb2-phy@100 {
1260
- compatible = "rockchip,px30-usb2phy",
1261
- "rockchip,rk3328-usb2phy";
1262
- reg = <0x100 0x10>;
1255
+ compatible = "rockchip,px30-usb2phy";
1256
+ reg = <0x100 0x20>;
12631257 clocks = <&pmucru SCLK_USBPHY_REF>;
12641258 clock-names = "phyclk";
12651259 #clock-cells = <0>;
....@@ -1287,18 +1281,18 @@
12871281 };
12881282 };
12891283
1290
- video_phy: video-phy@ff2e0000 {
1291
- compatible = "rockchip,px30-video-phy";
1284
+ video_phy: dsi_dphy: phy@ff2e0000 {
1285
+ compatible = "rockchip,px30-dsi-dphy", "rockchip,px30-video-phy";
12921286 reg = <0x0 0xff2e0000 0x0 0x10000>,
12931287 <0x0 0xff450000 0x0 0x10000>;
1288
+ reg-names = "phy", "host";
12941289 clocks = <&pmucru SCLK_MIPIDSIPHY_REF>,
12951290 <&cru PCLK_MIPIDSIPHY>, <&cru PCLK_MIPI_DSI>;
1296
- clock-names = "ref", "pclk_phy", "pclk_host";
1297
- #clock-cells = <0>;
1291
+ clock-names = "ref", "pclk", "pclk_host";
12981292 resets = <&cru SRST_MIPIDSIPHY_P>;
1299
- reset-names = "rst";
1300
- power-domains = <&power PX30_PD_VO>;
1293
+ reset-names = "apb";
13011294 #phy-cells = <0>;
1295
+ power-domains = <&power PX30_PD_VO>;
13021296 status = "disabled";
13031297 };
13041298
....@@ -1319,14 +1313,13 @@
13191313 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
13201314 clocks = <&cru HCLK_OTG>;
13211315 clock-names = "otg";
1322
- power-domains = <&power PX30_PD_USB>;
13231316 dr_mode = "otg";
13241317 g-np-tx-fifo-size = <16>;
13251318 g-rx-fifo-size = <280>;
13261319 g-tx-fifo-size = <256 128 128 64 32 16>;
1327
- g-use-dma;
13281320 phys = <&u2phy_otg>;
13291321 phy-names = "usb2-phy";
1322
+ power-domains = <&power PX30_PD_USB>;
13301323 status = "disabled";
13311324 };
13321325
....@@ -1336,9 +1329,9 @@
13361329 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
13371330 clocks = <&cru HCLK_HOST>, <&u2phy>;
13381331 clock-names = "usbhost", "utmi";
1339
- power-domains = <&power PX30_PD_USB>;
13401332 phys = <&u2phy_host>;
13411333 phy-names = "usb";
1334
+ power-domains = <&power PX30_PD_USB>;
13421335 status = "disabled";
13431336 };
13441337
....@@ -1348,16 +1341,15 @@
13481341 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
13491342 clocks = <&cru HCLK_HOST>, <&u2phy>;
13501343 clock-names = "usbhost", "utmi";
1351
- power-domains = <&power PX30_PD_USB>;
13521344 phys = <&u2phy_host>;
13531345 phy-names = "usb";
1346
+ power-domains = <&power PX30_PD_USB>;
13541347 status = "disabled";
13551348 };
13561349
13571350 gmac: ethernet@ff360000 {
13581351 compatible = "rockchip,px30-gmac";
13591352 reg = <0x0 0xff360000 0x0 0x10000>;
1360
- rockchip,grf = <&grf>;
13611353 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
13621354 interrupt-names = "macirq";
13631355 clocks = <&cru SCLK_GMAC>, <&cru SCLK_GMAC_RX_TX>,
....@@ -1368,61 +1360,72 @@
13681360 "mac_clk_tx", "clk_mac_ref",
13691361 "clk_mac_refout", "aclk_mac",
13701362 "pclk_mac", "clk_mac_speed";
1363
+ rockchip,grf = <&grf>;
13711364 phy-mode = "rmii";
13721365 pinctrl-names = "default";
13731366 pinctrl-0 = <&rmii_pins &mac_refclk_12ma>;
1367
+ power-domains = <&power PX30_PD_GMAC>;
13741368 resets = <&cru SRST_GMAC_A>;
13751369 reset-names = "stmmaceth";
1376
- power-domains = <&power PX30_PD_GMAC>;
13771370 status = "disabled";
13781371 };
13791372
13801373 sdmmc: dwmmc@ff370000 {
13811374 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
13821375 reg = <0x0 0xff370000 0x0 0x4000>;
1383
- max-frequency = <150000000>;
1376
+ interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
13841377 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
13851378 <&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>;
1379
+ clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1380
+ bus-width = <4>;
13901381 fifo-depth = <0x100>;
1391
- interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
1382
+ max-frequency = <150000000>;
13921383 pinctrl-names = "default";
13931384 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>;
1385
+ power-domains = <&power PX30_PD_SDCARD>;
13941386 status = "disabled";
13951387 };
13961388
13971389 sdio: dwmmc@ff380000 {
13981390 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
13991391 reg = <0x0 0xff380000 0x0 0x4000>;
1400
- max-frequency = <150000000>;
1392
+ interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
14011393 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
14021394 <&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>;
1395
+ clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1396
+ bus-width = <4>;
14071397 fifo-depth = <0x100>;
1408
- interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
1398
+ max-frequency = <150000000>;
14091399 pinctrl-names = "default";
14101400 pinctrl-0 = <&sdio_bus4 &sdio_cmd &sdio_clk>;
1401
+ power-domains = <&power PX30_PD_MMC_NAND>;
14111402 status = "disabled";
14121403 };
14131404
14141405 emmc: dwmmc@ff390000 {
14151406 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
14161407 reg = <0x0 0xff390000 0x0 0x4000>;
1417
- max-frequency = <150000000>;
1408
+ interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
14181409 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
14191410 <&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>;
1411
+ clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1412
+ bus-width = <8>;
14241413 fifo-depth = <0x100>;
1425
- interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
1414
+ max-frequency = <150000000>;
1415
+ pinctrl-names = "default";
1416
+ pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
1417
+ power-domains = <&power PX30_PD_MMC_NAND>;
1418
+ status = "disabled";
1419
+ };
1420
+
1421
+ sfc: spi@ff3a0000 {
1422
+ compatible = "rockchip,sfc";
1423
+ reg = <0x0 0xff3a0000 0x0 0x4000>;
1424
+ interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
1425
+ clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
1426
+ clock-names = "clk_sfc", "hclk_sfc";
1427
+ assigned-clocks = <&cru SCLK_SFC>;
1428
+ assigned-clock-rates = <100000000>;
14261429 status = "disabled";
14271430 };
14281431
....@@ -1440,23 +1443,18 @@
14401443 };
14411444
14421445 gpu: gpu@ff400000 {
1443
- compatible = "arm,mali-bifrost";
1446
+ compatible = "rockchip,px30-mali", "arm,mali-bifrost";
14441447 reg = <0x0 0xff400000 0x0 0x4000>;
1445
-
14461448 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
14471449 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
14481450 <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
14491451 interrupt-names = "GPU", "MMU", "JOB";
1450
-
1452
+ clocks = <&cru SCLK_GPU>;
1453
+ #cooling-cells = <2>;
1454
+ power-domains = <&power PX30_PD_GPU>;
1455
+ operating-points-v2 = <&gpu_opp_table>;
14511456 upthreshold = <40>;
14521457 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
-
14601458 status = "disabled";
14611459 power_model {
14621460 compatible = "arm,mali-simple-power-model";
....@@ -1465,7 +1463,6 @@
14651463 ts = <32000 4700 (-80) 2>;
14661464 thermal-zone = "gpu-thermal";
14671465 };
1468
-
14691466 };
14701467
14711468 gpu_opp_table: gpu-opp-table {
....@@ -1596,6 +1593,7 @@
15961593 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
15971594 clock-names = "aclk", "iface";
15981595 power-domains = <&power PX30_PD_VPU>;
1596
+ rockchip,shootdown-entire;
15991597 #iommu-cells = <0>;
16001598 status = "disabled";
16011599 };
....@@ -1625,10 +1623,11 @@
16251623 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>, <&cru SCLK_CORE_VPU>;
16261624 clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core";
16271625 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>;
1626
+ <&cru SRST_VPU_NIU_A>, <&cru SRST_VPU_NIU_H>,
1627
+ <&cru SRST_VPU_CORE>;
16301628 reset-names = "shared_video_a", "shared_video_h",
1631
- "niu_a", "niu_h", "video_core";
1629
+ "niu_a", "niu_h",
1630
+ "video_core";
16321631 iommus = <&hevc_mmu>;
16331632 rockchip,srv = <&mpp_srv>;
16341633 rockchip,taskqueue-node = <0>;
....@@ -1645,6 +1644,7 @@
16451644 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
16461645 clock-names = "aclk", "iface";
16471646 power-domains = <&power PX30_PD_VPU>;
1647
+ rockchip,shootdown-entire;
16481648 #iommu-cells = <0>;
16491649 status = "disabled";
16501650 };
....@@ -1653,13 +1653,13 @@
16531653 compatible = "rockchip,px30-mipi-dsi";
16541654 reg = <0x0 0xff450000 0x0 0x10000>;
16551655 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
1656
- clocks = <&cru PCLK_MIPI_DSI>, <&video_phy>;
1657
- clock-names = "pclk", "hs_clk";
1656
+ clocks = <&cru PCLK_MIPI_DSI>;
1657
+ clock-names = "pclk";
1658
+ phys = <&video_phy>;
1659
+ phy-names = "dphy";
1660
+ power-domains = <&power PX30_PD_VO>;
16581661 resets = <&cru SRST_MIPIDSI_HOST_P>;
16591662 reset-names = "apb";
1660
- phys = <&video_phy>;
1661
- phy-names = "mipi_dphy";
1662
- power-domains = <&power PX30_PD_VO>;
16631663 rockchip,grf = <&grf>;
16641664 #address-cells = <1>;
16651665 #size-cells = <0>;
....@@ -1696,22 +1696,24 @@
16961696 clocks = <&cru ACLK_VOPB>, <&cru DCLK_VOPB>,
16971697 <&cru HCLK_VOPB>;
16981698 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1699
- power-domains = <&power PX30_PD_VO>;
1699
+ resets = <&cru SRST_VOPB_A>, <&cru SRST_VOPB_H>, <&cru SRST_VOPB>;
1700
+ reset-names = "axi", "ahb", "dclk";
17001701 iommus = <&vopb_mmu>;
1702
+ power-domains = <&power PX30_PD_VO>;
17011703 status = "disabled";
17021704
17031705 vopb_out: port {
17041706 #address-cells = <1>;
17051707 #size-cells = <0>;
17061708
1707
- vopb_out_lvds: endpoint@0 {
1709
+ vopb_out_dsi: endpoint@0 {
17081710 reg = <0>;
1709
- remote-endpoint = <&lvds_in_vopb>;
1711
+ remote-endpoint = <&dsi_in_vopb>;
17101712 };
17111713
1712
- vopb_out_dsi: endpoint@1 {
1714
+ vopb_out_lvds: endpoint@1 {
17131715 reg = <1>;
1714
- remote-endpoint = <&dsi_in_vopb>;
1716
+ remote-endpoint = <&lvds_vopb_in>;
17151717 };
17161718
17171719 vopb_out_rgb: endpoint@2 {
....@@ -1743,22 +1745,24 @@
17431745 clocks = <&cru ACLK_VOPL>, <&cru DCLK_VOPL>,
17441746 <&cru HCLK_VOPL>;
17451747 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1746
- power-domains = <&power PX30_PD_VO>;
1748
+ resets = <&cru SRST_VOPL_A>, <&cru SRST_VOPL_H>, <&cru SRST_VOPL>;
1749
+ reset-names = "axi", "ahb", "dclk";
17471750 iommus = <&vopl_mmu>;
1751
+ power-domains = <&power PX30_PD_VO>;
17481752 status = "disabled";
17491753
17501754 vopl_out: port {
17511755 #address-cells = <1>;
17521756 #size-cells = <0>;
17531757
1754
- vopl_out_lvds: endpoint@0 {
1758
+ vopl_out_dsi: endpoint@0 {
17551759 reg = <0>;
1756
- remote-endpoint = <&lvds_in_vopl>;
1760
+ remote-endpoint = <&dsi_in_vopl>;
17571761 };
17581762
1759
- vopl_out_dsi: endpoint@1 {
1763
+ vopl_out_lvds: endpoint@1 {
17601764 reg = <1>;
1761
- remote-endpoint = <&dsi_in_vopl>;
1765
+ remote-endpoint = <&lvds_vopl_in>;
17621766 };
17631767
17641768 vopl_out_rgb: endpoint@2 {
....@@ -1838,9 +1842,9 @@
18381842 reg = <0x0 0xff4a0000 0x0 0x8000>;
18391843 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
18401844 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>;
1845
+ <&cru PCLK_ISP>, <&cru SCLK_CIF_OUT>, <&cru SCLK_CIF_OUT>, <&cru PCLK_MIPICSIPHY>;
18421846 clock-names = "aclk_isp", "hclk_isp", "clk_isp", "clk_isp_jpe",
1843
- "pclkin_isp", "clk_cif_pll", "clk_cif_out", "pclk_dphyrx";
1847
+ "pclkin_isp", "clk_cif_pll", "clk_cif_out", "pclk_dphyrx";
18441848 resets = <&cru SRST_ISP>, <&cru SRST_MIPICSIPHY_P>;
18451849 reset-names = "rst_isp", "rst_mipicsiphy";
18461850 power-domains = <&power PX30_PD_VI>;
....@@ -1866,9 +1870,9 @@
18661870 <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
18671871 interrupt-names = "isp_irq", "mi_irq", "mipi_irq";
18681872 clocks = <&cru ACLK_ISP>, <&cru HCLK_ISP>,
1869
- <&cru SCLK_ISP>, <&cru PCLK_ISP>;
1873
+ <&cru SCLK_ISP>, <&cru PCLK_ISP>;
18701874 clock-names = "aclk_isp", "hclk_isp",
1871
- "clk_isp", "pclk_isp";
1875
+ "clk_isp", "pclk_isp";
18721876 devfreq = <&dmc>;
18731877 power-domains = <&power PX30_PD_VI>;
18741878 iommus = <&isp_mmu>;
....@@ -2009,11 +2013,11 @@
20092013 downdifferential = <20>;
20102014 system-status-freq = <
20112015 /*system status freq(KHz)*/
2012
- SYS_STATUS_NORMAL 528000
2016
+ SYS_STATUS_NORMAL 666000
20132017 SYS_STATUS_REBOOT 450000
20142018 SYS_STATUS_SUSPEND 194000
20152019 SYS_STATUS_VIDEO_1080P 450000
2016
- SYS_STATUS_BOOST 528000
2020
+ SYS_STATUS_BOOST 666000
20172021 SYS_STATUS_ISP 666000
20182022 SYS_STATUS_PERFORMANCE 1056000
20192023 >;
....@@ -2083,14 +2087,6 @@
20832087 opp-microvolt-L2 = <950000>;
20842088 opp-microvolt-L3 = <950000>;
20852089 };
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
- };
20942090 opp-666000000 {
20952091 opp-hz = /bits/ 64 <666000000>;
20962092 opp-microvolt = <1050000>;
....@@ -2120,11 +2116,6 @@
21202116 opp-328000000 {
21212117 opp-hz = /bits/ 64 <328000000>;
21222118 opp-microvolt = <950000>;
2123
- };
2124
- opp-528000000 {
2125
- opp-hz = /bits/ 64 <528000000>;
2126
- opp-microvolt = <950000>;
2127
- status = "disabled";
21282119 };
21292120 opp-666000000 {
21302121 opp-hz = /bits/ 64 <666000000>;
....@@ -2328,7 +2319,7 @@
23282319 };
23292320
23302321 tsadc {
2331
- tsadc_otp_gpio: tsadc-otp-gpio {
2322
+ tsadc_otp_gpio: tsadc_otp_pin: tsadc-otp-pin {
23322323 rockchip,pins =
23332324 <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
23342325 };
....@@ -2354,11 +2345,6 @@
23542345 uart0_rts: uart0-rts {
23552346 rockchip,pins =
23562347 <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>;
23622348 };
23632349 };
23642350
....@@ -2417,11 +2403,6 @@
24172403 rockchip,pins =
24182404 <0 RK_PC3 2 &pcfg_pull_none>;
24192405 };
2420
-
2421
- uart3m0_rts_gpio: uart3m0-rts-gpio {
2422
- rockchip,pins =
2423
- <0 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
2424
- };
24252406 };
24262407
24272408 uart3-m1 {
....@@ -2440,15 +2421,9 @@
24402421 rockchip,pins =
24412422 <1 RK_PB5 2 &pcfg_pull_none>;
24422423 };
2443
-
2444
- uart3m1_rts_gpio: uart3m1-rts-gpio {
2445
- rockchip,pins =
2446
- <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
2447
- };
24482424 };
24492425
24502426 uart4 {
2451
-
24522427 uart4_xfer: uart4-xfer {
24532428 rockchip,pins =
24542429 <1 RK_PD4 2 &pcfg_pull_up>,
....@@ -2458,7 +2433,6 @@
24582433 uart4_cts: uart4-cts {
24592434 rockchip,pins =
24602435 <1 RK_PD6 2 &pcfg_pull_none>;
2461
-
24622436 };
24632437
24642438 uart4_rts: uart4-rts {
....@@ -2468,7 +2442,6 @@
24682442 };
24692443
24702444 uart5 {
2471
-
24722445 uart5_xfer: uart5-xfer {
24732446 rockchip,pins =
24742447 <3 RK_PA2 4 &pcfg_pull_up>,
....@@ -2478,7 +2451,6 @@
24782451 uart5_cts: uart5-cts {
24792452 rockchip,pins =
24802453 <3 RK_PA3 4 &pcfg_pull_none>;
2481
-
24822454 };
24832455
24842456 uart5_rts: uart5-rts {
....@@ -2651,27 +2623,27 @@
26512623 i2s0 {
26522624 i2s0_8ch_mclk: i2s0-8ch-mclk {
26532625 rockchip,pins =
2654
- <3 RK_PC1 2 &pcfg_pull_none>;
2626
+ <3 RK_PC1 2 &pcfg_pull_none_smt>;
26552627 };
26562628
26572629 i2s0_8ch_sclktx: i2s0-8ch-sclktx {
26582630 rockchip,pins =
2659
- <3 RK_PC3 2 &pcfg_pull_none>;
2631
+ <3 RK_PC3 2 &pcfg_pull_none_smt>;
26602632 };
26612633
26622634 i2s0_8ch_sclkrx: i2s0-8ch-sclkrx {
26632635 rockchip,pins =
2664
- <3 RK_PB4 2 &pcfg_pull_none>;
2636
+ <3 RK_PB4 2 &pcfg_pull_none_smt>;
26652637 };
26662638
26672639 i2s0_8ch_lrcktx: i2s0-8ch-lrcktx {
26682640 rockchip,pins =
2669
- <3 RK_PC2 2 &pcfg_pull_none>;
2641
+ <3 RK_PC2 2 &pcfg_pull_none_smt>;
26702642 };
26712643
26722644 i2s0_8ch_lrckrx: i2s0-8ch-lrckrx {
26732645 rockchip,pins =
2674
- <3 RK_PB5 2 &pcfg_pull_none>;
2646
+ <3 RK_PB5 2 &pcfg_pull_none_smt>;
26752647 };
26762648
26772649 i2s0_8ch_sdo0: i2s0-8ch-sdo0 {
....@@ -2718,17 +2690,17 @@
27182690 i2s1 {
27192691 i2s1_2ch_mclk: i2s1-2ch-mclk {
27202692 rockchip,pins =
2721
- <2 RK_PC3 1 &pcfg_pull_none>;
2693
+ <2 RK_PC3 1 &pcfg_pull_none_smt>;
27222694 };
27232695
27242696 i2s1_2ch_sclk: i2s1-2ch-sclk {
27252697 rockchip,pins =
2726
- <2 RK_PC2 1 &pcfg_pull_none>;
2698
+ <2 RK_PC2 1 &pcfg_pull_none_smt>;
27272699 };
27282700
27292701 i2s1_2ch_lrck: i2s1-2ch-lrck {
27302702 rockchip,pins =
2731
- <2 RK_PC1 1 &pcfg_pull_none>;
2703
+ <2 RK_PC1 1 &pcfg_pull_none_smt>;
27322704 };
27332705
27342706 i2s1_2ch_sdi: i2s1-2ch-sdi {
....@@ -2745,17 +2717,17 @@
27452717 i2s2 {
27462718 i2s2_2ch_mclk: i2s2-2ch-mclk {
27472719 rockchip,pins =
2748
- <3 RK_PA1 2 &pcfg_pull_none>;
2720
+ <3 RK_PA1 2 &pcfg_pull_none_smt>;
27492721 };
27502722
27512723 i2s2_2ch_sclk: i2s2-2ch-sclk {
27522724 rockchip,pins =
2753
- <3 RK_PA2 2 &pcfg_pull_none>;
2725
+ <3 RK_PA2 2 &pcfg_pull_none_smt>;
27542726 };
27552727
27562728 i2s2_2ch_lrck: i2s2-2ch-lrck {
27572729 rockchip,pins =
2758
- <3 RK_PA3 2 &pcfg_pull_none>;
2730
+ <3 RK_PA3 2 &pcfg_pull_none_smt>;
27592731 };
27602732
27612733 i2s2_2ch_sdi: i2s2-2ch-sdi {
....@@ -2797,16 +2769,6 @@
27972769 <1 RK_PD4 1 &pcfg_pull_up_8ma>,
27982770 <1 RK_PD5 1 &pcfg_pull_up_8ma>;
27992771 };
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
- };
28102772 };
28112773
28122774 sdio {
....@@ -2827,16 +2789,6 @@
28272789 <1 RK_PD0 1 &pcfg_pull_up>,
28282790 <1 RK_PD1 1 &pcfg_pull_up>;
28292791 };
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
- };
28402792 };
28412793
28422794 emmc {
....@@ -2848,11 +2800,6 @@
28482800 emmc_cmd: emmc-cmd {
28492801 rockchip,pins =
28502802 <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>;
28562803 };
28572804
28582805 emmc_rstnout: emmc-rstnout {
....@@ -3065,24 +3012,15 @@
30653012 gmac {
30663013 rmii_pins: rmii-pins {
30673014 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>;
3015
+ <2 RK_PA0 2 &pcfg_pull_none_12ma>, /* mac_txen */
3016
+ <2 RK_PA1 2 &pcfg_pull_none_12ma>, /* mac_txd1 */
3017
+ <2 RK_PA2 2 &pcfg_pull_none_12ma>, /* mac_txd0 */
3018
+ <2 RK_PA3 2 &pcfg_pull_none>, /* mac_rxd0 */
3019
+ <2 RK_PA4 2 &pcfg_pull_none>, /* mac_rxd1 */
3020
+ <2 RK_PA5 2 &pcfg_pull_none>, /* mac_rxer */
3021
+ <2 RK_PA6 2 &pcfg_pull_none>, /* mac_rxdv */
3022
+ <2 RK_PA7 2 &pcfg_pull_none>, /* mac_mdio */
3023
+ <2 RK_PB1 2 &pcfg_pull_none>; /* mac_mdc */
30863024 };
30873025
30883026 mac_refclk_12ma: mac-refclk-12ma {
....@@ -3098,75 +3036,78 @@
30983036
30993037 cif-m0 {
31003038 cif_clkout_m0: cif-clkout-m0 {
3101
- rockchip,pins = <2 RK_PB3 1 &pcfg_pull_none_12ma>;/* cif_clkout */
3039
+ rockchip,pins =
3040
+ <2 RK_PB3 1 &pcfg_pull_none_12ma>;/* cif_clkout */
31023041 };
31033042
31043043 dvp_d2d9_m0: dvp-d2d9-m0 {
31053044 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 */
3045
+ <2 RK_PA0 1 &pcfg_pull_none>, /* cif_data2 */
3046
+ <2 RK_PA1 1 &pcfg_pull_none>, /* cif_data3 */
3047
+ <2 RK_PA2 1 &pcfg_pull_none>, /* cif_data4 */
3048
+ <2 RK_PA3 1 &pcfg_pull_none>, /* cif_data5 */
3049
+ <2 RK_PA4 1 &pcfg_pull_none>, /* cif_data6 */
3050
+ <2 RK_PA5 1 &pcfg_pull_none>, /* cif_data7 */
3051
+ <2 RK_PA6 1 &pcfg_pull_none>, /* cif_data8 */
3052
+ <2 RK_PA7 1 &pcfg_pull_none>, /* cif_data9 */
3053
+ <2 RK_PB0 1 &pcfg_pull_none>, /* cif_sync */
3054
+ <2 RK_PB1 1 &pcfg_pull_none>, /* cif_href */
3055
+ <2 RK_PB2 1 &pcfg_pull_none>, /* cif_clkin */
3056
+ <2 RK_PB3 1 &pcfg_pull_none>; /* cif_clkout */
31183057 };
31193058
31203059 dvp_d0d1_m0: dvp-d0d1-m0 {
31213060 rockchip,pins =
3122
- <2 RK_PB4 1 &pcfg_pull_none>,/* cif_data0 */
3123
- <2 RK_PB6 1 &pcfg_pull_none>;/* cif_data1 */
3061
+ <2 RK_PB4 1 &pcfg_pull_none>, /* cif_data0 */
3062
+ <2 RK_PB6 1 &pcfg_pull_none>; /* cif_data1 */
31243063 };
31253064
31263065 dvp_d10d11_m0:d10-d11-m0 {
31273066 rockchip,pins =
3128
- <2 RK_PB7 1 &pcfg_pull_none>,/* cif_data10 */
3129
- <2 RK_PC0 1 &pcfg_pull_none>;/* cif_data11 */
3067
+ <2 RK_PB7 1 &pcfg_pull_none>, /* cif_data10 */
3068
+ <2 RK_PC0 1 &pcfg_pull_none>; /* cif_data11 */
31303069 };
31313070 };
31323071
31333072 cif-m1 {
31343073 cif_clkout_m1: cif-clkout-m1 {
3135
- rockchip,pins = <3 RK_PD0 3 &pcfg_pull_none>;/* cif_clkout */
3074
+ rockchip,pins =
3075
+ <3 RK_PD0 3 &pcfg_pull_none>;
31363076 };
31373077
31383078 dvp_d2d9_m1: dvp-d2d9-m1 {
31393079 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 */
3080
+ <3 RK_PA3 3 &pcfg_pull_none>, /* cif_data2 */
3081
+ <3 RK_PA5 3 &pcfg_pull_none>, /* cif_data3 */
3082
+ <3 RK_PA7 3 &pcfg_pull_none>, /* cif_data4 */
3083
+ <3 RK_PB0 3 &pcfg_pull_none>, /* cif_data5 */
3084
+ <3 RK_PB1 3 &pcfg_pull_none>, /* cif_data6 */
3085
+ <3 RK_PB4 3 &pcfg_pull_none>, /* cif_data7 */
3086
+ <3 RK_PB6 3 &pcfg_pull_none>, /* cif_data8 */
3087
+ <3 RK_PB7 3 &pcfg_pull_none>, /* cif_data9 */
3088
+ <3 RK_PD1 3 &pcfg_pull_none>, /* cif_sync */
3089
+ <3 RK_PD2 3 &pcfg_pull_none>, /* cif_href */
3090
+ <3 RK_PD3 3 &pcfg_pull_none>, /* cif_clkin */
3091
+ <3 RK_PD0 3 &pcfg_pull_none>; /* cif_clkout */
31523092 };
31533093
31543094 dvp_d0d1_m1: dvp-d0d1-m1 {
31553095 rockchip,pins =
3156
- <3 RK_PA1 3 &pcfg_pull_none>,/* cif_data0 */
3157
- <3 RK_PA2 3 &pcfg_pull_none>;/* cif_data1 */
3096
+ <3 RK_PA1 3 &pcfg_pull_none>, /* cif_data0 */
3097
+ <3 RK_PA2 3 &pcfg_pull_none>; /* cif_data1 */
31583098 };
31593099
31603100 dvp_d10d11_m1:d10-d11-m1 {
31613101 rockchip,pins =
3162
- <3 RK_PC6 3 &pcfg_pull_none>,/* cif_data10 */
3163
- <3 RK_PC7 3 &pcfg_pull_none>;/* cif_data11 */
3102
+ <3 RK_PC6 3 &pcfg_pull_none>, /* cif_data10 */
3103
+ <3 RK_PC7 3 &pcfg_pull_none>; /* cif_data11 */
31643104 };
31653105 };
31663106
31673107 isp {
31683108 isp_prelight: isp-prelight {
3169
- rockchip,pins = <3 RK_PD1 4 &pcfg_pull_none>;/* ISP_PRELIGHTTRIG */
3109
+ rockchip,pins =
3110
+ <3 RK_PD1 4 &pcfg_pull_none>;
31703111 };
31713112 };
31723113 };