arm64: dts: mediatek: mt6795: Fix gpio-ranges pin count

The gpio-ranges in the MT6795 pinctrl node were incorrectly defined,
therefore, GPIO196 cannot be used.
Correct the range count to match the driver.

Fixes: b888886a45 ("arm64: dts: mediatek: mt6795: Add pinctrl controller node")
Signed-off-by: Akari Tsuyukusa <akkun11.open@gmail.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
This commit is contained in:
Akari Tsuyukusa 2026-03-12 13:15:28 +09:00 committed by AngeloGioacchino Del Regno
parent 67549df87f
commit c4c4823c8a
No known key found for this signature in database
GPG Key ID: 9A3604CFAD978478

View File

@ -371,7 +371,7 @@ pio: pinctrl@10005000 {
<GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
gpio-controller;
#gpio-cells = <2>;
gpio-ranges = <&pio 0 0 196>;
gpio-ranges = <&pio 0 0 197>;
interrupt-controller;
#interrupt-cells = <2>;
};