1 From e8d66e7927b2a15310df0eb44a67d120ea147a59 Mon Sep 17 00:00:00 2001
2 From: Gregory CLEMENT <gregory.clement@free-electrons.com>
3 Date: Thu, 14 Dec 2017 16:00:06 +0100
4 Subject: arm64: dts: marvell: armada-37xx: add nodes allowing cpufreq
7 In order to be able to use cpu freq, we need to associate a clock to each
8 CPU and to expose the power management registers.
10 Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
12 arch/arm64/boot/dts/marvell/armada-372x.dtsi | 1 +
13 arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 7 +++++++
14 2 files changed, 8 insertions(+)
16 --- a/arch/arm64/boot/dts/marvell/armada-372x.dtsi
17 +++ b/arch/arm64/boot/dts/marvell/armada-372x.dtsi
20 compatible = "arm,cortex-a53","arm,armv8";
22 + clocks = <&nb_periph_clk 16>;
23 enable-method = "psci";
26 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
27 +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
30 compatible = "arm,cortex-a53", "arm,armv8";
32 + clocks = <&nb_periph_clk 16>;
33 enable-method = "psci";
40 + nb_pm: syscon@14000 {
41 + compatible = "marvell,armada-3700-nb-pm",
43 + reg = <0x14000 0x60>;
46 pinctrl_sb: pinctrl@18800 {
47 compatible = "marvell,armada3710-sb-pinctrl",
48 "syscon", "simple-mfd";