diff mbox series

ramips: overwrite reset gpio properties in EX6150 DTS.

Message ID 20210219221109.1417678-1-foss@volatilesystems.org
State Accepted
Headers show
Series ramips: overwrite reset gpio properties in EX6150 DTS. | expand

Commit Message

Stijn Segers Feb. 19, 2021, 10:11 p.m. UTC
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>
---
 target/linux/ramips/dts/mt7621_netgear_ex6150.dts | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

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 {