Amlogic/linux: ogu/max3 revert back to brooksytech dts

This commit is contained in:
adamg 2023-11-28 10:22:11 +00:00
parent 589c18f042
commit 7464e5410c
2 changed files with 62 additions and 39 deletions

View file

@ -1,9 +1,7 @@
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts
new file mode 100644
index 000000000000..b35abc50bd40
--- /dev/null
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts
@@ -0,0 +1,991 @@
diff -rupN linux.orig/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts linux/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts
--- linux.orig/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts 1970-01-01 00:00:00.000000000 +0000
+++ linux/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts 2023-09-12 13:20:28.956694441 +0000
@@ -0,0 +1,1015 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2022 Neil Armstrong <narmstrong@kernel.org>
@ -385,7 +383,11 @@ index 000000000000..b35abc50bd40
+ opp-microvolt = <987500>;
+ };
+ opp-1992000000 {
+ opp-microvolt = <1012500>;
+ opp-microvolt = <1050000>;
+ };
+ opp-2016000000 {
+ opp-hz = /bits/ 64 <2016000000>;
+ opp-microvolt = <1050000>;
+ };
+};
+
@ -415,6 +417,26 @@ index 000000000000..b35abc50bd40
+ opp-1908000000 {
+ opp-microvolt = <1025000>;
+ };
+ opp-2016000000 {
+ opp-hz = /bits/ 64 <2016000000>;
+ opp-microvolt = <1025000>;
+ };
+ opp-2100000000 {
+ opp-hz = /bits/ 64 <2100000000>;
+ opp-microvolt = <1025000>;
+ };
+ opp-2208000000 {
+ opp-hz = /bits/ 64 <2208000000>;
+ opp-microvolt = <1050000>;
+ };
+ opp-2304000000 {
+ opp-hz = /bits/ 64 <2304000000>;
+ opp-microvolt = <1050000>;
+ };
+ opp-2400000000 {
+ opp-hz = /bits/ 64 <2400000000>;
+ opp-microvolt = <1050000>;
+ };
+};
+
+&i2c_AO {

View file

@ -1,9 +1,7 @@
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-powkiddy-rgb10-max-3.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-powkiddy-rgb10-max-3.dts
new file mode 100644
index 000000000000..a0c8db0cf378
--- /dev/null
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-powkiddy-rgb10-max-3.dts
@@ -0,0 +1,986 @@
diff -rupN linux.orig/arch/arm64/boot/dts/amlogic/meson-g12b-powkiddy-rgb10-max-3.dts linux/arch/arm64/boot/dts/amlogic/meson-g12b-powkiddy-rgb10-max-3.dts
--- linux.orig/arch/arm64/boot/dts/amlogic/meson-g12b-powkiddy-rgb10-max-3.dts 1970-01-01 00:00:00.000000000 +0000
+++ linux/arch/arm64/boot/dts/amlogic/meson-g12b-powkiddy-rgb10-max-3.dts 2023-09-12 12:04:13.567330573 +0000
@@ -0,0 +1,989 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2022 Neil Armstrong <narmstrong@kernel.org>
@ -353,62 +351,65 @@ index 000000000000..a0c8db0cf378
+/* RK817 only supports 12.5mV steps, round up the values */
+&cpu_opp_table_0 {
+ opp-1000000000 {
+ opp-microvolt = <762500>;
+ opp-microvolt = <760000>;
+ };
+ opp-1200000000 {
+ opp-microvolt = <787500>;
+ opp-microvolt = <780000>;
+ };
+ opp-1398000000 {
+ opp-microvolt = <812500>;
+ opp-microvolt = <800000>;
+ };
+ opp-1512000000 {
+ opp-microvolt = <862500>;
+ opp-microvolt = <860000>;
+ };
+ opp-1608000000 {
+ opp-microvolt = <912500>;
+ opp-microvolt = <900000>;
+ };
+ opp-1704000000 {
+ opp-microvolt = <962500>;
+ opp-microvolt = <950000>;
+ };
+ opp-1800000000 {
+ opp-microvolt = <1012500>;
+ opp-microvolt = <1000000>;
+ };
+};
+
+/* RK818 only supports 12.5mV steps, round up the values */
+&cpub_opp_table_1 {
+ opp-1000000000 {
+ opp-microvolt = <737500>;
+ opp-microvolt = <775000>;
+ };
+ opp-1200000000 {
+ opp-microvolt = <762500>;
+ opp-microvolt = <775000>;
+ };
+ opp-1398000000 {
+ opp-microvolt = <775000>;
+ };
+ opp-1512000000 {
+ opp-microvolt = <775000>;
+ };
+ opp-1608000000 {
+ opp-microvolt = <787500>;
+ };
+ opp-1704000000 {
+ opp-microvolt = <800000>;
+ };
+ opp-1800000000 {
+ opp-microvolt = <837500>;
+ opp-1512000000 {
+ opp-microvolt = <825000>;
+ };
+ opp-1908000000 {
+ opp-1608000000 {
+ opp-microvolt = <862500>;
+ };
+ opp-2016000000 {
+ opp-microvolt = <912500>;
+ opp-1704000000 {
+ opp-microvolt = <900000>;
+ };
+ opp-2108000000 {
+ opp-microvolt = <962500>;
+ opp-1800000000 {
+ opp-microvolt = <987500>;
+ };
+ opp-1908000000 {
+ opp-microvolt = <1025000>;
+ };
+ opp-2016000000 {
+ opp-hz = /bits/ 64 <2016000000>;
+ opp-microvolt = <1025000>;
+ };
+ opp-2100000000 {
+ opp-hz = /bits/ 64 <2100000000>;
+ opp-microvolt = <1025000>;
+ };
+ opp-2208000000 {
+ opp-microvolt = <1012500>;
+ opp-hz = /bits/ 64 <2208000000>;
+ opp-microvolt = <1050000>;
+ };
+};
+