49 lines
1.2 KiB
Diff
49 lines
1.2 KiB
Diff
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
From: Paolo Sabatino <paolo.sabatino@gmail.com>
|
||
|
Date: Sat, 25 Sep 2021 15:26:41 +0000
|
||
|
Subject: gpu operating points
|
||
|
|
||
|
---
|
||
|
arch/arm64/boot/dts/rockchip/rk3328.dtsi | 25 ++++++++++
|
||
|
1 file changed, 25 insertions(+)
|
||
|
|
||
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
|
||
|
index e9f0f1e5ba32..732e123bb93d 100644
|
||
|
--- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
|
||
|
+++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
|
||
|
@@ -683,6 +683,31 @@ gpu: gpu@ff300000 {
|
||
|
clocks = <&cru ACLK_GPU>, <&cru ACLK_GPU>;
|
||
|
clock-names = "bus", "core";
|
||
|
resets = <&cru SRST_GPU_A>;
|
||
|
+ operating-points-v2 = <&gpu_opp_table>;
|
||
|
+ };
|
||
|
+
|
||
|
+ gpu_opp_table: gpu-opp-table {
|
||
|
+ compatible = "operating-points-v2";
|
||
|
+
|
||
|
+ opp-200000000 {
|
||
|
+ opp-hz = /bits/ 64 <200000000>;
|
||
|
+ opp-microvolt = <1050000 950000 1200000>;
|
||
|
+ };
|
||
|
+
|
||
|
+ opp-300000000 {
|
||
|
+ opp-hz = /bits/ 64 <300000000>;
|
||
|
+ opp-microvolt = <1050000 950000 1200000>;
|
||
|
+ };
|
||
|
+
|
||
|
+ opp-400000000 {
|
||
|
+ opp-hz = /bits/ 64 <400000000>;
|
||
|
+ opp-microvolt = <1050000 950000 1200000>;
|
||
|
+ };
|
||
|
+
|
||
|
+ opp-500000000 {
|
||
|
+ opp-hz = /bits/ 64 <500000000>;
|
||
|
+ opp-microvolt = <1150000 950000 1200000>;
|
||
|
+ };
|
||
|
};
|
||
|
|
||
|
h265e_mmu: iommu@ff330200 {
|
||
|
--
|
||
|
Armbian
|
||
|
|