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
This commit is contained in:
John Crispin
2014-11-17 16:27:48 +00:00
parent ed5ae98cf4
commit 32d4348540
2 changed files with 21 additions and 11 deletions

View File

@@ -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>;