build/patch/kernel/archive/odroidxu4-5.12/0069-ODROID-C4-arm64-dts-refining-the-CPU-opp-table.patch

68 lines
1.6 KiB
Diff

From e76578143e67a471a3ce46f7b4aecb590c729f5b Mon Sep 17 00:00:00 2001
From: Dongjin Kim <tobetter@gmail.com>
Date: Tue, 22 Sep 2020 16:12:16 +0900
Subject: [PATCH 069/109] ODROID-C4: arm64/dts: refining the CPU opp table
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I4a12582343dea8d4badac01a0258eda02fef293a
---
.../boot/dts/amlogic/meson-sm1-odroid-c4.dts | 42 +++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts
index d618bcd78594..335a38ffb519 100644
--- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts
@@ -62,6 +62,48 @@ sound {
};
};
+&cpu_opp_table {
+ opp-1000000000 {
+ opp-hz = /bits/ 64 <1000000000>;
+ opp-microvolt = <799999>;
+ };
+
+ opp-1200000000 {
+ opp-hz = /bits/ 64 <1200000000>;
+ opp-microvolt = <809999>;
+ };
+
+ opp-1404000000 {
+ opp-hz = /bits/ 64 <1404000000>;
+ opp-microvolt = <819999>;
+ };
+
+ opp-1500000000 {
+ opp-hz = /bits/ 64 <1500000000>;
+ opp-microvolt = <829999>;
+ };
+
+ opp-1608000000 {
+ opp-hz = /bits/ 64 <1608000000>;
+ opp-microvolt = <859999>;
+ };
+
+ opp-1704000000 {
+ opp-hz = /bits/ 64 <1704000000>;
+ opp-microvolt = <899999>;
+ };
+
+ opp-1800000000 {
+ opp-hz = /bits/ 64 <1800000000>;
+ opp-microvolt = <939999>;
+ };
+
+ opp-1908000000 {
+ opp-hz = /bits/ 64 <1908000000>;
+ opp-microvolt = <999999>;
+ };
+};
+
&gpio {
/*
* WARNING: The USB Hub on the Odroid-C4 needs a reset signal
--
2.25.1