ramips: overwrite reset gpio properties in EX6150 DTS
authorStijn Segers <foss@volatilesystems.org>
Fri, 19 Feb 2021 22:11:09 +0000 (23:11 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sat, 20 Feb 2021 00:27:00 +0000 (01:27 +0100)
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>
target/linux/ramips/dts/mt7621_netgear_ex6150.dts

index 2bf858b226b92fc2ff45684a20588e9368337f0c..0da8f6b30c70db99f955db676c178c6560e93b12 100644 (file)
 
 &pcie {
        status = "okay";
+
+       reset-gpios = <&gpio 19 GPIO_ACTIVE_LOW>,
+                     <&gpio 8 GPIO_ACTIVE_LOW>;
 };
 
 &pcie0 {