[PATCH v3 3/3] arm64: dts: mt8192: add mt6315 regulator nodes
Hsin-Hsiung Wang
hsin-hsiung.wang at mediatek.com
Wed Dec 23 07:13:44 EST 2020
Add MT6315 regulator nodes to MT8192 evaluation board.
Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang at mediatek.com>
---
arch/arm64/boot/dts/mediatek/mt8192-evb.dts | 46 +++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8192-evb.dts b/arch/arm64/boot/dts/mediatek/mt8192-evb.dts
index 0205837fa698..6c1e2b3e8a60 100644
--- a/arch/arm64/boot/dts/mediatek/mt8192-evb.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8192-evb.dts
@@ -24,6 +24,52 @@
};
};
+&spmi {
+ grpid = <11>;
+ mt6315_6: pmic at 6 {
+ compatible = "mediatek,mt6315-regulator";
+ reg = <0x6 0 0xb 1>;
+
+ regulators {
+ mt6315_6_vbuck1: vbuck1 {
+ regulator-compatible = "vbuck1";
+ regulator-name = "Vbcpu";
+ regulator-min-microvolt = <300000>;
+ regulator-max-microvolt = <1193750>;
+ regulator-enable-ramp-delay = <256>;
+ regulator-allowed-modes = <0 1 2 4>;
+ regulator-always-on;
+ };
+
+ mt6315_6_vbuck3: vbuck3 {
+ regulator-compatible = "vbuck3";
+ regulator-name = "Vlcpu";
+ regulator-min-microvolt = <300000>;
+ regulator-max-microvolt = <1193750>;
+ regulator-enable-ramp-delay = <256>;
+ regulator-allowed-modes = <0 1 2 4>;
+ regulator-always-on;
+ };
+ };
+ };
+
+ mt6315_7: pmic at 7 {
+ compatible = "mediatek,mt6315-regulator";
+ reg = <0x7 0 0xb 1>;
+
+ regulators {
+ mt6315_7_vbuck1: vbuck1 {
+ regulator-compatible = "vbuck1";
+ regulator-name = "Vgpu";
+ regulator-min-microvolt = <300000>;
+ regulator-max-microvolt = <1193750>;
+ regulator-enable-ramp-delay = <256>;
+ regulator-allowed-modes = <0 1 2 4>;
+ };
+ };
+ };
+};
+
&uart0 {
status = "okay";
};
--
2.18.0
More information about the linux-arm-kernel
mailing list