cpufreq to 2GHz

This commit is contained in:
t61230
2023-03-16 01:36:05 +00:00
committed by Han Gao
parent e042a6fabe
commit 3024960f77
2 changed files with 9 additions and 1 deletions

View File

@@ -1461,12 +1461,14 @@
300000 650000
800000 700000
1500000 800000
2000000 1000000
>;
light,dvddm-operating-points = <
/* kHz uV */
300000 800000
800000 800000
1500000 800000
2000000 1000000
>;
};
c910_1: cpu@1 {
@@ -1475,12 +1477,14 @@
300000 650000
800000 700000
1500000 800000
2000000 1000000
>;
light,dvddm-operating-points = <
/* kHz uV */
300000 800000
800000 800000
1500000 800000
2000000 1000000
>;
};
c910_2: cpu@2 {
@@ -1490,12 +1494,14 @@
300000 650000
800000 700000
1500000 800000
2000000 1000000
>;
light,dvddm-operating-points = <
/* kHz uV */
300000 800000
800000 800000
1500000 800000
2000000 1000000
>;
};
c910_3: cpu@3 {
@@ -1505,12 +1511,14 @@
300000 650000
800000 700000
1500000 800000
2000000 1000000
>;
light,dvddm-operating-points = <
/* kHz uV */
300000 800000
800000 800000
1500000 800000
2000000 1000000
>;
};
};

View File

@@ -34,7 +34,7 @@ enum LIGHT_MPW_CPUFREQ_CLKS {
};
#define LIGHT_MPW_CPUFREQ_CLK_NUM 4
#define LIGHT_CPUFREQ_THRE 1500000
#define LIGHT_CPUFREQ_THRE 2000000
#define LIGHT_C910_BUS_CLK_SYNC BIT(11)
#define LIGHT_C910_BUS_CLK_RATIO_MASK 0x700
#define LIGHT_C910_BUS_CLK_DIV_RATIO_2 0x100