76 lines
1.7 KiB
Diff
76 lines
1.7 KiB
Diff
From 36934c54b2c8f882b8c4700a69f8b91b5bf4811a Mon Sep 17 00:00:00 2001
|
|
From: Paolo Sabatino <paolo.sabatino@gmail.com>
|
|
Date: Tue, 12 Oct 2021 18:31:28 +0000
|
|
Subject: [PATCH] enable roc-cc dmc
|
|
|
|
---
|
|
.../arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 38 +++++++++++++++++++
|
|
1 file changed, 38 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
|
|
index daa9a0c60..dc6583be5 100644
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
|
|
@@ -4,6 +4,7 @@
|
|
*/
|
|
|
|
/dts-v1/;
|
|
+#include "rk3328-dram-renegade-timing.dtsi"
|
|
#include "rk3328.dtsi"
|
|
|
|
/ {
|
|
@@ -14,6 +15,32 @@ chosen {
|
|
stdout-path = "serial2:1500000n8";
|
|
};
|
|
|
|
+ /delete-node/ dmc-opp-table;
|
|
+ dmc_opp_table: dmc-opp-table {
|
|
+ compatible = "operating-points-v2";
|
|
+
|
|
+ opp-786000000 {
|
|
+ opp-hz = /bits/ 64 <786000000>;
|
|
+ opp-microvolt = <1075000 1075000 12000000>;
|
|
+ };
|
|
+ opp-798000000 {
|
|
+ opp-hz = /bits/ 64 <798000000>;
|
|
+ opp-microvolt = <1075000 1075000 12000000>;
|
|
+ };
|
|
+ opp-840000000 {
|
|
+ opp-hz = /bits/ 64 <840000000>;
|
|
+ opp-microvolt = <1075000 1075000 12000000>;
|
|
+ };
|
|
+ opp-924000000 {
|
|
+ opp-hz = /bits/ 64 <924000000>;
|
|
+ opp-microvolt = <1100000 1100000 12000000>;
|
|
+ };
|
|
+ opp-1068000000 {
|
|
+ opp-hz = /bits/ 64 <1068000000>;
|
|
+ opp-microvolt = <1175000 1175000 12000000>;
|
|
+ };
|
|
+ };
|
|
+
|
|
gmac_clkin: external-gmac-clock {
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <125000000>;
|
|
@@ -104,6 +131,17 @@ user_led: led-1 {
|
|
};
|
|
};
|
|
|
|
+&dfi {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&dmc {
|
|
+ center-supply = <&vdd_logic>;
|
|
+ ddr_timing = <&ddr_timing>;
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+
|
|
&cpu0 {
|
|
cpu-supply = <&vdd_arm>;
|
|
};
|
|
--
|
|
2.30.2
|
|
|