diff options
author | Andre Przywara <andre.przywara@arm.com> | 2020-08-28 14:05:59 +0100 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2020-09-07 10:54:08 +0100 |
commit | a894c6dd56c99a44d550f65fbe87d00377b9dc3d (patch) | |
tree | d1e808ad6e4064d2be5986d9be895639266aea7a /arch/arm/boot/dts/mps2.dtsi | |
parent | 34a459187180d4049b00fcf12fad6603011d4d7a (diff) | |
download | linux-a894c6dd56c99a44d550f65fbe87d00377b9dc3d.tar.bz2 |
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/mps2.dtsi')
-rw-r--r-- | arch/arm/boot/dts/mps2.dtsi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/mps2.dtsi b/arch/arm/boot/dts/mps2.dtsi index 48c34fa282af..37f5023f529c 100644 --- a/arch/arm/boot/dts/mps2.dtsi +++ b/arch/arm/boot/dts/mps2.dtsi @@ -199,8 +199,8 @@ arm,primecell-periphid = <0x00141805>; reg = <0x8000 0x1000>; interrupts = <0>; - clocks = <&sysclk>; - clock-names = "apb_pclk"; + clocks = <&sysclk>, <&sysclk>; + clock-names = "wdog_clk", "apb_pclk"; status = "disabled"; }; }; |