[PATCH] arm: armada: dts: Add clock to armada-ap80x uart1

Stefan Roese sr at denx.de
Mon Nov 7 09:23:19 CET 2022


On 20.10.22 23:21, Hamish Martin wrote:
> The uart1 node was missing the 'clock-frequency' property. This meant
> the driver for this device would fail at probe.
> The clock for uart1 is fed from the same source as uart0 and is a fixed
> 200MHz clock. This is confirmed via documentation for the CN9130 SoC
> and from the equivalent code in Linux at:
> <linux>/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi
> where uart0 and uart1 share a common 'clocks' definition.
> 
> Signed-off-by: Hamish Martin <hamish.martin at alliedtelesis.co.nz>

Applied to u-boot-marvell/master

Thanks,
Stefan

> ---
>   arch/arm/dts/armada-ap80x.dtsi | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/armada-ap80x.dtsi b/arch/arm/dts/armada-ap80x.dtsi
> index 8787a872d85e..ab3c32e0e586 100644
> --- a/arch/arm/dts/armada-ap80x.dtsi
> +++ b/arch/arm/dts/armada-ap80x.dtsi
> @@ -181,7 +181,7 @@
>   				reg-io-width = <1>;
>   				clocks = <&ap_syscon 3>;
>   				status = "disabled";
> -
> +				clock-frequency = <200000000>;
>   			};
>   
>   			watchdog: watchdog at 610000 {

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list