ARM: dts: rockchip: fix i2s&spdif interrupts on rk3288
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3126-sdk.dts
index 86b44c024d09bece0d8d2ee00e099c7cc1ba4434..5173e4b44e1cefb6cad662bbe81d2305f4db9157 100755 (executable)
@@ -1,5 +1,9 @@
-#include "rk312x-sdk.dtsi"
+/dts-v1/;
+
+#include "rk3126.dtsi"
 #include "lcd-b101ew05.dtsi"
+#include "rk3126-cif-sensor.dtsi"
+#include "rk312x-sdk.dtsi"
 
 / {
         compatible = "rockchip,rk3126";
               //vref_pmu_enable_level = <1>; //1->HIGH, 0->LOW
               
               satus = "okay";  
-        };     
+        };
+
+       rockchip_suspend: rockchip_suspend {
+                rockchip,ctrbits = <
+                        (0
+                        |RKPM_CTR_PWR_DMNS
+                        |RKPM_CTR_GTCLKS
+                        |RKPM_CTR_PLLS
+                        |RKPM_CTR_ARMOFF_LPMD
+                        |RKPM_CTR_DDR
+                        |RKPM_CTR_IDLESRAM_MD
+                        |RKPM_CTR_DDR
+                        |RKPM_CTR_BUS_IDLE
+                       //|RKPM_CTR_VOLTS
+                       //|RKPM_CTR_VOL_PWM1
+                       //|RKPM_CTR_VOL_PWM2
+                        )
+                >;
+               rockchip,pmic-suspend_gpios = <
+                       GPIO1_A1
+                        >;
+        };
 };
 
 &fb {
                };
 };
 &sdmmc {
-       cd-gpios = <&gpio2 GPIO_A3 GPIO_ACTIVE_HIGH>;/*CD GPIO*/
+       cd-gpios = <&gpio2 GPIO_A7 GPIO_ACTIVE_HIGH>;/*CD GPIO*/
 };
 
 &codec {
 &clk_core_dvfs_table {
        operating-points = <
                /* KHz    uV */
-               216000 975000
-               408000 975000
-               600000 1075000
-               696000 1100000
-               816000 1150000
-               1008000 1300000
-               1200000 1375000
+               216000 950000
+               408000 950000
+               600000 1050000
+               696000 1050000
+               816000 1125000
+               1008000 1275000
+               1200000 1400000
+               >;
+       virt-temp-limit-1-cpu-busy = <
+       /* target-temp  limit-freq */
+               75      1008000
+               85      1200000
+               95      1200000
+               100     1200000
+               >;
+       virt-temp-limit-2-cpu-busy = <
+       /* target-temp  limit-freq */
+               75      912000
+               85      1008000
+               95      1104000
+               100     1200000
+               >;
+       virt-temp-limit-3-cpu-busy = <
+       /* target-temp  limit-freq */
+               75      816000
+               85      912000
+               95      100800
+               100     110400
+               >;
+       virt-temp-limit-4-cpu-busy = <
+       /* target-temp  limit-freq */
+               75      816000
+               85      912000
+               95      100800
+               100     110400
                >;
+       temp-limit-enable = <1>;
+       target-temp = <85>;
        status="okay";
 };
 
                /* KHz    uV */
                200000 950000
                300000 950000
-               400000 1000000
+               400000 1025000
                533000 1225000
                >;