arm64: dts: marvell: armada-37xx: Add xtal clock to comphy node
authorPali Rohár <pali@kernel.org>
Wed, 8 Dec 2021 02:40:35 +0000 (03:40 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 17 Dec 2021 17:07:39 +0000 (18:07 +0100)
Kernel driver phy-mvebu-a3700-comphy.c needs to know the rate of the
reference xtal clock. So add missing xtal clock source into comphy device
tree node. If the property is not present, the driver defaults to 25 MHz
xtal rate (which, as far as we know, is used by all the existing boards).

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-37xx.dtsi

index 9acc5d2..673f490 100644 (file)
                                            "lane2_sata_usb3";
                                #address-cells = <1>;
                                #size-cells = <0>;
+                               clocks = <&xtalclk>;
+                               clock-names = "xtal";
 
                                comphy0: phy@0 {
                                        reg = <0>;