summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620a.dtsi
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-11-17 16:27:48 +0000
committerJohn Crispin <john@openwrt.org>2014-11-17 16:27:48 +0000
commit32d4348540ca5b650f5f4064c9c21643e2a19c23 (patch)
tree6b976ded7d8af0f6e6cd7278175679f9b46724ea /target/linux/ramips/dts/mt7620a.dtsi
parented5ae98cf4277d8db44825936842872734d52753 (diff)
downloadmaster-31e0f0ae-32d4348540ca5b650f5f4064c9c21643e2a19c23.tar.gz
master-31e0f0ae-32d4348540ca5b650f5f4064c9c21643e2a19c23.tar.bz2
master-31e0f0ae-32d4348540ca5b650f5f4064c9c21643e2a19c23.zip
ralink: fix pcie reset
some old mt7620a uboots dont reset the pcie core properly. work around this issue in the kernel driver. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43292
Diffstat (limited to 'target/linux/ramips/dts/mt7620a.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7620a.dtsi13
1 files changed, 11 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi
index eb090e317e..c9a7573cac 100644
--- a/target/linux/ramips/dts/mt7620a.dtsi
+++ b/target/linux/ramips/dts/mt7620a.dtsi
@@ -302,8 +302,8 @@
};
i2c_pins: i2c {
i2c {
- lantiq,group = "i2c";
- lantiq,function = "i2c";
+ ralink,group = "i2c";
+ ralink,function = "i2c";
};
};
uartlite_pins: uartlite {
@@ -342,6 +342,12 @@
ralink,function = "rgmii2";
};
};
+ pcie_pins: pcie {
+ pcie {
+ ralink,group = "pcie";
+ ralink,function = "pcie rst";
+ };
+ };
};
rstctrl: rstctrl {
@@ -443,6 +449,9 @@
interrupt-parent = <&cpuintc>;
interrupts = <4>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pcie_pins>;
+
device_type = "pci";
bus-range = <0 255>;