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 9acc5d2b5a002dfab9078ee3267f0e48e3a1f28f..673f4906eef90a4ad2505bf573abef6d8b03b1c8 100644 (file)
                                            "lane2_sata_usb3";
                                #address-cells = <1>;
                                #size-cells = <0>;
+                               clocks = <&xtalclk>;
+                               clock-names = "xtal";
 
                                comphy0: phy@0 {
                                        reg = <0>;