lantiq: VR9: fix gpio-hog by defining the GPIO ranges

defined gpio-ranges according to Reference: https://github.com/torvalds/linux/blob/master/drivers/pinctrl/pinctrl-xway.c#L864
This change is needed by gpio-hog on Fritzbox 3390
thx to @abajk

Acked-by: Aleksander Jan Bajkowski A.Bajkowski@stud.elka.pw.edu.pl
Signed-off-by: Andreas Böhler <dev@aboehler.at>
Signed-off-by: Joachim Cerny <cocktail_yogi@web.de>
This commit is contained in:
Joachim Cerny 2020-12-08 17:41:56 +01:00 committed by Hauke Mehrtens
parent 4f27ea7c33
commit 754eb75a8c

View File

@ -223,6 +223,7 @@
compatible = "lantiq,xrx200-pinctrl"; compatible = "lantiq,xrx200-pinctrl";
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
gpio-ranges = <&gpio 0 0 50>;
reg = <0xe100b10 0xa0>; reg = <0xe100b10 0xa0>;
gphy0_led0_pins: gphy0-led0 { gphy0_led0_pins: gphy0-led0 {