Merge pull request #2442 from adamg88/amlogic-dts-update

Amlogic dts update
This commit is contained in:
Adam 2023-11-28 14:11:44 +00:00 committed by GitHub
commit d9cc5de305
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 31 deletions

View file

@ -1,9 +1,9 @@
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
index 000000000000..f42ebb59a59c
--- /dev/null
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts
@@ -0,0 +1,991 @@
@@ -0,0 +1,1001 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2022 Neil Armstrong <narmstrong@kernel.org>
@ -11,7 +11,7 @@ index 000000000000..b35abc50bd40
+
+/dts-v1/;
+
+#include "meson-g12b-s922x.dtsi"
+#include "meson-g12b-a311d.dtsi"
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
+#include <dt-bindings/gpio/meson-g12a-gpio.h>
@ -381,11 +381,12 @@ index 000000000000..b35abc50bd40
+ opp-1704000000 {
+ opp-microvolt = <862500>;
+ };
+ opp-1896000000 {
+ opp-1800000000 {
+ opp-microvolt = <987500>;
+ };
+ opp-1992000000 {
+ opp-microvolt = <1012500>;
+ opp-1908000000 {
+ opp-hz = /bits/ 64 <1908000000>;
+ opp-microvolt = <1050000>;
+ };
+};
+
@ -415,6 +416,15 @@ index 000000000000..b35abc50bd40
+ opp-1908000000 {
+ opp-microvolt = <1025000>;
+ };
+ opp-2016000000 {
+ opp-microvolt = <1025000>;
+ };
+ opp-2108000000 {
+ opp-microvolt = <1025000>;
+ };
+ opp-2208000000 {
+ opp-microvolt = <1050000>;
+ };
+};
+
+&i2c_AO {

View file

@ -1,6 +1,6 @@
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
index 000000000000..877663f6fb7c
--- /dev/null
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-powkiddy-rgb10-max-3.dts
@@ -0,0 +1,986 @@
@ -353,62 +353,62 @@ 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-1704000000 {
+ opp-microvolt = <900000>;
+ };
+ opp-1800000000 {
+ opp-microvolt = <987500>;
+ };
+ opp-1908000000 {
+ opp-microvolt = <1025000>;
+ };
+ opp-2016000000 {
+ opp-microvolt = <912500>;
+ opp-microvolt = <1025000>;
+ };
+ opp-2108000000 {
+ opp-microvolt = <962500>;
+ opp-microvolt = <1025000>;
+ };
+ opp-2208000000 {
+ opp-microvolt = <1012500>;
+ opp-microvolt = <1050000>;
+ };
+};
+