ARM: dts: hisilicon: Fix SP805 clocks
authorAndre Przywara <andre.przywara@arm.com>
Mon, 7 Sep 2020 12:18:31 +0000 (13:18 +0100)
committerWei Xu <xuwei5@hisilicon.com>
Mon, 14 Sep 2020 08:31:06 +0000 (16:31 +0800)
commit3328c656663f59382879992419859d73f359ac59
treeb04a4ab67b941df7d1e0fe71783e46d4d5607cf2
parentc26979a7acf20ab093513d8c09e371b212e02ded
ARM: dts: hisilicon: Fix SP805 clocks

The SP805 DT binding requires two clocks to be specified, but
Hisilicon platform DTs currently only specify 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>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm/boot/dts/hisi-x5hd2.dtsi