]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: armada: dts: Add clock to armada-ap80x uart1
authorHamish Martin <hamish.martin@alliedtelesis.co.nz>
Thu, 20 Oct 2022 21:21:59 +0000 (10:21 +1300)
committerStefan Roese <sr@denx.de>
Mon, 7 Nov 2022 06:17:55 +0000 (07:17 +0100)
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@alliedtelesis.co.nz>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-ap80x.dtsi

index 8787a872d85e4cbac05d6cebd811a5bea2faaddf..ab3c32e0e586511c82767ba334744a37a875a90e 100644 (file)
                                reg-io-width = <1>;
                                clocks = <&ap_syscon 3>;
                                status = "disabled";
-
+                               clock-frequency = <200000000>;
                        };
 
                        watchdog: watchdog@610000 {