Skip to content

Commit

Permalink
riscv: dts: starfive: Enable axp15060 pmic for cpufreq
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mason Huo authored and Conor Dooley committed Jun 6, 2023
1 parent b087f59 commit 2378341
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,23 @@
pinctrl-names = "default";
pinctrl-0 = <&i2c5_pins>;
status = "okay";

axp15060: pmic@36 {
compatible = "x-powers,axp15060";
reg = <0x36>;
interrupts = <0>;
interrupt-controller;
#interrupt-cells = <1>;

regulators {
vdd_cpu: dcdc2 {
regulator-always-on;
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1540000>;
regulator-name = "vdd-cpu";
};
};
};
};

&i2c6 {
Expand Down

0 comments on commit 2378341

Please sign in to comment.