ARM64: dts: meson-gx: add external PHY interrupt on some platforms
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 19 Oct 2017 12:01:43 +0000 (14:01 +0200)
committerKevin Hilman <khilman@baylibre.com>
Sun, 29 Oct 2017 15:44:04 +0000 (08:44 -0700)
Add the external PHY interrupt on the nanopi-k2, odroid-c2, p200, p230
and q200

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts
arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts

index 2e853c0..4a42510 100644 (file)
                eth_phy0: ethernet-phy@0 {
                        /* Realtek RTL8211F (0x001cc916) */
                        reg = <0>;
+                       interrupt-parent = <&gpio_intc>;
+                       interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
                };
        };
 };
index 2e5ed59..f8d2214 100644 (file)
 
                eth_phy0: ethernet-phy@0 {
                        reg = <0>;
+                       interrupt-parent = <&gpio_intc>;
+                       interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
                        eee-broken-1000t;
                };
        };
index 2054a47..9bf16bb 100644 (file)
                eth_phy0: ethernet-phy@3 {
                        /* Micrel KSZ9031 (0x00221620) */
                        reg = <3>;
+                       interrupt-parent = <&gpio_intc>;
+                       interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
                };
        };
 };
index 6827f23..4f3f03f 100644 (file)
                compatible = "ethernet-phy-id001c.c916", "ethernet-phy-ieee802.3-c22";
                reg = <0>;
                max-speed = <1000>;
+               interrupt-parent = <&gpio_intc>;
+               interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
        };
 };
 
index b65776b..66c6da7 100644 (file)
                compatible = "ethernet-phy-id001c.c916", "ethernet-phy-ieee802.3-c22";
                reg = <0>;
                max-speed = <1000>;
+               interrupt-parent = <&gpio_intc>;
+               interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
        };
 };