blob: f2d4f49995f1fa5f1d3dbb9cfe763b6c30e8afca [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From 917e2edbf55e5bc6c98802a610d8b7c05c4e9c78 Mon Sep 17 00:00:00 2001
2From: Ioana Radulescu <ruxandra.radulescu@nxp.com>
3Date: Mon, 29 Oct 2018 18:54:05 +0200
4Subject: [PATCH] arm64: dts: lx2160a-rdb: Add Aquantia PHY nodes
5
6DPMAC3 and DPMAC4 are connected to 10G Aquantia PHYs
7
8Signed-off-by: Catalin Neacsu <valentin-catalin.neacsu@nxp.com>
9Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
10---
11 arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 22 ++++++++++++++++++++++
12 1 file changed, 22 insertions(+)
13
14--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
15+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
16@@ -173,6 +173,18 @@
17 reg = <0x2>;
18 /* Poll mode - no "interrupts" property defined */
19 };
20+ aquantia_phy1: ethernet-phy@4 {
21+ /* AQR107 PHY - "compatible" property not strictly needed */
22+ compatible = "ethernet-phy-ieee802.3-c45";
23+ reg = <0x4>;
24+ /* Poll mode - no "interrupts" property defined */
25+ };
26+ aquantia_phy2: ethernet-phy@5 {
27+ /* AQR107 PHY - "compatible" property not strictly needed */
28+ compatible = "ethernet-phy-ieee802.3-c45";
29+ reg = <0x5>;
30+ /* Poll mode - no "interrupts" property defined */
31+ };
32 };
33
34 &emdio2 {
35@@ -184,6 +196,16 @@
36 };
37 };
38
39+&dpmac3 {
40+ phy-handle = <&aquantia_phy1>;
41+ phy-connection-type = "xgmii";
42+};
43+
44+&dpmac4 {
45+ phy-handle = <&aquantia_phy2>;
46+ phy-connection-type = "xgmii";
47+};
48+
49 &dpmac5 {
50 phy-handle = <&inphi_phy>;
51 };