forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
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,108 +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
- #pwm-cells = <3>;
986
- pinctrl-names = "active";
987
- pinctrl-0 = <&pwm0_pin>;
9881048 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
9891049 clock-names = "pwm", "pclk";
1050
+ pinctrl-names = "active";
1051
+ pinctrl-0 = <&pwm0_pin>;
1052
+ #pwm-cells = <3>;
9901053 status = "disabled";
9911054 };
9921055
9931056 pwm1: pwm@ff200010 {
9941057 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
9951058 reg = <0x0 0xff200010 0x0 0x10>;
996
- #pwm-cells = <3>;
997
- pinctrl-names = "active";
998
- pinctrl-0 = <&pwm1_pin>;
9991059 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
10001060 clock-names = "pwm", "pclk";
1061
+ pinctrl-names = "active";
1062
+ pinctrl-0 = <&pwm1_pin>;
1063
+ #pwm-cells = <3>;
10011064 status = "disabled";
10021065 };
10031066
10041067 pwm2: pwm@ff200020 {
10051068 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10061069 reg = <0x0 0xff200020 0x0 0x10>;
1007
- #pwm-cells = <3>;
1008
- pinctrl-names = "active";
1009
- pinctrl-0 = <&pwm2_pin>;
10101070 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
10111071 clock-names = "pwm", "pclk";
1072
+ pinctrl-names = "active";
1073
+ pinctrl-0 = <&pwm2_pin>;
1074
+ #pwm-cells = <3>;
10121075 status = "disabled";
10131076 };
10141077
10151078 pwm3: pwm@ff200030 {
10161079 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10171080 reg = <0x0 0xff200030 0x0 0x10>;
1018
- #pwm-cells = <3>;
1019
- pinctrl-names = "active";
1020
- pinctrl-0 = <&pwm3_pin>;
10211081 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
10221082 clock-names = "pwm", "pclk";
1083
+ pinctrl-names = "active";
1084
+ pinctrl-0 = <&pwm3_pin>;
1085
+ #pwm-cells = <3>;
10231086 status = "disabled";
10241087 };
10251088
10261089 pwm4: pwm@ff208000 {
10271090 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10281091 reg = <0x0 0xff208000 0x0 0x10>;
1029
- #pwm-cells = <3>;
1030
- pinctrl-names = "active";
1031
- pinctrl-0 = <&pwm4_pin>;
10321092 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
10331093 clock-names = "pwm", "pclk";
1094
+ pinctrl-names = "active";
1095
+ pinctrl-0 = <&pwm4_pin>;
1096
+ #pwm-cells = <3>;
10341097 status = "disabled";
10351098 };
10361099
10371100 pwm5: pwm@ff208010 {
10381101 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10391102 reg = <0x0 0xff208010 0x0 0x10>;
1040
- #pwm-cells = <3>;
1041
- pinctrl-names = "active";
1042
- pinctrl-0 = <&pwm5_pin>;
10431103 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
10441104 clock-names = "pwm", "pclk";
1105
+ pinctrl-names = "active";
1106
+ pinctrl-0 = <&pwm5_pin>;
1107
+ #pwm-cells = <3>;
10451108 status = "disabled";
10461109 };
10471110
10481111 pwm6: pwm@ff208020 {
10491112 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10501113 reg = <0x0 0xff208020 0x0 0x10>;
1051
- #pwm-cells = <3>;
1052
- pinctrl-names = "active";
1053
- pinctrl-0 = <&pwm6_pin>;
10541114 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
10551115 clock-names = "pwm", "pclk";
1116
+ pinctrl-names = "active";
1117
+ pinctrl-0 = <&pwm6_pin>;
1118
+ #pwm-cells = <3>;
10561119 status = "disabled";
10571120 };
10581121
10591122 pwm7: pwm@ff208030 {
10601123 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10611124 reg = <0x0 0xff208030 0x0 0x10>;
1062
- #pwm-cells = <3>;
1063
- pinctrl-names = "active";
1064
- pinctrl-0 = <&pwm7_pin>;
10651125 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
10661126 clock-names = "pwm", "pclk";
1127
+ pinctrl-names = "active";
1128
+ pinctrl-0 = <&pwm7_pin>;
1129
+ #pwm-cells = <3>;
10671130 status = "disabled";
10681131 };
10691132
1070
- rktimer: rktimer@ff210000 {
1071
- compatible = "rockchip,rk3288-timer";
1133
+ rktimer: timer@ff210000 {
1134
+ compatible = "rockchip,px30-timer", "rockchip,rk3288-timer";
10721135 reg = <0x0 0xff210000 0x0 0x1000>;
10731136 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
10741137 clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
10751138 clock-names = "pclk", "timer";
10761139 };
10771140
1078
- amba {
1141
+ amba: bus {
10791142 compatible = "simple-bus";
10801143 #address-cells = <2>;
10811144 #size-cells = <2>;
....@@ -1086,59 +1149,10 @@
10861149 reg = <0x0 0xff240000 0x0 0x4000>;
10871150 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
10881151 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
1152
+ arm,pl330-periph-burst;
10891153 clocks = <&cru ACLK_DMAC>;
10901154 clock-names = "apb_pclk";
10911155 #dma-cells = <1>;
1092
- arm,pl330-periph-burst;
1093
- };
1094
- };
1095
-
1096
- thermal_zones: thermal-zones {
1097
-
1098
- soc_thermal: soc-thermal {
1099
- polling-delay-passive = <20>;
1100
- polling-delay = <1000>;
1101
- sustainable-power = <750>;
1102
-
1103
- thermal-sensors = <&tsadc 0>;
1104
-
1105
- trips {
1106
- threshold: trip-point-0 {
1107
- temperature = <70000>;
1108
- hysteresis = <2000>;
1109
- type = "passive";
1110
- };
1111
- target: trip-point-1 {
1112
- temperature = <85000>;
1113
- hysteresis = <2000>;
1114
- type = "passive";
1115
- };
1116
- soc_crit: soc-crit {
1117
- temperature = <115000>;
1118
- hysteresis = <2000>;
1119
- type = "critical";
1120
- };
1121
- };
1122
-
1123
- cooling-maps {
1124
- map0 {
1125
- trip = <&target>;
1126
- cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1127
- contribution = <4096>;
1128
- };
1129
- map1 {
1130
- trip = <&target>;
1131
- cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
1132
- contribution = <4096>;
1133
- };
1134
- };
1135
- };
1136
-
1137
- gpu_thermal: gpu-thermal {
1138
- polling-delay-passive = <100>; /* milliseconds */
1139
- polling-delay = <1000>; /* milliseconds */
1140
-
1141
- thermal-sensors = <&tsadc 1>;
11421156 };
11431157 };
11441158
....@@ -1146,15 +1160,19 @@
11461160 compatible = "rockchip,px30-tsadc";
11471161 reg = <0x0 0xff280000 0x0 0x100>;
11481162 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
1149
- rockchip,grf = <&grf>;
1150
- clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
1151
- clock-names = "tsadc", "apb_pclk";
11521163 assigned-clocks = <&cru SCLK_TSADC>;
11531164 assigned-clock-rates = <50000>;
1165
+ clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
1166
+ clock-names = "tsadc", "apb_pclk";
11541167 resets = <&cru SRST_TSADC>;
11551168 reset-names = "tsadc-apb";
1156
- #thermal-sensor-cells = <1>;
1169
+ rockchip,grf = <&grf>;
11571170 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>;
11581176 status = "disabled";
11591177 };
11601178
....@@ -1170,19 +1188,19 @@
11701188 status = "disabled";
11711189 };
11721190
1173
- otp: otp@ff290000 {
1191
+ otp: nvmem@ff290000 {
11741192 compatible = "rockchip,px30-otp";
11751193 reg = <0x0 0xff290000 0x0 0x4000>;
1176
- #address-cells = <1>;
1177
- #size-cells = <1>;
11781194 clocks = <&cru SCLK_OTP_USR>, <&cru PCLK_OTP_NS>,
11791195 <&cru PCLK_OTP_PHY>;
11801196 clock-names = "otp", "apb_pclk", "phy";
11811197 resets = <&cru SRST_OTP_PHY>;
1182
- reset-names = "otp_phy";
1198
+ reset-names = "phy";
1199
+ #address-cells = <1>;
1200
+ #size-cells = <1>;
11831201
11841202 /* Data cells */
1185
- otp_id: id@7 {
1203
+ cpu_id: id@7 {
11861204 reg = <0x07 0x10>;
11871205 };
11881206 cpu_leakage: cpu-leakage@17 {
....@@ -1198,27 +1216,14 @@
11981216 compatible = "rockchip,px30-cru";
11991217 reg = <0x0 0xff2b0000 0x0 0x1000>;
12001218 rockchip,grf = <&grf>;
1201
- rockchip,boost = <&cpu_boost>;
12021219 #clock-cells = <1>;
12031220 #reset-cells = <1>;
1221
+
1222
+ assigned-clocks = <&cru PLL_NPLL>;
1223
+ assigned-clock-rates = <1188000000>;
12041224 };
12051225
1206
- cpu_boost: cpu-boost@ff2b8000 {
1207
- compatible = "syscon";
1208
- reg = <0x0 0xff2b8000 0x0 0x1000>;
1209
- rockchip,boost-low-con0 = <0x1032>;
1210
- rockchip,boost-low-con1 = <0x1441>;
1211
- rockchip,boost-high-con0 = <0x1036>;
1212
- rockchip,boost-high-con1 = <0x1441>;
1213
- rockchip,boost-backup-pll = <1>;
1214
- rockchip,boost-backup-pll-usage = <0>;
1215
- rockchip,boost-switch-threshold = <0x249f00>;
1216
- rockchip,boost-statis-threshold = <0x100>;
1217
- rockchip,boost-statis-enable = <0>;
1218
- rockchip,boost-enable = <0>;
1219
- };
1220
-
1221
- pmucru: pmu-clock-controller@ff2bc000 {
1226
+ pmucru: clock-controller@ff2bc000 {
12221227 compatible = "rockchip,px30-pmucru";
12231228 reg = <0x0 0xff2bc000 0x0 0x1000>;
12241229 rockchip,grf = <&grf>;
....@@ -1247,9 +1252,8 @@
12471252 #size-cells = <1>;
12481253
12491254 u2phy: usb2-phy@100 {
1250
- compatible = "rockchip,px30-usb2phy",
1251
- "rockchip,rk3328-usb2phy";
1252
- reg = <0x100 0x10>;
1255
+ compatible = "rockchip,px30-usb2phy";
1256
+ reg = <0x100 0x20>;
12531257 clocks = <&pmucru SCLK_USBPHY_REF>;
12541258 clock-names = "phyclk";
12551259 #clock-cells = <0>;
....@@ -1277,18 +1281,18 @@
12771281 };
12781282 };
12791283
1280
- video_phy: video-phy@ff2e0000 {
1281
- compatible = "rockchip,px30-video-phy";
1284
+ video_phy: dsi_dphy: phy@ff2e0000 {
1285
+ compatible = "rockchip,px30-dsi-dphy", "rockchip,px30-video-phy";
12821286 reg = <0x0 0xff2e0000 0x0 0x10000>,
12831287 <0x0 0xff450000 0x0 0x10000>;
1288
+ reg-names = "phy", "host";
12841289 clocks = <&pmucru SCLK_MIPIDSIPHY_REF>,
12851290 <&cru PCLK_MIPIDSIPHY>, <&cru PCLK_MIPI_DSI>;
1286
- clock-names = "ref", "pclk_phy", "pclk_host";
1287
- #clock-cells = <0>;
1291
+ clock-names = "ref", "pclk", "pclk_host";
12881292 resets = <&cru SRST_MIPIDSIPHY_P>;
1289
- reset-names = "rst";
1290
- power-domains = <&power PX30_PD_VO>;
1293
+ reset-names = "apb";
12911294 #phy-cells = <0>;
1295
+ power-domains = <&power PX30_PD_VO>;
12921296 status = "disabled";
12931297 };
12941298
....@@ -1309,14 +1313,13 @@
13091313 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
13101314 clocks = <&cru HCLK_OTG>;
13111315 clock-names = "otg";
1312
- power-domains = <&power PX30_PD_USB>;
13131316 dr_mode = "otg";
13141317 g-np-tx-fifo-size = <16>;
13151318 g-rx-fifo-size = <280>;
13161319 g-tx-fifo-size = <256 128 128 64 32 16>;
1317
- g-use-dma;
13181320 phys = <&u2phy_otg>;
13191321 phy-names = "usb2-phy";
1322
+ power-domains = <&power PX30_PD_USB>;
13201323 status = "disabled";
13211324 };
13221325
....@@ -1326,9 +1329,9 @@
13261329 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
13271330 clocks = <&cru HCLK_HOST>, <&u2phy>;
13281331 clock-names = "usbhost", "utmi";
1329
- power-domains = <&power PX30_PD_USB>;
13301332 phys = <&u2phy_host>;
13311333 phy-names = "usb";
1334
+ power-domains = <&power PX30_PD_USB>;
13321335 status = "disabled";
13331336 };
13341337
....@@ -1338,16 +1341,15 @@
13381341 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
13391342 clocks = <&cru HCLK_HOST>, <&u2phy>;
13401343 clock-names = "usbhost", "utmi";
1341
- power-domains = <&power PX30_PD_USB>;
13421344 phys = <&u2phy_host>;
13431345 phy-names = "usb";
1346
+ power-domains = <&power PX30_PD_USB>;
13441347 status = "disabled";
13451348 };
13461349
13471350 gmac: ethernet@ff360000 {
13481351 compatible = "rockchip,px30-gmac";
13491352 reg = <0x0 0xff360000 0x0 0x10000>;
1350
- rockchip,grf = <&grf>;
13511353 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
13521354 interrupt-names = "macirq";
13531355 clocks = <&cru SCLK_GMAC>, <&cru SCLK_GMAC_RX_TX>,
....@@ -1358,61 +1360,72 @@
13581360 "mac_clk_tx", "clk_mac_ref",
13591361 "clk_mac_refout", "aclk_mac",
13601362 "pclk_mac", "clk_mac_speed";
1363
+ rockchip,grf = <&grf>;
13611364 phy-mode = "rmii";
13621365 pinctrl-names = "default";
13631366 pinctrl-0 = <&rmii_pins &mac_refclk_12ma>;
1367
+ power-domains = <&power PX30_PD_GMAC>;
13641368 resets = <&cru SRST_GMAC_A>;
13651369 reset-names = "stmmaceth";
1366
- power-domains = <&power PX30_PD_GMAC>;
13671370 status = "disabled";
13681371 };
13691372
13701373 sdmmc: dwmmc@ff370000 {
13711374 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
13721375 reg = <0x0 0xff370000 0x0 0x4000>;
1373
- max-frequency = <150000000>;
1376
+ interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
13741377 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
13751378 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
1376
- clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
1377
- assigned-clocks = <&cru SCLK_SDMMC>;
1378
- assigned-clock-parents = <&cru SCLK_SDMMC_DIV50>;
1379
- power-domains = <&power PX30_PD_SDCARD>;
1379
+ clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1380
+ bus-width = <4>;
13801381 fifo-depth = <0x100>;
1381
- interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
1382
+ max-frequency = <150000000>;
13821383 pinctrl-names = "default";
13831384 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>;
1385
+ power-domains = <&power PX30_PD_SDCARD>;
13841386 status = "disabled";
13851387 };
13861388
13871389 sdio: dwmmc@ff380000 {
13881390 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
13891391 reg = <0x0 0xff380000 0x0 0x4000>;
1390
- max-frequency = <150000000>;
1392
+ interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
13911393 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
13921394 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
1393
- clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
1394
- assigned-clocks = <&cru SCLK_SDIO>;
1395
- assigned-clock-parents = <&cru SCLK_SDIO_DIV50>;
1396
- power-domains = <&power PX30_PD_MMC_NAND>;
1395
+ clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1396
+ bus-width = <4>;
13971397 fifo-depth = <0x100>;
1398
- interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
1398
+ max-frequency = <150000000>;
13991399 pinctrl-names = "default";
14001400 pinctrl-0 = <&sdio_bus4 &sdio_cmd &sdio_clk>;
1401
+ power-domains = <&power PX30_PD_MMC_NAND>;
14011402 status = "disabled";
14021403 };
14031404
14041405 emmc: dwmmc@ff390000 {
14051406 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
14061407 reg = <0x0 0xff390000 0x0 0x4000>;
1407
- max-frequency = <150000000>;
1408
+ interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
14081409 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
14091410 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
1410
- clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
1411
- assigned-clocks = <&cru SCLK_EMMC>;
1412
- assigned-clock-parents = <&cru SCLK_EMMC_DIV50>;
1413
- power-domains = <&power PX30_PD_MMC_NAND>;
1411
+ clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
1412
+ bus-width = <8>;
14141413 fifo-depth = <0x100>;
1415
- 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>;
14161429 status = "disabled";
14171430 };
14181431
....@@ -1430,23 +1443,18 @@
14301443 };
14311444
14321445 gpu: gpu@ff400000 {
1433
- compatible = "arm,mali-bifrost";
1446
+ compatible = "rockchip,px30-mali", "arm,mali-bifrost";
14341447 reg = <0x0 0xff400000 0x0 0x4000>;
1435
-
14361448 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
14371449 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
14381450 <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
14391451 interrupt-names = "GPU", "MMU", "JOB";
1440
-
1452
+ clocks = <&cru SCLK_GPU>;
1453
+ #cooling-cells = <2>;
1454
+ power-domains = <&power PX30_PD_GPU>;
1455
+ operating-points-v2 = <&gpu_opp_table>;
14411456 upthreshold = <40>;
14421457 downdifferential = <10>;
1443
-
1444
- clocks = <&cru SCLK_GPU>;
1445
- clock-names = "clk_mali";
1446
- power-domains = <&power PX30_PD_GPU>;
1447
- #cooling-cells = <2>;
1448
- operating-points-v2 = <&gpu_opp_table>;
1449
-
14501458 status = "disabled";
14511459 power_model {
14521460 compatible = "arm,mali-simple-power-model";
....@@ -1455,7 +1463,6 @@
14551463 ts = <32000 4700 (-80) 2>;
14561464 thermal-zone = "gpu-thermal";
14571465 };
1458
-
14591466 };
14601467
14611468 gpu_opp_table: gpu-opp-table {
....@@ -1586,6 +1593,7 @@
15861593 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
15871594 clock-names = "aclk", "iface";
15881595 power-domains = <&power PX30_PD_VPU>;
1596
+ rockchip,shootdown-entire;
15891597 #iommu-cells = <0>;
15901598 status = "disabled";
15911599 };
....@@ -1615,10 +1623,11 @@
16151623 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>, <&cru SCLK_CORE_VPU>;
16161624 clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core";
16171625 resets = <&cru SRST_VPU_A>, <&cru SRST_VPU_H>,
1618
- <&cru SRST_VPU_NIU_A>, <&cru SRST_VPU_NIU_H>,
1619
- <&cru SRST_VPU_CORE>;
1626
+ <&cru SRST_VPU_NIU_A>, <&cru SRST_VPU_NIU_H>,
1627
+ <&cru SRST_VPU_CORE>;
16201628 reset-names = "shared_video_a", "shared_video_h",
1621
- "niu_a", "niu_h", "video_core";
1629
+ "niu_a", "niu_h",
1630
+ "video_core";
16221631 iommus = <&hevc_mmu>;
16231632 rockchip,srv = <&mpp_srv>;
16241633 rockchip,taskqueue-node = <0>;
....@@ -1635,6 +1644,7 @@
16351644 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
16361645 clock-names = "aclk", "iface";
16371646 power-domains = <&power PX30_PD_VPU>;
1647
+ rockchip,shootdown-entire;
16381648 #iommu-cells = <0>;
16391649 status = "disabled";
16401650 };
....@@ -1643,13 +1653,13 @@
16431653 compatible = "rockchip,px30-mipi-dsi";
16441654 reg = <0x0 0xff450000 0x0 0x10000>;
16451655 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
1646
- clocks = <&cru PCLK_MIPI_DSI>, <&video_phy>;
1647
- 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>;
16481661 resets = <&cru SRST_MIPIDSI_HOST_P>;
16491662 reset-names = "apb";
1650
- phys = <&video_phy>;
1651
- phy-names = "mipi_dphy";
1652
- power-domains = <&power PX30_PD_VO>;
16531663 rockchip,grf = <&grf>;
16541664 #address-cells = <1>;
16551665 #size-cells = <0>;
....@@ -1686,22 +1696,24 @@
16861696 clocks = <&cru ACLK_VOPB>, <&cru DCLK_VOPB>,
16871697 <&cru HCLK_VOPB>;
16881698 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1689
- 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";
16901701 iommus = <&vopb_mmu>;
1702
+ power-domains = <&power PX30_PD_VO>;
16911703 status = "disabled";
16921704
16931705 vopb_out: port {
16941706 #address-cells = <1>;
16951707 #size-cells = <0>;
16961708
1697
- vopb_out_lvds: endpoint@0 {
1709
+ vopb_out_dsi: endpoint@0 {
16981710 reg = <0>;
1699
- remote-endpoint = <&lvds_in_vopb>;
1711
+ remote-endpoint = <&dsi_in_vopb>;
17001712 };
17011713
1702
- vopb_out_dsi: endpoint@1 {
1714
+ vopb_out_lvds: endpoint@1 {
17031715 reg = <1>;
1704
- remote-endpoint = <&dsi_in_vopb>;
1716
+ remote-endpoint = <&lvds_vopb_in>;
17051717 };
17061718
17071719 vopb_out_rgb: endpoint@2 {
....@@ -1733,22 +1745,24 @@
17331745 clocks = <&cru ACLK_VOPL>, <&cru DCLK_VOPL>,
17341746 <&cru HCLK_VOPL>;
17351747 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1736
- 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";
17371750 iommus = <&vopl_mmu>;
1751
+ power-domains = <&power PX30_PD_VO>;
17381752 status = "disabled";
17391753
17401754 vopl_out: port {
17411755 #address-cells = <1>;
17421756 #size-cells = <0>;
17431757
1744
- vopl_out_lvds: endpoint@0 {
1758
+ vopl_out_dsi: endpoint@0 {
17451759 reg = <0>;
1746
- remote-endpoint = <&lvds_in_vopl>;
1760
+ remote-endpoint = <&dsi_in_vopl>;
17471761 };
17481762
1749
- vopl_out_dsi: endpoint@1 {
1763
+ vopl_out_lvds: endpoint@1 {
17501764 reg = <1>;
1751
- remote-endpoint = <&dsi_in_vopl>;
1765
+ remote-endpoint = <&lvds_vopl_in>;
17521766 };
17531767
17541768 vopl_out_rgb: endpoint@2 {
....@@ -1828,9 +1842,9 @@
18281842 reg = <0x0 0xff4a0000 0x0 0x8000>;
18291843 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
18301844 clocks = <&cru ACLK_ISP>, <&cru HCLK_ISP>, <&cru SCLK_ISP>, <&cru SCLK_ISP>,
1831
- <&cru PCLK_ISP>, <&cru SCLK_CIF_OUT>, <&cru SCLK_CIF_OUT>, <&cru PCLK_MIPICSIPHY>;
1845
+ <&cru PCLK_ISP>, <&cru SCLK_CIF_OUT>, <&cru SCLK_CIF_OUT>, <&cru PCLK_MIPICSIPHY>;
18321846 clock-names = "aclk_isp", "hclk_isp", "clk_isp", "clk_isp_jpe",
1833
- "pclkin_isp", "clk_cif_pll", "clk_cif_out", "pclk_dphyrx";
1847
+ "pclkin_isp", "clk_cif_pll", "clk_cif_out", "pclk_dphyrx";
18341848 resets = <&cru SRST_ISP>, <&cru SRST_MIPICSIPHY_P>;
18351849 reset-names = "rst_isp", "rst_mipicsiphy";
18361850 power-domains = <&power PX30_PD_VI>;
....@@ -1856,9 +1870,9 @@
18561870 <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
18571871 interrupt-names = "isp_irq", "mi_irq", "mipi_irq";
18581872 clocks = <&cru ACLK_ISP>, <&cru HCLK_ISP>,
1859
- <&cru SCLK_ISP>, <&cru PCLK_ISP>;
1873
+ <&cru SCLK_ISP>, <&cru PCLK_ISP>;
18601874 clock-names = "aclk_isp", "hclk_isp",
1861
- "clk_isp", "pclk_isp";
1875
+ "clk_isp", "pclk_isp";
18621876 devfreq = <&dmc>;
18631877 power-domains = <&power PX30_PD_VI>;
18641878 iommus = <&isp_mmu>;
....@@ -1999,11 +2013,11 @@
19992013 downdifferential = <20>;
20002014 system-status-freq = <
20012015 /*system status freq(KHz)*/
2002
- SYS_STATUS_NORMAL 528000
2016
+ SYS_STATUS_NORMAL 666000
20032017 SYS_STATUS_REBOOT 450000
20042018 SYS_STATUS_SUSPEND 194000
20052019 SYS_STATUS_VIDEO_1080P 450000
2006
- SYS_STATUS_BOOST 528000
2020
+ SYS_STATUS_BOOST 666000
20072021 SYS_STATUS_ISP 666000
20082022 SYS_STATUS_PERFORMANCE 1056000
20092023 >;
....@@ -2073,14 +2087,6 @@
20732087 opp-microvolt-L2 = <950000>;
20742088 opp-microvolt-L3 = <950000>;
20752089 };
2076
- opp-528000000 {
2077
- opp-hz = /bits/ 64 <528000000>;
2078
- opp-microvolt = <975000>;
2079
- opp-microvolt-L0 = <975000>;
2080
- opp-microvolt-L1 = <975000>;
2081
- opp-microvolt-L2 = <950000>;
2082
- opp-microvolt-L3 = <950000>;
2083
- };
20842090 opp-666000000 {
20852091 opp-hz = /bits/ 64 <666000000>;
20862092 opp-microvolt = <1050000>;
....@@ -2110,11 +2116,6 @@
21102116 opp-328000000 {
21112117 opp-hz = /bits/ 64 <328000000>;
21122118 opp-microvolt = <950000>;
2113
- };
2114
- opp-528000000 {
2115
- opp-hz = /bits/ 64 <528000000>;
2116
- opp-microvolt = <950000>;
2117
- status = "disabled";
21182119 };
21192120 opp-666000000 {
21202121 opp-hz = /bits/ 64 <666000000>;
....@@ -2318,7 +2319,7 @@
23182319 };
23192320
23202321 tsadc {
2321
- tsadc_otp_gpio: tsadc-otp-gpio {
2322
+ tsadc_otp_gpio: tsadc_otp_pin: tsadc-otp-pin {
23222323 rockchip,pins =
23232324 <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
23242325 };
....@@ -2344,11 +2345,6 @@
23442345 uart0_rts: uart0-rts {
23452346 rockchip,pins =
23462347 <0 RK_PB5 1 &pcfg_pull_none>;
2347
- };
2348
-
2349
- uart0_rts_gpio: uart0-rts-gpio {
2350
- rockchip,pins =
2351
- <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
23522348 };
23532349 };
23542350
....@@ -2407,11 +2403,6 @@
24072403 rockchip,pins =
24082404 <0 RK_PC3 2 &pcfg_pull_none>;
24092405 };
2410
-
2411
- uart3m0_rts_gpio: uart3m0-rts-gpio {
2412
- rockchip,pins =
2413
- <0 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
2414
- };
24152406 };
24162407
24172408 uart3-m1 {
....@@ -2430,15 +2421,9 @@
24302421 rockchip,pins =
24312422 <1 RK_PB5 2 &pcfg_pull_none>;
24322423 };
2433
-
2434
- uart3m1_rts_gpio: uart3m1-rts-gpio {
2435
- rockchip,pins =
2436
- <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
2437
- };
24382424 };
24392425
24402426 uart4 {
2441
-
24422427 uart4_xfer: uart4-xfer {
24432428 rockchip,pins =
24442429 <1 RK_PD4 2 &pcfg_pull_up>,
....@@ -2448,7 +2433,6 @@
24482433 uart4_cts: uart4-cts {
24492434 rockchip,pins =
24502435 <1 RK_PD6 2 &pcfg_pull_none>;
2451
-
24522436 };
24532437
24542438 uart4_rts: uart4-rts {
....@@ -2458,7 +2442,6 @@
24582442 };
24592443
24602444 uart5 {
2461
-
24622445 uart5_xfer: uart5-xfer {
24632446 rockchip,pins =
24642447 <3 RK_PA2 4 &pcfg_pull_up>,
....@@ -2468,7 +2451,6 @@
24682451 uart5_cts: uart5-cts {
24692452 rockchip,pins =
24702453 <3 RK_PA3 4 &pcfg_pull_none>;
2471
-
24722454 };
24732455
24742456 uart5_rts: uart5-rts {
....@@ -2641,27 +2623,27 @@
26412623 i2s0 {
26422624 i2s0_8ch_mclk: i2s0-8ch-mclk {
26432625 rockchip,pins =
2644
- <3 RK_PC1 2 &pcfg_pull_none>;
2626
+ <3 RK_PC1 2 &pcfg_pull_none_smt>;
26452627 };
26462628
26472629 i2s0_8ch_sclktx: i2s0-8ch-sclktx {
26482630 rockchip,pins =
2649
- <3 RK_PC3 2 &pcfg_pull_none>;
2631
+ <3 RK_PC3 2 &pcfg_pull_none_smt>;
26502632 };
26512633
26522634 i2s0_8ch_sclkrx: i2s0-8ch-sclkrx {
26532635 rockchip,pins =
2654
- <3 RK_PB4 2 &pcfg_pull_none>;
2636
+ <3 RK_PB4 2 &pcfg_pull_none_smt>;
26552637 };
26562638
26572639 i2s0_8ch_lrcktx: i2s0-8ch-lrcktx {
26582640 rockchip,pins =
2659
- <3 RK_PC2 2 &pcfg_pull_none>;
2641
+ <3 RK_PC2 2 &pcfg_pull_none_smt>;
26602642 };
26612643
26622644 i2s0_8ch_lrckrx: i2s0-8ch-lrckrx {
26632645 rockchip,pins =
2664
- <3 RK_PB5 2 &pcfg_pull_none>;
2646
+ <3 RK_PB5 2 &pcfg_pull_none_smt>;
26652647 };
26662648
26672649 i2s0_8ch_sdo0: i2s0-8ch-sdo0 {
....@@ -2708,17 +2690,17 @@
27082690 i2s1 {
27092691 i2s1_2ch_mclk: i2s1-2ch-mclk {
27102692 rockchip,pins =
2711
- <2 RK_PC3 1 &pcfg_pull_none>;
2693
+ <2 RK_PC3 1 &pcfg_pull_none_smt>;
27122694 };
27132695
27142696 i2s1_2ch_sclk: i2s1-2ch-sclk {
27152697 rockchip,pins =
2716
- <2 RK_PC2 1 &pcfg_pull_none>;
2698
+ <2 RK_PC2 1 &pcfg_pull_none_smt>;
27172699 };
27182700
27192701 i2s1_2ch_lrck: i2s1-2ch-lrck {
27202702 rockchip,pins =
2721
- <2 RK_PC1 1 &pcfg_pull_none>;
2703
+ <2 RK_PC1 1 &pcfg_pull_none_smt>;
27222704 };
27232705
27242706 i2s1_2ch_sdi: i2s1-2ch-sdi {
....@@ -2735,17 +2717,17 @@
27352717 i2s2 {
27362718 i2s2_2ch_mclk: i2s2-2ch-mclk {
27372719 rockchip,pins =
2738
- <3 RK_PA1 2 &pcfg_pull_none>;
2720
+ <3 RK_PA1 2 &pcfg_pull_none_smt>;
27392721 };
27402722
27412723 i2s2_2ch_sclk: i2s2-2ch-sclk {
27422724 rockchip,pins =
2743
- <3 RK_PA2 2 &pcfg_pull_none>;
2725
+ <3 RK_PA2 2 &pcfg_pull_none_smt>;
27442726 };
27452727
27462728 i2s2_2ch_lrck: i2s2-2ch-lrck {
27472729 rockchip,pins =
2748
- <3 RK_PA3 2 &pcfg_pull_none>;
2730
+ <3 RK_PA3 2 &pcfg_pull_none_smt>;
27492731 };
27502732
27512733 i2s2_2ch_sdi: i2s2-2ch-sdi {
....@@ -2787,16 +2769,6 @@
27872769 <1 RK_PD4 1 &pcfg_pull_up_8ma>,
27882770 <1 RK_PD5 1 &pcfg_pull_up_8ma>;
27892771 };
2790
-
2791
- sdmmc_gpio: sdmmc-gpio {
2792
- rockchip,pins =
2793
- <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
2794
- <1 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
2795
- <1 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
2796
- <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
2797
- <1 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
2798
- <1 RK_PD7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
2799
- };
28002772 };
28012773
28022774 sdio {
....@@ -2817,16 +2789,6 @@
28172789 <1 RK_PD0 1 &pcfg_pull_up>,
28182790 <1 RK_PD1 1 &pcfg_pull_up>;
28192791 };
2820
-
2821
- sdio_gpio: sdio-gpio {
2822
- rockchip,pins =
2823
- <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>,
2824
- <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>,
2825
- <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_up>,
2826
- <1 RK_PD1 RK_FUNC_GPIO &pcfg_pull_up>,
2827
- <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>,
2828
- <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
2829
- };
28302792 };
28312793
28322794 emmc {
....@@ -2838,11 +2800,6 @@
28382800 emmc_cmd: emmc-cmd {
28392801 rockchip,pins =
28402802 <1 RK_PB2 2 &pcfg_pull_up_8ma>;
2841
- };
2842
-
2843
- emmc_pwren: emmc-pwren {
2844
- rockchip,pins =
2845
- <1 RK_PB0 2 &pcfg_pull_none>;
28462803 };
28472804
28482805 emmc_rstnout: emmc-rstnout {
....@@ -3055,24 +3012,15 @@
30553012 gmac {
30563013 rmii_pins: rmii-pins {
30573014 rockchip,pins =
3058
- /* mac_txen */
3059
- <2 RK_PA0 2 &pcfg_pull_none_12ma>,
3060
- /* mac_txd1 */
3061
- <2 RK_PA1 2 &pcfg_pull_none_12ma>,
3062
- /* mac_txd0 */
3063
- <2 RK_PA2 2 &pcfg_pull_none_12ma>,
3064
- /* mac_rxd0 */
3065
- <2 RK_PA3 2 &pcfg_pull_none>,
3066
- /* mac_rxd1 */
3067
- <2 RK_PA4 2 &pcfg_pull_none>,
3068
- /* mac_rxer */
3069
- <2 RK_PA5 2 &pcfg_pull_none>,
3070
- /* mac_rxdv */
3071
- <2 RK_PA6 2 &pcfg_pull_none>,
3072
- /* mac_mdio */
3073
- <2 RK_PA7 2 &pcfg_pull_none>,
3074
- /* mac_mdc */
3075
- <2 RK_PB1 2 &pcfg_pull_none>;
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 */
30763024 };
30773025
30783026 mac_refclk_12ma: mac-refclk-12ma {
....@@ -3088,75 +3036,78 @@
30883036
30893037 cif-m0 {
30903038 cif_clkout_m0: cif-clkout-m0 {
3091
- 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 */
30923041 };
30933042
30943043 dvp_d2d9_m0: dvp-d2d9-m0 {
30953044 rockchip,pins =
3096
- <2 RK_PA0 1 &pcfg_pull_none>,/* cif_data2 */
3097
- <2 RK_PA1 1 &pcfg_pull_none>,/* cif_data3 */
3098
- <2 RK_PA2 1 &pcfg_pull_none>,/* cif_data4 */
3099
- <2 RK_PA3 1 &pcfg_pull_none>,/* cif_data5 */
3100
- <2 RK_PA4 1 &pcfg_pull_none>,/* cif_data6 */
3101
- <2 RK_PA5 1 &pcfg_pull_none>,/* cif_data7 */
3102
- <2 RK_PA6 1 &pcfg_pull_none>,/* cif_data8 */
3103
- <2 RK_PA7 1 &pcfg_pull_none>,/* cif_data9 */
3104
- <2 RK_PB0 1 &pcfg_pull_none>,/* cif_sync */
3105
- <2 RK_PB1 1 &pcfg_pull_none>,/* cif_href */
3106
- <2 RK_PB2 1 &pcfg_pull_none>,/* cif_clkin */
3107
- <2 RK_PB3 1 &pcfg_pull_none>;/* cif_clkout */
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 */
31083057 };
31093058
31103059 dvp_d0d1_m0: dvp-d0d1-m0 {
31113060 rockchip,pins =
3112
- <2 RK_PB4 1 &pcfg_pull_none>,/* cif_data0 */
3113
- <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 */
31143063 };
31153064
31163065 dvp_d10d11_m0:d10-d11-m0 {
31173066 rockchip,pins =
3118
- <2 RK_PB7 1 &pcfg_pull_none>,/* cif_data10 */
3119
- <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 */
31203069 };
31213070 };
31223071
31233072 cif-m1 {
31243073 cif_clkout_m1: cif-clkout-m1 {
3125
- rockchip,pins = <3 RK_PD0 3 &pcfg_pull_none>;/* cif_clkout */
3074
+ rockchip,pins =
3075
+ <3 RK_PD0 3 &pcfg_pull_none>;
31263076 };
31273077
31283078 dvp_d2d9_m1: dvp-d2d9-m1 {
31293079 rockchip,pins =
3130
- <3 RK_PA3 3 &pcfg_pull_none>,/* cif_data2 */
3131
- <3 RK_PA5 3 &pcfg_pull_none>,/* cif_data3 */
3132
- <3 RK_PA7 3 &pcfg_pull_none>,/* cif_data4 */
3133
- <3 RK_PB0 3 &pcfg_pull_none>,/* cif_data5 */
3134
- <3 RK_PB1 3 &pcfg_pull_none>,/* cif_data6 */
3135
- <3 RK_PB4 3 &pcfg_pull_none>,/* cif_data7 */
3136
- <3 RK_PB6 3 &pcfg_pull_none>,/* cif_data8 */
3137
- <3 RK_PB7 3 &pcfg_pull_none>,/* cif_data9 */
3138
- <3 RK_PD1 3 &pcfg_pull_none>,/* cif_sync */
3139
- <3 RK_PD2 3 &pcfg_pull_none>,/* cif_href */
3140
- <3 RK_PD3 3 &pcfg_pull_none>,/* cif_clkin */
3141
- <3 RK_PD0 3 &pcfg_pull_none>;/* cif_clkout */
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 */
31423092 };
31433093
31443094 dvp_d0d1_m1: dvp-d0d1-m1 {
31453095 rockchip,pins =
3146
- <3 RK_PA1 3 &pcfg_pull_none>,/* cif_data0 */
3147
- <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 */
31483098 };
31493099
31503100 dvp_d10d11_m1:d10-d11-m1 {
31513101 rockchip,pins =
3152
- <3 RK_PC6 3 &pcfg_pull_none>,/* cif_data10 */
3153
- <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 */
31543104 };
31553105 };
31563106
31573107 isp {
31583108 isp_prelight: isp-prelight {
3159
- rockchip,pins = <3 RK_PD1 4 &pcfg_pull_none>;/* ISP_PRELIGHTTRIG */
3109
+ rockchip,pins =
3110
+ <3 RK_PD1 4 &pcfg_pull_none>;
31603111 };
31613112 };
31623113 };