layerscape: remove useless pairs of kernel patches
[openwrt/staging/wigyori.git] / target / linux / layerscape / patches-5.4 / 302-dts-0021-arm64-dts-lx2160a-rdb-Add-RGMII-PHY-nodes-for-dpmac-.patch
1 From 08726d24b8552e4a986631090e063d38cd2d82cf Mon Sep 17 00:00:00 2001
2 From: Vladimir Oltean <vladimir.oltean@nxp.com>
3 Date: Tue, 10 Jul 2018 13:56:56 +0300
4 Subject: [PATCH] arm64: dts: lx2160a-rdb: Add RGMII PHY nodes for dpmac 17 and
5 18
6
7 * Both are AR8035 chips
8
9 Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
10 ---
11 arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 25 +++++++++++++++++++++++
12 1 file changed, 25 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 @@ -159,3 +159,28 @@
17 &usb1 {
18 status = "okay";
19 };
20 +
21 +&emdio1 {
22 + rgmii_phy1: ethernet-phy@1 {
23 + /* AR8035 PHY - "compatible" property not strictly needed */
24 + compatible = "ethernet-phy-id004d.d072";
25 + reg = <0x1>;
26 + /* Poll mode - no "interrupts" property defined */
27 + };
28 + rgmii_phy2: ethernet-phy@2 {
29 + /* AR8035 PHY - "compatible" property not strictly needed */
30 + compatible = "ethernet-phy-id004d.d072";
31 + reg = <0x2>;
32 + /* Poll mode - no "interrupts" property defined */
33 + };
34 +};
35 +
36 +&dpmac17 {
37 + phy-handle = <&rgmii_phy1>;
38 + phy-connection-type = "rgmii-id";
39 +};
40 +
41 +&dpmac18 {
42 + phy-handle = <&rgmii_phy2>;
43 + phy-connection-type = "rgmii-id";
44 +};