aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files
diff options
context:
space:
mode:
authorJoachim Cerny <cocktail_yogi@web.de>2020-12-08 17:41:56 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2021-04-03 18:56:02 +0200
commit754eb75a8c9ef318fa01adb1d5b9054954ee3913 (patch)
tree83f08061e5b9d301b398efd1bb3acc838a7cc580 /target/linux/lantiq/files
parent4f27ea7c33447f4b0c8e577509726927916b9625 (diff)
downloadupstream-754eb75a8c9ef318fa01adb1d5b9054954ee3913.tar.gz
upstream-754eb75a8c9ef318fa01adb1d5b9054954ee3913.tar.bz2
upstream-754eb75a8c9ef318fa01adb1d5b9054954ee3913.zip
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>
Diffstat (limited to 'target/linux/lantiq/files')
-rw-r--r--target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi1
1 files changed, 1 insertions, 0 deletions
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 85c584c1f1..3bb0b7e837 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 {