From 754eb75a8c9ef318fa01adb1d5b9054954ee3913 Mon Sep 17 00:00:00 2001 From: Joachim Cerny Date: Tue, 8 Dec 2020 17:41:56 +0100 Subject: [PATCH] lantiq: VR9: fix gpio-hog by defining the GPIO ranges MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Joachim Cerny --- target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi index 85c584c1f168..3bb0b7e8371f 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi @@ -223,6 +223,7 @@ compatible = "lantiq,xrx200-pinctrl"; #gpio-cells = <2>; gpio-controller; + gpio-ranges = <&gpio 0 0 50>; reg = <0xe100b10 0xa0>; gphy0_led0_pins: gphy0-led0 { -- 2.30.2