aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-3.8/041-arm_mvebu_add_pcie_dt_mirabox.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-01-17 22:29:13 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-01-17 22:29:13 +0000
commit7e1e7063c26dccb6f47a00db72612e9f8c57c016 (patch)
tree21c7b51af4a457d4a7c8af7106a86d26f55f6af3 /target/linux/mvebu/patches-3.8/041-arm_mvebu_add_pcie_dt_mirabox.patch
parent29c21b973be0ba7a07f0b13ef1198155a1ddc055 (diff)
downloadupstream-7e1e7063c26dccb6f47a00db72612e9f8c57c016.tar.gz
upstream-7e1e7063c26dccb6f47a00db72612e9f8c57c016.tar.bz2
upstream-7e1e7063c26dccb6f47a00db72612e9f8c57c016.zip
mvebu: add preliminary support for PCI express
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35211
Diffstat (limited to 'target/linux/mvebu/patches-3.8/041-arm_mvebu_add_pcie_dt_mirabox.patch')
-rw-r--r--target/linux/mvebu/patches-3.8/041-arm_mvebu_add_pcie_dt_mirabox.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-3.8/041-arm_mvebu_add_pcie_dt_mirabox.patch b/target/linux/mvebu/patches-3.8/041-arm_mvebu_add_pcie_dt_mirabox.patch
new file mode 100644
index 0000000000..1b6089eef8
--- /dev/null
+++ b/target/linux/mvebu/patches-3.8/041-arm_mvebu_add_pcie_dt_mirabox.patch
@@ -0,0 +1,32 @@
+The Globalscale Mirabox platform uses one PCIe interface for an
+available mini-PCIe slot, and the other PCIe interface for an internal
+USB 3.0 controller. We add the necessary Device Tree informations to
+enable those two interfaces.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+---
+ arch/arm/boot/dts/armada-370-mirabox.dts | 14 ++++++++++++++
+ 1 file changed, 14 insertions(+)
+
+--- a/arch/arm/boot/dts/armada-370-mirabox.dts
++++ b/arch/arm/boot/dts/armada-370-mirabox.dts
+@@ -70,5 +70,19 @@
+ usb@d0051000 {
+ status = "okay";
+ };
++
++ pcie-controller {
++ status = "okay";
++
++ /* Internal mini-PCIe connector */
++ pcie0@0xd0040000 {
++ status = "okay";
++ };
++
++ /* Connected on the PCB to a USB 3.0 XHCI controller */
++ pcie1@0xd0080000 {
++ status = "okay";
++ };
++ };
+ };
+ };