]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt7986a: Fix gpio-ranges pin count
authorAkari Tsuyukusa <akkun11.open@gmail.com>
Thu, 12 Mar 2026 04:15:30 +0000 (13:15 +0900)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 12 Mar 2026 12:32:17 +0000 (13:32 +0100)
The gpio-ranges in the MT7986A pinctrl node were incorrectly defined,
therefore, pin 100 cannot be used.
Correct the range count to match the driver.

Fixes: c3a064a32ed9 ("arm64: dts: mediatek: add pinctrl support for mt7986a")
Signed-off-by: Akari Tsuyukusa <akkun11.open@gmail.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt7986a.dtsi

index 9693f62fd013624dad9c727f92aa97f6247f66dd..9ebc196107e5a00d43d1fa39f821fb7317ca7b33 100644 (file)
                                    "iocfg_lb", "iocfg_tr", "iocfg_tl", "eint";
                        gpio-controller;
                        #gpio-cells = <2>;
-                       gpio-ranges = <&pio 0 0 100>;
+                       gpio-ranges = <&pio 0 0 101>;
                        interrupt-controller;
                        interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
                        interrupt-parent = <&gic>;