lkml.org 
[lkml]   [2019]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC 4/5] dts: bcm2837: add per-cpu clock devices
Date
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@suse.de>
---
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
\
 
 \ /
  Last update: 2019-05-17 17:36    [W:0.043 / U:45.860 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site