layerscape: add patches-5.4
[openwrt/staging/stintel.git] / target / linux / layerscape / patches-5.4 / 302-dts-0028-arm64-dts-lx2160a-rdb-Add-Aquantia-PHY-nodes.patch
1 From 917e2edbf55e5bc6c98802a610d8b7c05c4e9c78 Mon Sep 17 00:00:00 2001
2 From: Ioana Radulescu <ruxandra.radulescu@nxp.com>
3 Date: Mon, 29 Oct 2018 18:54:05 +0200
4 Subject: [PATCH] arm64: dts: lx2160a-rdb: Add Aquantia PHY nodes
5
6 DPMAC3 and DPMAC4 are connected to 10G Aquantia PHYs
7
8 Signed-off-by: Catalin Neacsu <valentin-catalin.neacsu@nxp.com>
9 Signed-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 };