aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620a.dtsi
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-11-17 16:27:48 +0000
committerJohn Crispin <blogic@openwrt.org>2014-11-17 16:27:48 +0000
commiteec86430098782e7774db733c875b7a96f299869 (patch)
tree4d9b2b4accf95ec7ac30dc07321c6ab8ac8c860f /target/linux/ramips/dts/mt7620a.dtsi
parenta1e3550b3736a762ced948355f03d9088a693bc1 (diff)
downloadmaster-187ad058-eec86430098782e7774db733c875b7a96f299869.tar.gz
master-187ad058-eec86430098782e7774db733c875b7a96f299869.tar.bz2
master-187ad058-eec86430098782e7774db733c875b7a96f299869.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43292 3c298f89-4303-0410-b956-a3cf2f4a3e73
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>;