summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/mps2.dtsi
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2020-08-28 16:20:14 +0200
committerSudeep Holla <sudeep.holla@arm.com>2020-09-07 11:49:35 +0200
commit34a459187180d4049b00fcf12fad6603011d4d7a (patch)
treee9151393b80bc808474507749316eae1e7a764fa /arch/arm/boot/dts/mps2.dtsi
parentLinux 5.9-rc1 (diff)
downloadlinux-34a459187180d4049b00fcf12fad6603011d4d7a.tar.xz
linux-34a459187180d4049b00fcf12fad6603011d4d7a.zip
ARM: dts: arm: Fix SP804 users
The SP804 DT nodes for Realview, MPS2 and VExpress were not complying with the binding: it requires either one or three clocks, but does not allow exactly two clocks. Simply duplicate the first clock to satisfy the binding requirement. For MPS2, we triple the clock, and add the clock-names property, as this is required by the Linux primecell driver. Try to make the clock-names more consistent on the way. Link: https://lore.kernel.org/r/20200828142018.43298-3-andre.przywara@arm.com Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'arch/arm/boot/dts/mps2.dtsi')
-rw-r--r--arch/arm/boot/dts/mps2.dtsi6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/mps2.dtsi b/arch/arm/boot/dts/mps2.dtsi
index 96fb5a5cf4d3..48c34fa282af 100644
--- a/arch/arm/boot/dts/mps2.dtsi
+++ b/arch/arm/boot/dts/mps2.dtsi
@@ -161,9 +161,11 @@
};
timer2: dual-timer@2000 {
- compatible = "arm,sp804";
+ compatible = "arm,sp804", "arm,primecell";
reg = <0x2000 0x1000>;
- clocks = <&sysclk>;
+ clocks = <&sysclk>, <&sysclk>, <&sysclk>;
+ clock-names = "timer0clk", "timer1clk",
+ "apb_pclk";
interrupts = <10>;
status = "disabled";
};