From: Akari Tsuyukusa Date: Thu, 12 Mar 2026 04:15:30 +0000 (+0900) Subject: arm64: dts: mediatek: mt7986a: Fix gpio-ranges pin count X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=820ed0c1a13c5fafb36232538d793f99a0986ef3;p=thirdparty%2Fkernel%2Flinux.git arm64: dts: mediatek: mt7986a: Fix gpio-ranges pin count 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 Signed-off-by: AngeloGioacchino Del Regno --- diff --git a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi index 9693f62fd0136..9ebc196107e5a 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi @@ -187,7 +187,7 @@ "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 = ; interrupt-parent = <&gic>;