diff mbox series

arm64: dts: meson-axg: s400: Enable PHY interrupt

Message ID 20181205155207.25568-1-ccaione@baylibre.com (mailing list archive)
State Accepted
Commit bceed62394e621f1cd7aef2577a084446537fde0
Headers show
Series arm64: dts: meson-axg: s400: Enable PHY interrupt | expand

Commit Message

Carlo Caione Dec. 5, 2018, 3:52 p.m. UTC
Now that the GPIO controller has been enabled also on AXG we can hook up
the GPIO interrupt for the PHY.

Tested-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Carlo Caione <ccaione@baylibre.com>
---

This depends on https://patchwork.kernel.org/patch/10707741/

---
 arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 2 ++
 1 file changed, 2 insertions(+)

Comments

Kevin Hilman Dec. 5, 2018, 5:10 p.m. UTC | #1
Carlo Caione <ccaione@baylibre.com> writes:

> Now that the GPIO controller has been enabled also on AXG we can hook up
> the GPIO interrupt for the PHY.
>
> Tested-by: Jerome Brunet <jbrunet@baylibre.com>
> Signed-off-by: Carlo Caione <ccaione@baylibre.com>
> ---
>
> This depends on https://patchwork.kernel.org/patch/10707741/

Queued for v4.21 on top of dependency (thanks for noting it!)

Kevin
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
index 18778ada7bd3..e7efb5a76f04 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
@@ -357,6 +357,8 @@ 
 		eth_phy0: ethernet-phy@0 {
 			/* Realtek RTL8211F (0x001cc916) */
 			reg = <0>;
+			interrupt-parent = <&gpio_intc>;
+			interrupts = <98 IRQ_TYPE_LEVEL_LOW>;
 			eee-broken-1000t;
 		};
 	};