]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: mediatek: mt7986a-bpi-r3: Set interrupt-parent to mdio switch
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 24 Jul 2025 08:39:01 +0000 (10:39 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 12 Sep 2025 14:11:31 +0000 (16:11 +0200)
Being this an interrupt controller, the binding forbids to use
interrupts-extended and wants an `interrupts` property instead.

Since this interrupt controller's parent is on the GPIO controller
set it as interrupt-parent and change interrupts-extended to just
interrupts to silence a dtbs_check warning.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20250724083914.61351-26-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts

index 6d2762866a1abf0155913987aab1cf62b31ebcf3..e7654dc9a1c9b4ddaa3d296a86ed3f1909c916df 100644 (file)
                compatible = "mediatek,mt7531";
                reg = <31>;
                interrupt-controller;
+               interrupt-parent = <&pio>;
+               interrupts = <66 IRQ_TYPE_LEVEL_HIGH>;
                #interrupt-cells = <1>;
-               interrupts-extended = <&pio 66 IRQ_TYPE_LEVEL_HIGH>;
                reset-gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
        };
 };