ARM: dts: Cygnus: Fix SP805 clocks
authorAndre Przywara <andre.przywara@arm.com>
Fri, 28 Aug 2020 13:06:00 +0000 (14:06 +0100)
committerFlorian Fainelli <f.fainelli@gmail.com>
Thu, 10 Sep 2020 20:35:19 +0000 (13:35 -0700)
commit9d6693369fc782b33168255fe3cd760796dba59c
tree699b3477fda29919d799aa2edf03929b71ad1421
parent5d00306e3aae170658e27413b6d7bf211547ea0f
ARM: dts: Cygnus: Fix SP805 clocks

The SP805 DT binding requires two clocks to be specified, but the
Broadcom Cygnus DT currently only specifies one clock.

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.

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.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm-cygnus.dtsi