[PATCH 9/9] arm64: dts: qcom: apq8039-t2: add node for ncv6336 regulator
From: Fabien Parent
Date: Wed Dec 18 2024 - 18:41:45 EST
From: Fabien Parent <fabien.parent@xxxxxxxxxx>
CPR is using the power rail provided by the ncv6336 buck regulator
on the apq8039 t2 board. This commit adds the required regulator.
Signed-off-by: Fabien Parent <fabien.parent@xxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/apq8039-t2.dts | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/apq8039-t2.dts b/arch/arm64/boot/dts/qcom/apq8039-t2.dts
index 4f82bb668616f942d65f59a6f418cf38f404df32..2da5b7d01521520a6814b76c02329be3bdedb4fd 100644
--- a/arch/arm64/boot/dts/qcom/apq8039-t2.dts
+++ b/arch/arm64/boot/dts/qcom/apq8039-t2.dts
@@ -111,6 +111,23 @@ typec_ep: endpoint {
};
};
+&blsp_i2c4 {
+ status = "okay";
+
+ regulator@1c {
+ compatible = "onnn,ncv6336";
+ reg = <0x1c>;
+ pinctrl-0 = <&ncv6336_vsel>;
+ pinctrl-names = "default";
+
+ buck {
+ regulator-name = "ncv6336,buck";
+ regulator-min-microvolt = <600000>;
+ regulator-max-microvolt = <1393750>;
+ };
+ };
+};
+
&blsp_i2c5 {
status = "okay";
};
@@ -371,6 +388,12 @@ typec_irq: typec-irq-state {
pins = "gpio107";
bias-pull-up;
};
+
+ ncv6336_vsel: ncv6336-state {
+ function = "gpio";
+ pins = "gpio111";
+ output-low;
+ };
};
&usb {
--
2.45.2