aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorStijn Segers <foss@volatilesystems.org>2021-02-19 23:11:09 +0100
committerDavid Bauer <mail@david-bauer.net>2021-02-20 09:39:58 +0100
commit7a0cd1ede436b351b76183c9c4f06714833fcc65 (patch)
tree39b95ac74397bebc99e89394d2ba1f6c97bf005f /target
parentef47bc424c421652c6a3948ac9c652cef60195f0 (diff)
downloadupstream-7a0cd1ede436b351b76183c9c4f06714833fcc65.tar.gz
upstream-7a0cd1ede436b351b76183c9c4f06714833fcc65.tar.bz2
upstream-7a0cd1ede436b351b76183c9c4f06714833fcc65.zip
ramips: overwrite reset gpio properties in EX6150 DTS
The Netgear EX6150 can, just like the D-Link DIR-860L rev B1, fail to initialise both radios in some cases. Add the reset GPIOs explicitly so the PCI-E devices get re-initialised properly. See also FS #3632. Error shows up in dmesg as follows: [ 1.560764] mt7621-pci 1e140000.pcie: pcie1 no card, disable it (RST & CLK) Tested-by: Kurt Roeckx <kurt@roeckx.be> Signed-off-by: Stijn Segers <foss@volatilesystems.org> [removed period from commit title] Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit af1b6799c6ec9af7a30d63a5ddfed20f443b991c)
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/mt7621_netgear_ex6150.dts3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7621_netgear_ex6150.dts b/target/linux/ramips/dts/mt7621_netgear_ex6150.dts
index 2bf858b226..0da8f6b30c 100644
--- a/target/linux/ramips/dts/mt7621_netgear_ex6150.dts
+++ b/target/linux/ramips/dts/mt7621_netgear_ex6150.dts
@@ -206,6 +206,9 @@
&pcie {
status = "okay";
+
+ reset-gpios = <&gpio 19 GPIO_ACTIVE_LOW>,
+ <&gpio 8 GPIO_ACTIVE_LOW>;
};
&pcie0 {