pinctrl: ocelot: Fix for lan966x alt mode
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Wed, 13 Apr 2022 19:29:18 +0000 (21:29 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 1 May 2022 21:24:18 +0000 (23:24 +0200)
commitd3683eeb9d2b4aa5256f830721655ef2ee97e324
treed6ce848aa24e8de004a9583f66e6c8ff35fd745f
parent672c0c5173427e6b3e2a9bbb7be51ceeec78093a
pinctrl: ocelot: Fix for lan966x alt mode

For lan966x, the GPIO 35 has the wrong function for alternate mode 2.
The mode is not none but is PTP sync.

Fixes: 531d6ab36571c2 ("pinctrl: ocelot: Extend support for lan966x")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Kavyasree Kotagiri <kavyasree.kotagiri@microchip.com>
Link: https://lore.kernel.org/r/20220413192918.3777234-1-horatiu.vultur@microchip.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-ocelot.c