diff options
| author | Maxim Anisimov | 2026-03-23 06:28:30 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2026-03-29 15:35:55 +0000 |
| commit | 470e7238eb13d94b01236f0bf85f69612443e946 (patch) | |
| tree | 004b4f31a77b6360b0aa8467a18b1c1b08380a4a | |
| parent | 0beb242464c587ad32fbc0bfa108f66f55b4ca8e (diff) | |
| download | openwrt-470e7238eb13d94b01236f0bf85f69612443e946.tar.gz | |
mediatek: filogic: kn-1812: add interrupt support for phy
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
(cherry picked from commit 684590a6a0dab34bb076481aa0d5f938bbd7dab8)
Link: https://github.com/openwrt/openwrt/pull/22626
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | target/linux/mediatek/dts/mt7988d-keenetic-kn-1812.dtsi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/mediatek/dts/mt7988d-keenetic-kn-1812.dtsi b/target/linux/mediatek/dts/mt7988d-keenetic-kn-1812.dtsi index 140ae1528b..b8354b34a0 100644 --- a/target/linux/mediatek/dts/mt7988d-keenetic-kn-1812.dtsi +++ b/target/linux/mediatek/dts/mt7988d-keenetic-kn-1812.dtsi @@ -398,6 +398,8 @@ 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>; |