arm64: dts: allwinner: a64: add CPU clock to CPU0-3 nodes
authorVasily Khoruzhick <anarsoul@gmail.com>
Wed, 8 Jan 2020 04:20:15 +0000 (20:20 -0800)
committerChen-Yu Tsai <wens@csie.org>
Mon, 13 Jan 2020 08:52:36 +0000 (16:52 +0800)
Add CPU clock to the CPU nodes since it is a prerequisite for enabling
DVFS.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
[wens@csie.org: Replace CLK_CPUX macro with raw number]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

index 293059f..72eedd3 100644 (file)
@@ -51,6 +51,8 @@
                        reg = <0>;
                        enable-method = "psci";
                        next-level-cache = <&L2>;
+                       clocks = <&ccu 21>;
+                       clock-names = "cpu";
                };
 
                cpu1: cpu@1 {
@@ -59,6 +61,8 @@
                        reg = <1>;
                        enable-method = "psci";
                        next-level-cache = <&L2>;
+                       clocks = <&ccu 21>;
+                       clock-names = "cpu";
                };
 
                cpu2: cpu@2 {
@@ -67,6 +71,8 @@
                        reg = <2>;
                        enable-method = "psci";
                        next-level-cache = <&L2>;
+                       clocks = <&ccu 21>;
+                       clock-names = "cpu";
                };
 
                cpu3: cpu@3 {
@@ -75,6 +81,8 @@
                        reg = <3>;
                        enable-method = "psci";
                        next-level-cache = <&L2>;
+                       clocks = <&ccu 21>;
+                       clock-names = "cpu";
                };
 
                L2: l2-cache {