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 2e853c082a654f36926ddc409ec5f2f89ed04c60..4a4251001bfd51d0bfe0e514f6cfc70c5d9c81fd 100644 (file)
                eth_phy0: ethernet-phy@0 {
                        /* Realtek RTL8211F (0x001cc916) */
                        reg = <0>;
+                       interrupt-parent = <&gpio_intc>;
+                       interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
                };
        };
 };
index 2e5ed59e697edf1fde7b95354c13d7f61e586913..f8d221463c60ab1201c580eb0e941a5f0d812673 100644 (file)
 
                eth_phy0: ethernet-phy@0 {
                        reg = <0>;
+                       interrupt-parent = <&gpio_intc>;
+                       interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
                        eee-broken-1000t;
                };
        };
index 2054a474e0a91dc58a883a9b4a563e32bcd9e32d..9bf16bb7c491bc08fd64456e6039dd91146ef51f 100644 (file)
                eth_phy0: ethernet-phy@3 {
                        /* Micrel KSZ9031 (0x00221620) */
                        reg = <3>;
+                       interrupt-parent = <&gpio_intc>;
+                       interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
                };
        };
 };
index 6827f235d7cfe9a94fe5fe872e01dc1256077637..4f3f03fc31b0df37f3b240dc56022dd89806e311 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 b65776b019118d21851b6fa59202a3b80aba9b6e..66c6da7e112cfa5dba59039707e9f92ea1a1b486 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>;
        };
 };