]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt7981b: Fix gpio-ranges pin count
authorAkari Tsuyukusa <akkun11.open@gmail.com>
Thu, 12 Mar 2026 04:15:29 +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 MT7981B pinctrl node were incorrectly defined,
therefore, pin 56 cannot be used.
Correct the range count to match the driver.

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

index 4084f4dfa3e5e3114b674eab57e17dcda5cf5a3a..1bbe219380f990f2718c77a3e12b21ddd89e1117 100644 (file)
                        interrupt-controller;
                        interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
                        interrupt-parent = <&gic>;
-                       gpio-ranges = <&pio 0 0 56>;
+                       gpio-ranges = <&pio 0 0 57>;
                        gpio-controller;
                        #gpio-cells = <2>;
                        #interrupt-cells = <2>;