summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/rv1108.dtsi
diff options
context:
space:
mode:
authorAndy Yan <andy.yan@rock-chips.com>2017-08-22 15:11:55 +0200
committerHeiko Stuebner <heiko@sntech.de>2017-08-23 01:30:47 +0200
commit38baa5a90c61c5a9105f6e649c7ac8542fc3ce5a (patch)
tree7f3a05fd5d666689492f66dfab1772932448611b /arch/arm/boot/dts/rv1108.dtsi
parentARM: dts: rockchip: add rk322x iommu nodes (diff)
downloadlinux-38baa5a90c61c5a9105f6e649c7ac8542fc3ce5a.tar.xz
linux-38baa5a90c61c5a9105f6e649c7ac8542fc3ce5a.zip
ARM: dts: rockchip: add cpu opp table for rv1108
Add cpu opp table for rv1108 to support frequency from 408MHZ to 1008MHZ. Signed-off-by: Andy Yan <andy.yan@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rv1108.dtsi')
-rw-r--r--arch/arm/boot/dts/rv1108.dtsi27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi
index 25fab0b80f53..6dd7f7c46bc7 100644
--- a/arch/arm/boot/dts/rv1108.dtsi
+++ b/arch/arm/boot/dts/rv1108.dtsi
@@ -69,6 +69,33 @@
device_type = "cpu";
compatible = "arm,cortex-a7";
reg = <0xf00>;
+ clocks = <&cru ARMCLK>;
+ operating-points-v2 = <&cpu_opp_table>;
+ };
+ };
+
+ cpu_opp_table: opp_table {
+ compatible = "operating-points-v2";
+
+ opp-408000000 {
+ opp-hz = /bits/ 64 <408000000>;
+ opp-microvolt = <975000>;
+ clock-latency-ns = <40000>;
+ };
+ opp-600000000 {
+ opp-hz = /bits/ 64 <600000000>;
+ opp-microvolt = <975000>;
+ clock-latency-ns = <40000>;
+ };
+ opp-816000000 {
+ opp-hz = /bits/ 64 <816000000>;
+ opp-microvolt = <1025000>;
+ clock-latency-ns = <40000>;
+ };
+ opp-1008000000 {
+ opp-hz = /bits/ 64 <1008000000>;
+ opp-microvolt = <1150000>;
+ clock-latency-ns = <40000>;
};
};