[openwrt/openwrt] ipq806x: apply correct voltage tolerance
LEDE Commits
lede-commits at lists.infradead.org
Thu May 6 22:06:03 PDT 2021
ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/1603d09964d14ccdb3f2ab7592e3fc85d36b8500
commit 1603d09964d14ccdb3f2ab7592e3fc85d36b8500
Author: Ansuel Smith <ansuelsmth at gmail.com>
AuthorDate: Tue Mar 23 17:41:11 2021 +0100
ipq806x: apply correct voltage tolerance
Voltage tolerance was 5%, not 5000. Update min and max voltage of the target opp.
Signed-off-by: Ansuel Smith <ansuelsmth at gmail.com>
---
.../files/arch/arm/boot/dts/qcom-ipq8062.dtsi | 16 ++--
.../files/arch/arm/boot/dts/qcom-ipq8065.dtsi | 86 +++++++++++-----------
.../patches-5.10/083-ipq8064-dtsi-additions.patch | 52 ++++++-------
3 files changed, 77 insertions(+), 77 deletions(-)
diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8062.dtsi b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8062.dtsi
index 09aa081737..4b007130aa 100644
--- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8062.dtsi
+++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8062.dtsi
@@ -46,29 +46,29 @@
/delete-node/opp-1400000000;
opp-384000000 {
- opp-microvolt-speed0-pvs0-v0 = <945000 950000 955000>;
- opp-microvolt-speed0-pvs1-v0 = <985000 900000 905000>;
- opp-microvolt-speed0-pvs2-v0 = <845000 850000 855000>;
- opp-microvolt-speed0-pvs3-v0 = <795000 800000 805000>;
+ opp-microvolt-speed0-pvs0-v0 = <902500 950000 997500>;
+ opp-microvolt-speed0-pvs1-v0 = <855000 900000 945000>;
+ opp-microvolt-speed0-pvs2-v0 = <807500 850000 892500>;
+ opp-microvolt-speed0-pvs3-v0 = <760000 800000 840000>;
};
opp-600000000 {
- opp-microvolt-speed0-pvs0-v0 = <995000 1000000 1005000>;
+ opp-microvolt-speed0-pvs0-v0 = <950000 1000000 1050000>;
opp-microvolt-speed0-pvs1-v0 = <945000 950000 955000>;
opp-microvolt-speed0-pvs2-v0 = <895000 900000 905000>;
opp-microvolt-speed0-pvs3-v0 = <845000 850000 855000>;
};
opp-800000000 {
- opp-microvolt-speed0-pvs0-v0 = <1045000 1050000 1055000>;
+ opp-microvolt-speed0-pvs0-v0 = <997500 1050000 1102500>;
opp-microvolt-speed0-pvs1-v0 = < 995000 1000000 1005000>;
opp-microvolt-speed0-pvs2-v0 = < 945000 950000 955000>;
opp-microvolt-speed0-pvs3-v0 = < 895000 900000 905000>;
};
opp-1000000000 {
- opp-microvolt-speed0-pvs0-v0 = <1095000 1100000 1105000>;
- opp-microvolt-speed0-pvs1-v0 = <1045000 1050000 1055000>;
+ opp-microvolt-speed0-pvs0-v0 = <1045000 1100000 1155000>;
+ opp-microvolt-speed0-pvs1-v0 = <997500 1050000 1102500>;
opp-microvolt-speed0-pvs2-v0 = < 995000 1000000 1005000>;
opp-microvolt-speed0-pvs3-v0 = < 945000 950000 955000>;
};
diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi
index f215181470..9c3a24f600 100644
--- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi
+++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi
@@ -86,66 +86,66 @@
/delete-node/opp-1200000000;
- opp-384000000 {
- opp-microvolt-speed0-pvs0-v0 = <970000 975000 980000>;
- opp-microvolt-speed0-pvs1-v0 = <945000 950000 955000>;
- opp-microvolt-speed0-pvs2-v0 = <920000 925000 930000>;
- opp-microvolt-speed0-pvs3-v0 = <985000 900000 905000>;
- opp-microvolt-speed0-pvs4-v0 = <870000 875000 880000>;
- opp-microvolt-speed0-pvs5-v0 = <820000 825000 830000>;
- opp-microvolt-speed0-pvs6-v0 = <770000 775000 780000>;
+ opp-384000000 {
+ opp-microvolt-speed0-pvs0-v0 = <926250 975000 1023750>;
+ opp-microvolt-speed0-pvs1-v0 = <902500 950000 997500>;
+ opp-microvolt-speed0-pvs2-v0 = <878750 925000 971250>;
+ opp-microvolt-speed0-pvs3-v0 = <855000 900000 945000>;
+ opp-microvolt-speed0-pvs4-v0 = <831250 875000 918750>;
+ opp-microvolt-speed0-pvs5-v0 = <783750 825000 866250>;
+ opp-microvolt-speed0-pvs6-v0 = <736250 775000 813750>;
};
opp-600000000 {
- opp-microvolt-speed0-pvs0-v0 = <995000 1000000 1005000>;
- opp-microvolt-speed0-pvs1-v0 = <970000 975000 980000>;
- opp-microvolt-speed0-pvs2-v0 = <945000 950000 955000>;
- opp-microvolt-speed0-pvs3-v0 = <920000 925000 930000>;
- opp-microvolt-speed0-pvs4-v0 = <895000 900000 905000>;
- opp-microvolt-speed0-pvs5-v0 = <845000 850000 855000>;
- opp-microvolt-speed0-pvs6-v0 = <795000 800000 805000>;
+ opp-microvolt-speed0-pvs0-v0 = <950000 1000000 1050000>;
+ opp-microvolt-speed0-pvs1-v0 = <926250 975000 1023750>;
+ opp-microvolt-speed0-pvs2-v0 = <902500 950000 997500>;
+ opp-microvolt-speed0-pvs3-v0 = <878750 925000 971250>;
+ opp-microvolt-speed0-pvs4-v0 = <855000 900000 945000>;
+ opp-microvolt-speed0-pvs5-v0 = <807500 850000 892500>;
+ opp-microvolt-speed0-pvs6-v0 = <760000 800000 840000>;
};
opp-800000000 {
- opp-microvolt-speed0-pvs0-v0 = <1045000 1050000 1055000>;
- opp-microvolt-speed0-pvs1-v0 = <1020000 1025000 1030000>;
- opp-microvolt-speed0-pvs2-v0 = <995000 1000000 1005000>;
- opp-microvolt-speed0-pvs3-v0 = <970000 975000 980000>;
- opp-microvolt-speed0-pvs4-v0 = <945000 950000 955000>;
- opp-microvolt-speed0-pvs5-v0 = <895000 900000 905000>;
- opp-microvolt-speed0-pvs6-v0 = <845000 850000 855000>;
+ opp-microvolt-speed0-pvs0-v0 = <997500 1050000 1102500>;
+ opp-microvolt-speed0-pvs1-v0 = <973750 1025000 1076250>;
+ opp-microvolt-speed0-pvs2-v0 = <950000 1000000 1050000>;
+ opp-microvolt-speed0-pvs3-v0 = <926250 975000 1023750>;
+ opp-microvolt-speed0-pvs4-v0 = <902500 950000 997500>;
+ opp-microvolt-speed0-pvs5-v0 = <855000 900000 945000>;
+ opp-microvolt-speed0-pvs6-v0 = <807500 850000 892500>;
};
opp-1000000000 {
- opp-microvolt-speed0-pvs0-v0 = <1095000 1100000 1105000>;
- opp-microvolt-speed0-pvs1-v0 = <1070000 1075000 1080000>;
- opp-microvolt-speed0-pvs2-v0 = <1045000 1050000 1055000>;
- opp-microvolt-speed0-pvs3-v0 = <1020000 1025000 1030000>;
- opp-microvolt-speed0-pvs4-v0 = <995000 1000000 1005000>;
- opp-microvolt-speed0-pvs5-v0 = <945000 950000 955000>;
- opp-microvolt-speed0-pvs6-v0 = <895000 900000 905000>;
+ opp-microvolt-speed0-pvs0-v0 = <1045000 1100000 1155000>;
+ opp-microvolt-speed0-pvs1-v0 = <1021250 1075000 1128750>;
+ opp-microvolt-speed0-pvs2-v0 = <997500 1050000 1102500>;
+ opp-microvolt-speed0-pvs3-v0 = <973750 1025000 1076250>;
+ opp-microvolt-speed0-pvs4-v0 = <950000 1000000 1050000>;
+ opp-microvolt-speed0-pvs5-v0 = <902500 950000 997500>;
+ opp-microvolt-speed0-pvs6-v0 = <855000 900000 945000>;
};
opp-1400000000 {
- opp-microvolt-speed0-pvs0-v0 = <1170000 1175000 1180000>;
- opp-microvolt-speed0-pvs1-v0 = <1145000 1150000 1155000>;
- opp-microvolt-speed0-pvs2-v0 = <1120000 1125000 1130000>;
- opp-microvolt-speed0-pvs3-v0 = <1095000 1100000 1105000>;
- opp-microvolt-speed0-pvs4-v0 = <1070000 1075000 1080000>;
- opp-microvolt-speed0-pvs5-v0 = <1020000 1025000 1030000>;
- opp-microvolt-speed0-pvs6-v0 = <970000 975000 980000>;
+ opp-microvolt-speed0-pvs0-v0 = <1116250 1175000 1233750>;
+ opp-microvolt-speed0-pvs1-v0 = <1092500 1150000 1207500>;
+ opp-microvolt-speed0-pvs2-v0 = <1068750 1125000 1181250>;
+ opp-microvolt-speed0-pvs3-v0 = <1045000 1100000 1155000>;
+ opp-microvolt-speed0-pvs4-v0 = <1021250 1075000 1128750>;
+ opp-microvolt-speed0-pvs5-v0 = <973750 1025000 1076250>;
+ opp-microvolt-speed0-pvs6-v0 = <926250 975000 1023750>;
opp-level = <1>;
};
opp-1725000000 {
opp-hz = /bits/ 64 <1725000000>;
- opp-microvolt-speed0-pvs0-v0 = <1257500 1262500 1267500>;
- opp-microvolt-speed0-pvs1-v0 = <1220000 1225000 1230000>;
- opp-microvolt-speed0-pvs2-v0 = <1195000 1200000 1205000>;
- opp-microvolt-speed0-pvs3-v0 = <1170000 1175000 1180000>;
- opp-microvolt-speed0-pvs4-v0 = <1145000 1150000 1155000>;
- opp-microvolt-speed0-pvs5-v0 = <1095000 1100000 1105000>;
- opp-microvolt-speed0-pvs6-v0 = <1045000 1050000 1055000>;
+ opp-microvolt-speed0-pvs0-v0 = <1199375 1262500 1325625>;
+ opp-microvolt-speed0-pvs1-v0 = <1163750 1225000 1286250>;
+ opp-microvolt-speed0-pvs2-v0 = <1140000 1200000 1260000>;
+ opp-microvolt-speed0-pvs3-v0 = <1116250 1175000 1233750>;
+ opp-microvolt-speed0-pvs4-v0 = <1092500 1150000 1207500>;
+ opp-microvolt-speed0-pvs5-v0 = <1045000 1100000 1155000>;
+ opp-microvolt-speed0-pvs6-v0 = <997500 1050000 1102500>;
opp-supported-hw = <0x1>;
clock-latency-ns = <100000>;
opp-level = <2>;
diff --git a/target/linux/ipq806x/patches-5.10/083-ipq8064-dtsi-additions.patch b/target/linux/ipq806x/patches-5.10/083-ipq8064-dtsi-additions.patch
index 140eeb54c7..5d1ae2ae3d 100644
--- a/target/linux/ipq806x/patches-5.10/083-ipq8064-dtsi-additions.patch
+++ b/target/linux/ipq806x/patches-5.10/083-ipq8064-dtsi-additions.patch
@@ -87,10 +87,10 @@
+
+ opp-384000000 {
+ opp-hz = /bits/ 64 <384000000>;
-+ opp-microvolt-speed0-pvs0-v0 = <995000 1000000 1005000>;
-+ opp-microvolt-speed0-pvs1-v0 = <920000 925000 930000>;
-+ opp-microvolt-speed0-pvs2-v0 = <870000 875000 880000>;
-+ opp-microvolt-speed0-pvs3-v0 = <795000 800000 805000>;
++ opp-microvolt-speed0-pvs0-v0 = <950000 1000000 1050000>;
++ opp-microvolt-speed0-pvs1-v0 = <878750 925000 971250>;
++ opp-microvolt-speed0-pvs2-v0 = <831250 875000 918750>;
++ opp-microvolt-speed0-pvs3-v0 = <760000 800000 840000>;
+ opp-supported-hw = <0x1>;
+ clock-latency-ns = <100000>;
+ opp-level = <0>;
@@ -98,10 +98,10 @@
+
+ opp-600000000 {
+ opp-hz = /bits/ 64 <600000000>;
-+ opp-microvolt-speed0-pvs0-v0 = <1045000 1050000 1055000>;
-+ opp-microvolt-speed0-pvs1-v0 = <970000 975000 980000>;
-+ opp-microvolt-speed0-pvs2-v0 = <920000 925000 930000>;
-+ opp-microvolt-speed0-pvs3-v0 = <845000 850000 855000>;
++ opp-microvolt-speed0-pvs0-v0 = <997500 1050000 1102500>;
++ opp-microvolt-speed0-pvs1-v0 = <926250 975000 1023750>;
++ opp-microvolt-speed0-pvs2-v0 = <878750 925000 971250>;
++ opp-microvolt-speed0-pvs3-v0 = <807500 850000 892500>;
+ opp-supported-hw = <0x1>;
+ clock-latency-ns = <100000>;
+ opp-level = <1>;
@@ -109,10 +109,10 @@
+
+ opp-800000000 {
+ opp-hz = /bits/ 64 <800000000>;
-+ opp-microvolt-speed0-pvs0-v0 = <1095000 1100000 1105000>;
-+ opp-microvolt-speed0-pvs1-v0 = <1020000 1025000 1030000>;
-+ opp-microvolt-speed0-pvs2-v0 = <990000 995000 1000000>;
-+ opp-microvolt-speed0-pvs3-v0 = <895000 900000 905000>;
++ opp-microvolt-speed0-pvs0-v0 = <1045000 1100000 1155000>;
++ opp-microvolt-speed0-pvs1-v0 = <973750 1025000 1076250>;
++ opp-microvolt-speed0-pvs2-v0 = <945250 995000 1044750>;
++ opp-microvolt-speed0-pvs3-v0 = <855000 900000 945000>;
+ opp-supported-hw = <0x1>;
+ clock-latency-ns = <100000>;
+ opp-level = <1>;
@@ -120,10 +120,10 @@
+
+ opp-1000000000 {
+ opp-hz = /bits/ 64 <1000000000>;
-+ opp-microvolt-speed0-pvs0-v0 = <1145000 1150000 1155000>;
-+ opp-microvolt-speed0-pvs1-v0 = <1070000 1075000 1080000>;
-+ opp-microvolt-speed0-pvs2-v0 = <1020000 1025000 1030000>;
-+ opp-microvolt-speed0-pvs3-v0 = <945000 950000 955000>;
++ opp-microvolt-speed0-pvs0-v0 = <1092500 1150000 1207500>;
++ opp-microvolt-speed0-pvs1-v0 = <1021250 1075000 1128750>;
++ opp-microvolt-speed0-pvs2-v0 = <973750 1025000 1076250>;
++ opp-microvolt-speed0-pvs3-v0 = <902500 950000 997500>;
+ opp-supported-hw = <0x1>;
+ clock-latency-ns = <100000>;
+ opp-level = <1>;
@@ -131,10 +131,10 @@
+
+ opp-1200000000 {
+ opp-hz = /bits/ 64 <1200000000>;
-+ opp-microvolt-speed0-pvs0-v0 = <1195000 1200000 1205000>;
-+ opp-microvolt-speed0-pvs1-v0 = <1120000 1125000 1130000>;
-+ opp-microvolt-speed0-pvs2-v0 = <1070000 1075000 1080000>;
-+ opp-microvolt-speed0-pvs3-v0 = <995000 1000000 1005000>;
++ opp-microvolt-speed0-pvs0-v0 = <1140000 1200000 1260000>;
++ opp-microvolt-speed0-pvs1-v0 = <1068750 1125000 1181250>;
++ opp-microvolt-speed0-pvs2-v0 = <1021250 1075000 1128750>;
++ opp-microvolt-speed0-pvs3-v0 = <950000 1000000 1050000>;
+ opp-supported-hw = <0x1>;
+ clock-latency-ns = <100000>;
+ opp-level = <2>;
@@ -142,10 +142,10 @@
+
+ opp-1400000000 {
+ opp-hz = /bits/ 64 <1400000000>;
-+ opp-microvolt-speed0-pvs0-v0 = <1245000 1250000 1255000>;
-+ opp-microvolt-speed0-pvs1-v0 = <1170000 1175000 1180000>;
-+ opp-microvolt-speed0-pvs2-v0 = <1120000 1125000 1130000>;
-+ opp-microvolt-speed0-pvs3-v0 = <1045000 1050000 1055000>;
++ opp-microvolt-speed0-pvs0-v0 = <1187500 1250000 1312500>;
++ opp-microvolt-speed0-pvs1-v0 = <1116250 1175000 1233750>;
++ opp-microvolt-speed0-pvs2-v0 = <1068750 1125000 1181250>;
++ opp-microvolt-speed0-pvs3-v0 = <997500 1050000 1102500>;
+ opp-supported-hw = <0x1>;
+ clock-latency-ns = <100000>;
+ opp-level = <2>;
@@ -674,7 +674,7 @@
pcie0: pci at 1b500000 {
compatible = "qcom,pcie-ipq8064";
reg = <0x1b500000 0x1000
-@@ -739,6 +1332,59 @@
+@@ -751,6 +1344,59 @@
status = "disabled";
};
@@ -734,7 +734,7 @@
vsdcc_fixed: vsdcc-regulator {
compatible = "regulator-fixed";
regulator-name = "SDCC Power";
-@@ -814,4 +1460,17 @@
+@@ -826,4 +1472,17 @@
};
};
};
More information about the lede-commits
mailing list