Commit c00bc383 authored by Gregory CLEMENT's avatar Gregory CLEMENT

arm64: dts: marvell: Add cpu clock node on Armada 7K/8K

Add cpu clock node on AP
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
parent 96018a6f
...@@ -21,6 +21,7 @@ cpu0: cpu@0 { ...@@ -21,6 +21,7 @@ cpu0: cpu@0 {
reg = <0x000>; reg = <0x000>;
enable-method = "psci"; enable-method = "psci";
#cooling-cells = <2>; #cooling-cells = <2>;
clocks = <&cpu_clk 0>;
}; };
cpu1: cpu@1 { cpu1: cpu@1 {
device_type = "cpu"; device_type = "cpu";
...@@ -28,6 +29,7 @@ cpu1: cpu@1 { ...@@ -28,6 +29,7 @@ cpu1: cpu@1 {
reg = <0x001>; reg = <0x001>;
enable-method = "psci"; enable-method = "psci";
#cooling-cells = <2>; #cooling-cells = <2>;
clocks = <&cpu_clk 0>;
}; };
cpu2: cpu@100 { cpu2: cpu@100 {
device_type = "cpu"; device_type = "cpu";
...@@ -35,6 +37,7 @@ cpu2: cpu@100 { ...@@ -35,6 +37,7 @@ cpu2: cpu@100 {
reg = <0x100>; reg = <0x100>;
enable-method = "psci"; enable-method = "psci";
#cooling-cells = <2>; #cooling-cells = <2>;
clocks = <&cpu_clk 1>;
}; };
cpu3: cpu@101 { cpu3: cpu@101 {
device_type = "cpu"; device_type = "cpu";
...@@ -42,7 +45,7 @@ cpu3: cpu@101 { ...@@ -42,7 +45,7 @@ cpu3: cpu@101 {
reg = <0x101>; reg = <0x101>;
enable-method = "psci"; enable-method = "psci";
#cooling-cells = <2>; #cooling-cells = <2>;
clocks = <&cpu_clk 1>;
}; };
}; };
}; };
...@@ -280,6 +280,13 @@ ap_syscon1: system-controller@6f8000 { ...@@ -280,6 +280,13 @@ ap_syscon1: system-controller@6f8000 {
#address-cells = <1>; #address-cells = <1>;
#size-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 { ap_thermal: thermal-sensor@80 {
compatible = "marvell,armada-ap806-thermal"; compatible = "marvell,armada-ap806-thermal";
reg = <0x80 0x10>; reg = <0x80 0x10>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment