arm64: dts: marvell: Add cpu clock node on Armada 7K/8K
authorGregory CLEMENT <gregory.clement@bootlin.com>
Tue, 11 Sep 2018 20:57:26 +0000 (22:57 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Tue, 27 Aug 2019 14:39:22 +0000 (16:39 +0200)
Add cpu clock node on AP

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-ap806-quad.dtsi
arch/arm64/boot/dts/marvell/armada-ap806.dtsi

index ea13ae7..c25bc65 100644 (file)
@@ -21,6 +21,7 @@
                        reg = <0x000>;
                        enable-method = "psci";
                        #cooling-cells = <2>;
+                       clocks = <&cpu_clk 0>;
                };
                cpu1: cpu@1 {
                        device_type = "cpu";
@@ -28,6 +29,7 @@
                        reg = <0x001>;
                        enable-method = "psci";
                        #cooling-cells = <2>;
+                       clocks = <&cpu_clk 0>;
                };
                cpu2: cpu@100 {
                        device_type = "cpu";
@@ -35,6 +37,7 @@
                        reg = <0x100>;
                        enable-method = "psci";
                        #cooling-cells = <2>;
+                       clocks = <&cpu_clk 1>;
                };
                cpu3: cpu@101 {
                        device_type = "cpu";
@@ -42,7 +45,7 @@
                        reg = <0x101>;
                        enable-method = "psci";
                        #cooling-cells = <2>;
+                       clocks = <&cpu_clk 1>;
                };
        };
-
 };
index 96228f9..d06dd19 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <1>;
 
+                               cpu_clk: clock-cpu@278 {
+                                       compatible = "marvell,ap806-cpu-clock";
+                                       clocks = <&ap_clk 0>, <&ap_clk 1>;
+                                       #clock-cells = <1>;
+                                       reg = <0x278 0xa30>;
+                               };
+
                                ap_thermal: thermal-sensor@80 {
                                        compatible = "marvell,armada-ap806-thermal";
                                        reg = <0x80 0x10>;