Browse Source

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 [email protected]
Signed-off-by: Andreas Böhler <[email protected]>
Signed-off-by: Joachim Cerny <[email protected]>
Joachim Cerny 5 years ago
parent
commit
754eb75a8c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi

+ 1 - 0
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 {