arm64: dts: hisilicon: Fix SP805 clocks
authorAndre Przywara <andre.przywara@arm.com>
Mon, 7 Sep 2020 12:18:29 +0000 (13:18 +0100)
committerWei Xu <xuwei5@hisilicon.com>
Mon, 14 Sep 2020 07:27:04 +0000 (15:27 +0800)
commita665b2c1d28403e385054447cc319095527bedde
treee4928ad98dd25ff172da336627745adc3adc3919
parent64ea21e0173778c5dde08394418cfd5e8cf54641
arm64: 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/arm64/boot/dts/hisilicon/hi3660.dtsi
arch/arm64/boot/dts/hisilicon/hi6220.dtsi