]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: filogic: kn-1812: add interrupt support for phy
authorMaxim Anisimov <maxim.anisimov.ua@gmail.com>
Mon, 23 Mar 2026 06:28:30 +0000 (09:28 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 26 Mar 2026 12:15:33 +0000 (13:15 +0100)
In the latest vendor firmware, changes have been identified in the DTS.
Support for interrupts for the Realtek RTL8261BE has been added.

Decompiled DTS fragment:

phy-gmac3 {
        compatible = "ethernet-phy-ieee802.3-c45";
        interrupt-parent = <0x1a>;
        interrupts = <0x02 0x08>;
        #address-cells = <0x01>;
        #size-cells = <0x00>;
        reg = <0x1b>;
        phy-mode = "usxgmii";
        linux,phandle = <0x30>;
        phandle = <0x30>;
};

Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22575
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/dts/mt7988d-keenetic-kn-1812.dtsi

index 140ae1528b6bcccc9c65c8bbab099b2cc3ee073d..b8354b34a084c56a63cd182b139f4eee273204e2 100644 (file)
                compatible = "ethernet-phy-ieee802.3-c45";
                reg = <0x1b>;
 
+               interrupt-parent = <&pio>;
+               interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
                reset-gpios = <&pio 4 GPIO_ACTIVE_LOW>;
                reset-assert-us = <100000>;
                reset-deassert-us = <221000>;