mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
127 lines
2.8 KiB
Diff
127 lines
2.8 KiB
Diff
--- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
|
|
@@ -43,7 +43,6 @@ cpu0: cpu@0 {
|
|
clocks = <&apcs_glb APCS_ALIAS0_CORE_CLK>;
|
|
clock-names = "cpu";
|
|
operating-points-v2 = <&cpu_opp_table>;
|
|
- cpu-supply = <&ipq6018_s2>;
|
|
#cooling-cells = <2>;
|
|
};
|
|
|
|
@@ -56,7 +55,6 @@ cpu1: cpu@1 {
|
|
clocks = <&apcs_glb APCS_ALIAS0_CORE_CLK>;
|
|
clock-names = "cpu";
|
|
operating-points-v2 = <&cpu_opp_table>;
|
|
- cpu-supply = <&ipq6018_s2>;
|
|
#cooling-cells = <2>;
|
|
};
|
|
|
|
@@ -69,7 +67,6 @@ cpu2: cpu@2 {
|
|
clocks = <&apcs_glb APCS_ALIAS0_CORE_CLK>;
|
|
clock-names = "cpu";
|
|
operating-points-v2 = <&cpu_opp_table>;
|
|
- cpu-supply = <&ipq6018_s2>;
|
|
#cooling-cells = <2>;
|
|
};
|
|
|
|
@@ -82,7 +79,6 @@ cpu3: cpu@3 {
|
|
clocks = <&apcs_glb APCS_ALIAS0_CORE_CLK>;
|
|
clock-names = "cpu";
|
|
operating-points-v2 = <&cpu_opp_table>;
|
|
- cpu-supply = <&ipq6018_s2>;
|
|
#cooling-cells = <2>;
|
|
};
|
|
|
|
@@ -119,6 +115,13 @@ opp-1056000000 {
|
|
clock-latency-ns = <200000>;
|
|
};
|
|
|
|
+ opp-1200000000 {
|
|
+ opp-hz = /bits/ 64 <1200000000>;
|
|
+ opp-microvolt = <850000>;
|
|
+ opp-supported-hw = <0x4>;
|
|
+ clock-latency-ns = <200000>;
|
|
+ };
|
|
+
|
|
opp-1320000000 {
|
|
opp-hz = /bits/ 64 <1320000000>;
|
|
opp-microvolt = <862500>;
|
|
@@ -133,6 +136,13 @@ opp-1440000000 {
|
|
clock-latency-ns = <200000>;
|
|
};
|
|
|
|
+ opp-1512000000 {
|
|
+ opp-hz = /bits/ 64 <1512000000>;
|
|
+ opp-microvolt = <937500>;
|
|
+ opp-supported-hw = <0x2>;
|
|
+ clock-latency-ns = <200000>;
|
|
+ };
|
|
+
|
|
opp-1608000000 {
|
|
opp-hz = /bits/ 64 <1608000000>;
|
|
opp-microvolt = <987500>;
|
|
@@ -170,16 +180,6 @@ glink-edge {
|
|
rpm_requests: rpm-requests {
|
|
compatible = "qcom,rpm-ipq6018";
|
|
qcom,glink-channels = "rpm_requests";
|
|
-
|
|
- regulators {
|
|
- compatible = "qcom,rpm-mp5496-regulators";
|
|
-
|
|
- ipq6018_s2: s2 {
|
|
- regulator-min-microvolt = <725000>;
|
|
- regulator-max-microvolt = <1062500>;
|
|
- regulator-always-on;
|
|
- };
|
|
- };
|
|
};
|
|
};
|
|
};
|
|
--- /dev/null
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq6018-mp5496.dtsi
|
|
@@ -0,0 +1,44 @@
|
|
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
|
+/*
|
|
+ * ipq6018-mp5496.dtsi describes common properties (e.g. regulators) that
|
|
+ * apply to most devices that make use of the IPQ6018 SoC and MP5496 PMIC.
|
|
+ */
|
|
+
|
|
+#include "ipq6018.dtsi"
|
|
+
|
|
+&rpm_requests {
|
|
+ regulators {
|
|
+ compatible = "qcom,rpm-mp5496-regulators";
|
|
+
|
|
+ mp5496_s2: s2 {
|
|
+ regulator-min-microvolt = <725000>;
|
|
+ regulator-max-microvolt = <1062500>;
|
|
+ regulator-always-on;
|
|
+ };
|
|
+
|
|
+ mp5496_l2: l2 {
|
|
+ regulator-min-microvolt = <1800000>;
|
|
+ regulator-max-microvolt = <3300000>;
|
|
+ };
|
|
+ };
|
|
+};
|
|
+
|
|
+&sdhc {
|
|
+ vqmmc-supply = <&mp5496_l2>;
|
|
+};
|
|
+
|
|
+&CPU0 {
|
|
+ cpu-supply = <&mp5496_s2>;
|
|
+};
|
|
+
|
|
+&CPU1 {
|
|
+ cpu-supply = <&mp5496_s2>;
|
|
+};
|
|
+
|
|
+&CPU2 {
|
|
+ cpu-supply = <&mp5496_s2>;
|
|
+};
|
|
+
|
|
+&CPU3 {
|
|
+ cpu-supply = <&mp5496_s2>;
|
|
+};
|