riscv: dts: spacemit: Add cpu scaling for Milk-V Jupiter

Enable CPU DVFS on Milk-V Jupiter by including the OPP tables and wiring the
CPU nodes to the CPU regulator supply.

Reviewed-by: Yixun Lan <dlan@kernel.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Link: https://patch.msgid.link/20260729160749.1621415-2-aurelien@aurel32.net
Signed-off-by: Yixun Lan <dlan@kernel.org>
This commit is contained in:
Aurelien Jarno 2026-07-29 18:00:28 +02:00 committed by Yixun Lan
parent a65e9b73b0
commit e273d298b7

View File

@ -5,6 +5,7 @@
*/
#include "k1.dtsi"
#include "k1-opp.dtsi"
#include "k1-pinctrl.dtsi"
/ {
@ -107,6 +108,38 @@ &combo_phy {
status = "okay";
};
&cpu_0 {
cpu-supply = <&buck1_0v9>;
};
&cpu_1 {
cpu-supply = <&buck1_0v9>;
};
&cpu_2 {
cpu-supply = <&buck1_0v9>;
};
&cpu_3 {
cpu-supply = <&buck1_0v9>;
};
&cpu_4 {
cpu-supply = <&buck1_0v9>;
};
&cpu_5 {
cpu-supply = <&buck1_0v9>;
};
&cpu_6 {
cpu-supply = <&buck1_0v9>;
};
&cpu_7 {
cpu-supply = <&buck1_0v9>;
};
&emmc {
bus-width = <8>;
mmc-hs400-1_8v;
@ -209,7 +242,7 @@ pmic@41 {
dldoin2-supply = <&buck5>;
regulators {
buck1 {
buck1_0v9: buck1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1050000>;
regulator-ramp-delay = <5000>;