Skip to content

Commit 2378341

Browse files
masonhuoConchuOD
authored andcommitted
riscv: dts: starfive: Enable axp15060 pmic for cpufreq
The VisionFive 2 board has an embedded pmic axp15060, which supports the cpu DVFS through the dcdc2 regulator. This patch enables axp15060 pmic and configs the dcdc2. Signed-off-by: Mason Huo <mason.huo@starfivetech.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent b087f59 commit 2378341

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,23 @@
114114
pinctrl-names = "default";
115115
pinctrl-0 = <&i2c5_pins>;
116116
status = "okay";
117+
118+
axp15060: pmic@36 {
119+
compatible = "x-powers,axp15060";
120+
reg = <0x36>;
121+
interrupts = <0>;
122+
interrupt-controller;
123+
#interrupt-cells = <1>;
124+
125+
regulators {
126+
vdd_cpu: dcdc2 {
127+
regulator-always-on;
128+
regulator-min-microvolt = <500000>;
129+
regulator-max-microvolt = <1540000>;
130+
regulator-name = "vdd-cpu";
131+
};
132+
};
133+
};
117134
};
118135

119136
&i2c6 {

0 commit comments

Comments
 (0)