a522d3f516597360c92435ad37a2436cef8446ae
[openwrt/staging/dangole.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 diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
22 index 2a2015a15362..a7262d2591dc 100644
23 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
24 +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
25 @@ -265,6 +265,8 @@ comphy: phy@18300 {
26 "lane2_sata_usb3";
27 #address-cells = <1>;
28 #size-cells = <0>;
29 + clocks = <&xtalclk>;
30 + clock-names = "xtal";
31
32 comphy0: phy@0 {
33 reg = <0>;
34 --
35 2.34.1
36