layerscape: add patches-5.4
[openwrt/staging/mkresin.git] / target / linux / layerscape / patches-5.4 / 302-dts-0027-arm64-dts-lx2160a-rdb-Add-Inphi-PHY-node.patch
1 From 7ff4d2213c5b21008bebf43ae5a60b4275f91c55 Mon Sep 17 00:00:00 2001
2 From: Ioana Radulescu <ruxandra.radulescu@nxp.com>
3 Date: Mon, 29 Oct 2018 18:41:07 +0200
4 Subject: [PATCH] arm64: dts: lx2160a-rdb: Add Inphi PHY node
5
6 DPMAC5 and DPMAC6 are connected to 25G Inphi PHY
7
8 Signed-off-by: Vicentiu Galanopulo <vicentiu.galanopulo@nxp.com>
9 Signed-off-by: Florin Chiculita <florinlaurentiu.chiculita@nxp.com>
10 Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
11 ---
12 arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 17 +++++++++++++++++
13 1 file changed, 17 insertions(+)
14
15 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
16 +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
17 @@ -175,6 +175,23 @@
18 };
19 };
20
21 +&emdio2 {
22 + inphi_phy: emdio2_phy@0 {
23 + compatible = "ethernet-phy-ieee802.3-c45";
24 + reg = <0x0>;
25 + interrupts = <0 9 IRQ_TYPE_EDGE_FALLING>,
26 + <0 10 IRQ_TYPE_EDGE_FALLING>;
27 + };
28 +};
29 +
30 +&dpmac5 {
31 + phy-handle = <&inphi_phy>;
32 +};
33 +
34 +&dpmac6 {
35 + phy-handle = <&inphi_phy>;
36 +};
37 +
38 &dpmac17 {
39 phy-handle = <&rgmii_phy1>;
40 phy-connection-type = "rgmii-id";