]> Git Repo - linux.git/commitdiff
arm64: dts: meson: g12a: x96-max: add the Ethernet PHY interrupt line
authorMartin Blumenstingl <[email protected]>
Sat, 15 Jun 2019 10:43:51 +0000 (12:43 +0200)
committerKevin Hilman <[email protected]>
Thu, 20 Jun 2019 03:37:04 +0000 (20:37 -0700)
X96 Max has the PHY reset and interrupt lines are identical to the
Odroid-N2:
- GPIOZ_14 is the interrupt on X96 Max
- GPIOZ_15 is the reset line on X96 Max

Add GPIOZ_14 as PHY interrupt line on the X96 Max so we don't have to
poll for the PHY status.

Suggested-by: Neil Armstrong <[email protected]>
Acked-by: Neil Armstrong <[email protected]>
Tested-by: Neil Armstrong <[email protected]>
Signed-off-by: Martin Blumenstingl <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts

index 3f9385553132f2b10af4498dd51274168bf86a8c..fe4013cca87643f60d8238133b0ab2353a4b1666 100644 (file)
                reset-assert-us = <10000>;
                reset-deassert-us = <30000>;
                reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
+
+               interrupt-parent = <&gpio_intc>;
+               /* MAC_INTR on GPIOZ_14 */
+               interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
        };
 };
 
This page took 0.0551 seconds and 4 git commands to generate.