[RFC 4/5] dts: bcm2837: add per-cpu clock devices

From: Nicolas Saenz Julienne
Date: Fri May 17 2019 - 11:37:27 EST


The four CPUs share a same clock source called pllb_arm. The clock can
be scaled through the raspberrypi firmware interface.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@xxxxxxx>
---
arch/arm/boot/dts/bcm2837.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/bcm2837.dtsi b/arch/arm/boot/dts/bcm2837.dtsi
index beb6c502dadc..a8fea6696b42 100644
--- a/arch/arm/boot/dts/bcm2837.dtsi
+++ b/arch/arm/boot/dts/bcm2837.dtsi
@@ -44,6 +44,8 @@
reg = <0>;
enable-method = "spin-table";
cpu-release-addr = <0x0 0x000000d8>;
+ clocks = <&clocks BCM2835_PLLB_ARM>;
+ clock-names = "pllb_arm";
};

cpu1: cpu@1 {
@@ -52,6 +54,8 @@
reg = <1>;
enable-method = "spin-table";
cpu-release-addr = <0x0 0x000000e0>;
+ clocks = <&clocks BCM2835_PLLB_ARM>;
+ clock-names = "pllb_arm";
};

cpu2: cpu@2 {
@@ -60,6 +64,8 @@
reg = <2>;
enable-method = "spin-table";
cpu-release-addr = <0x0 0x000000e8>;
+ clocks = <&clocks BCM2835_PLLB_ARM>;
+ clock-names = "pllb_arm";
};

cpu3: cpu@3 {
@@ -68,6 +74,8 @@
reg = <3>;
enable-method = "spin-table";
cpu-release-addr = <0x0 0x000000f0>;
+ clocks = <&clocks BCM2835_PLLB_ARM>;
+ clock-names = "pllb_arm";
};
};
};
--
2.21.0