33203a154ddf5b918aef739dcaa4eebf7878d8e8
[openwrt/openwrt.git] /
1 From 66c51c39fd4bf05e99debf0e71de5704231c57dc Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Pali=20Roh=C3=A1r?= <pali@kernel.org>
3 Date: Thu, 23 Sep 2021 19:26:26 +0200
4 Subject: [PATCH] arm64: dts: marvell: armada-37xx: Add xtal clock to comphy
5 node
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
9
10 Kernel driver phy-mvebu-a3700-comphy.c needs to know the rate of the
11 reference xtal clock. So add missing xtal clock source into comphy device
12 tree node. If the property is not present, the driver defaults to 25 MHz
13 xtal rate (which, as far as we know, is used by all the existing boards).
14
15 Signed-off-by: Pali Rohár <pali@kernel.org>
16 Signed-off-by: Marek Behún <kabel@kernel.org>
17 ---
18 arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 2 ++
19 1 file changed, 2 insertions(+)
20
21 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
22 +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
23 @@ -265,6 +265,8 @@
24 "lane2_sata_usb3";
25 #address-cells = <1>;
26 #size-cells = <0>;
27 + clocks = <&xtalclk>;
28 + clock-names = "xtal";
29
30 comphy0: phy@0 {
31 reg = <0>;