mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:04:24 +00:00
ARM: dts: msm: Add gpio as fixed regulator to power on NVMe
Add NVMe power enable GPIO as the fixed regulator. The M.2 connector power is enabled through the GPIO only. So adding the gpio as fixed regulator for powering it on. Enable dt property for enumerating NVMe at probe itself. Change-Id: I6797ab5b57b043a1bf6fe6c3ef1ce452ed1f1494
This commit is contained in:
committed by
Krishna chaitanya chundru
parent
fec2aca8dc
commit
2ed44bdb10
@@ -32,3 +32,7 @@
|
||||
/* HS disconnect threshold */
|
||||
0x6 0x53>;
|
||||
};
|
||||
|
||||
&pcie1 {
|
||||
qcom,boot-option = <0x2>;
|
||||
};
|
||||
|
||||
@@ -1 +1,17 @@
|
||||
#include "kalama-sg-hhg.dtsi"
|
||||
|
||||
&soc {
|
||||
nvme_vreg: nvme_vreg {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "nvme_vreg";
|
||||
gpio = <&pm8550_gpios 11 GPIO_ACTIVE_HIGH>;
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
enable-active-high;
|
||||
};
|
||||
};
|
||||
|
||||
&pcie1 {
|
||||
vreg-3p3-supply = <&nvme_vreg>;
|
||||
qcom,boot-option = <0x2>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user