aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/arm-realview-pbx.dtsi
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2020-08-28 14:05:59 +0100
committerSudeep Holla <sudeep.holla@arm.com>2020-09-07 10:54:08 +0100
commita894c6dd56c99a44d550f65fbe87d00377b9dc3d (patch)
treed1e808ad6e4064d2be5986d9be895639266aea7a /arch/arm/boot/dts/arm-realview-pbx.dtsi
parentARM: dts: arm: Fix SP804 users (diff)
downloadlinux-dev-a894c6dd56c99a44d550f65fbe87d00377b9dc3d.tar.xz
linux-dev-a894c6dd56c99a44d550f65fbe87d00377b9dc3d.zip
ARM: dts: arm: Fix SP805 clocks
The SP805 binding sets the name for the actual watchdog clock to "wdog_clk" (with an underscore). Change the name in the DTs for ARM Ltd. platforms to match that. The Linux and U-Boot driver use the *first* clock for this purpose anyway, so it does not break anything. For MPS2 we only specify one clock so far, but the binding requires two clocks to be named. In practice, Linux would pick a clock named "apb_pclk" for the bus clock, and the Linux and U-Boot SP805 driver would use the first clock to derive the actual watchdog counter frequency. So since currently both are the very same clock, we can just double the clock reference, and add the correct clock-names, to match the binding. Link: https://lore.kernel.org/r/20200828130602.42203-8-andre.przywara@arm.com Reviewed-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/arm-realview-pbx.dtsi')
-rw-r--r--arch/arm/boot/dts/arm-realview-pbx.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/arm-realview-pbx.dtsi b/arch/arm/boot/dts/arm-realview-pbx.dtsi
index f61bd59ae5ba..ac95667ed781 100644
--- a/arch/arm/boot/dts/arm-realview-pbx.dtsi
+++ b/arch/arm/boot/dts/arm-realview-pbx.dtsi
@@ -381,7 +381,7 @@
compatible = "arm,sp805", "arm,primecell";
reg = <0x1000f000 0x1000>;
clocks = <&wdogclk>, <&pclk>;
- clock-names = "wdogclk", "apb_pclk";
+ clock-names = "wdog_clk", "apb_pclk";
status = "disabled";
};
@@ -389,7 +389,7 @@
compatible = "arm,sp805", "arm,primecell";
reg = <0x10010000 0x1000>;
clocks = <&wdogclk>, <&pclk>;
- clock-names = "wdogclk", "apb_pclk";
+ clock-names = "wdog_clk", "apb_pclk";
status = "disabled";
};