dcbd8779a304eb8684d5ff2c560a9d0b945e1a0e
[buildroot.git] /
1 From 7a67e72567a9b6104c7ebe134e710610cfb88a6e Mon Sep 17 00:00:00 2001
2 From: Sergey Matyukevich <geomatsi@gmail.com>
3 Date: Fri, 8 Dec 2017 23:11:29 +0300
4 Subject: [PATCH] arm64: dts: marvell: mcbin: add comphy references to Ethernet ports
5
6 This patch adds comphy phandles to the Ethernet ports in the mcbin
7 device tree. The comphy is used to configure the serdes PHYs used by
8 these ports.
9
10 Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
11 Reviewed-by: Andrew Lunn <andrew@lunn.ch>
12 Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
13 Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
14 ---
15 arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 9 +++++++++
16 1 file changed, 9 insertions(+)
17
18 diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
19 index acf5c7d16d79..49d6590507b5 100644
20 --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
21 +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
22 @@ -222,8 +222,11 @@
23
24 &cpm_eth0 {
25 status = "okay";
26 + /* Network PHY */
27 phy = <&phy0>;
28 phy-mode = "10gbase-kr";
29 + /* Generic PHY, providing serdes lanes */
30 + phys = <&cpm_comphy4 0>;
31 };
32
33 &cpm_sata0 {
34 @@ -257,15 +260,21 @@
35
36 &cps_eth0 {
37 status = "okay";
38 + /* Network PHY */
39 phy = <&phy8>;
40 phy-mode = "10gbase-kr";
41 + /* Generic PHY, providing serdes lanes */
42 + phys = <&cps_comphy4 0>;
43 };
44
45 &cps_eth1 {
46 /* CPS Lane 0 - J5 (Gigabit RJ45) */
47 status = "okay";
48 + /* Network PHY */
49 phy = <&ge_phy>;
50 phy-mode = "sgmii";
51 + /* Generic PHY, providing serdes lanes */
52 + phys = <&cps_comphy0 1>;
53 };
54
55 &cps_pinctrl {
56 --
57 2.11.0
58