aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorStijn Segers <foss@volatilesystems.org>2021-02-18 14:10:57 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2021-02-24 20:23:52 +0100
commit0a19f77f32caef2f3360ae2b4fe46280e826fd96 (patch)
tree1d51e19643ee82b4832976adb438923dda4cad52 /target
parent75abdc4b46d299762efe142518e1d4f043cd3d6a (diff)
downloadupstream-0a19f77f32caef2f3360ae2b4fe46280e826fd96.tar.gz
upstream-0a19f77f32caef2f3360ae2b4fe46280e826fd96.tar.bz2
upstream-0a19f77f32caef2f3360ae2b4fe46280e826fd96.zip
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 <sergio.paracuellos@gmail.com> Signed-off-by: Stijn Segers <foss@volatilesystems.org> Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> (cherry picked from commit 06356f00200639c48d95330e633965957b0347ab)
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts
index 5d1c336736..f843f62801 100644
--- a/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts
+++ b/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 {