Skip to content

Commit

Permalink
riscv: dts: spacemit: correct supply and operating voltage
Browse files Browse the repository at this point in the history
Signed-off-by: Yao Zi <[email protected]>
  • Loading branch information
ziyao233 committed Dec 16, 2024
1 parent 99bb9bb commit 72e1fe3
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 14 deletions.
20 changes: 10 additions & 10 deletions arch/riscv/boot/dts/spacemit/k1-x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -417,39 +417,39 @@
opp-hz = /bits/ 64 <1600000000>;
tcm-hz = /bits/ 64 <800000000>;
ace-hz = /bits/ 64 <800000000>;
opp-microvolt = <950000>;
opp-microvolt = <950000 950000 1050000>;
clock-latency-ns = <200000>;
};

opp1228800000 {
opp-hz = /bits/ 64 <1228800000>;
tcm-hz = /bits/ 64 <614400000>;
ace-hz = /bits/ 64 <614400000>;
opp-microvolt = <950000>;
opp-microvolt = <950000 950000 1050000>;
clock-latency-ns = <200000>;
};

opp1000000000 {
opp-hz = /bits/ 64 <1000000000>;
tcm-hz = /bits/ 64 <500000000>;
ace-hz = /bits/ 64 <500000000>;
opp-microvolt = <950000>;
opp-microvolt = <950000 950000 1050000>;
clock-latency-ns = <200000>;
};

opp819000000 {
opp-hz = /bits/ 64 <819000000>;
opp-microvolt = <950000>;
tcm-hz = /bits/ 64 <409500000>;
ace-hz = /bits/ 64 <409500000>;
opp-microvolt = <950000 950000 1050000>;
clock-latency-ns = <200000>;
};

opp614400000 {
opp-hz = /bits/ 64 <614400000>;
tcm-hz = /bits/ 64 <307200000>;
ace-hz = /bits/ 64 <307200000>;
opp-microvolt = <950000>;
opp-microvolt = <950000 950000 1050000>;
clock-latency-ns = <200000>;
};
};
Expand All @@ -465,35 +465,35 @@
opp1600000000 {
opp-hz = /bits/ 64 <1600000000>;
ace-hz = /bits/ 64 <800000000>;
opp-microvolt = <950000>;
opp-microvolt = <950000 950000 1050000>;
clock-latency-ns = <200000>;
};

opp1228800000 {
opp-hz = /bits/ 64 <1228800000>;
ace-hz = /bits/ 64 <614400000>;
opp-microvolt = <950000>;
opp-microvolt = <950000 950000 1050000>;
clock-latency-ns = <200000>;
};

opp1000000000 {
opp-hz = /bits/ 64 <1000000000>;
ace-hz = /bits/ 64 <500000000>;
opp-microvolt = <950000>;
opp-microvolt = <950000 950000 1050000>;
clock-latency-ns = <200000>;
};

opp819000000 {
opp-hz = /bits/ 64 <819000000>;
ace-hz = /bits/ 64 <409500000>;
opp-microvolt = <950000>;
opp-microvolt = <950000 950000 1050000>;
clock-latency-ns = <200000>;
};

opp614400000 {
opp-hz = /bits/ 64 <614400000>;
ace-hz = /bits/ 64 <307200000>;
opp-microvolt = <950000>;
opp-microvolt = <950000 950000 1050000>;
clock-latency-ns = <200000>;
};
};
Expand Down
35 changes: 31 additions & 4 deletions arch/riscv/boot/dts/spacemit/k1-x_deb1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -900,19 +900,46 @@
};

&cpu_0 {
clst0-supply = <&dcdc_1>;
vin-supply-names = "clst0";
cpu-supply = <&dcdc_1>;
};

&cpu_1 {
cpu-supply = <&dcdc_1>;
};

&cpu_2 {
cpu-supply = <&dcdc_1>;
};

&cpu_3 {
cpu-supply = <&dcdc_1>;
};

&cpu_4 {
cpu-supply = <&dcdc_1>;
};

&cpu_5 {
cpu-supply = <&dcdc_1>;
};

&cpu_6 {
cpu-supply = <&dcdc_1>;
};

&cpu_7 {
cpu-supply = <&dcdc_1>;
};

&clst0_core_opp_table {
opp1600000000 {
opp-microvolt = <1050000>;
opp-microvolt = <1050000 950000 1050000>;
};
};

&clst1_core_opp_table {
opp1600000000 {
opp-microvolt = <1050000>;
opp-microvolt = <1050000 950000 1050000>;
};
};

Expand Down

0 comments on commit 72e1fe3

Please sign in to comment.