Browse Source

ramips: overwrite reset gpio properties in DIR-860L DTS

As suggested by Sergio, this adds GPIOs 19 and 8 explicitly into the
DIR-860L DTS, so the PCI-E ports get reset and the N radio (radio1)
on PCI-E port 1 comes up reliably.

Fixes the following error that popped up in dmesg:

    [    1.638942] mt7621-pci 1e140000.pcie: pcie1 no card, disable it (RST & CLK)

Suggested-by: Sergio Paracuellos <[email protected]>
Signed-off-by: Stijn Segers <[email protected]>
Reviewed-by: Sergio Paracuellos <[email protected]>
Stijn Segers 4 years ago
parent
commit
06356f0020
1 changed files with 3 additions and 0 deletions
  1. 3 0
      target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts

+ 3 - 0
target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts

@@ -143,6 +143,9 @@
 
 &pcie {
 	status = "okay";
+
+	reset-gpios = <&gpio 19 GPIO_ACTIVE_LOW>,
+		      <&gpio 8 GPIO_ACTIVE_LOW>;
 };
 
 &pcie0 {