7725311740db212d1c5e5d1c453ab6cf27527d46
[openwrt/staging/wigyori.git] / target / linux / layerscape / patches-5.4 / 302-dts-0050-arm64-dts-lx2160a-add-interrupt-property-for-aquanti.patch
1 From e260d97c7875d5ef6aca11e49bf2784966a877c2 Mon Sep 17 00:00:00 2001
2 From: Florin Chiculita <florinlaurentiu.chiculita@nxp.com>
3 Date: Thu, 4 Apr 2019 17:44:46 +0300
4 Subject: [PATCH] arm64: dts: lx2160a: add interrupt property for aquantia phy
5
6 Add interrupt property for Aquantia AQR107 ethernet phy, currently
7 working in polling mode.
8
9 Signed-off-by: Florin Chiculita <florinlaurentiu.chiculita@nxp.com>
10 ---
11 arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
15 +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
16 @@ -184,14 +184,14 @@
17 aquantia_phy1: ethernet-phy@4 {
18 /* AQR107 PHY - "compatible" property not strictly needed */
19 compatible = "ethernet-phy-ieee802.3-c45";
20 + interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
21 reg = <0x4>;
22 - /* Poll mode - no "interrupts" property defined */
23 };
24 aquantia_phy2: ethernet-phy@5 {
25 /* AQR107 PHY - "compatible" property not strictly needed */
26 compatible = "ethernet-phy-ieee802.3-c45";
27 + interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
28 reg = <0x5>;
29 - /* Poll mode - no "interrupts" property defined */
30 };
31 };
32