summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/board-db88f628x-bp.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-05-31 23:17:39 -0700
committerOlof Johansson <olof@lixom.net>2013-05-31 23:17:39 -0700
commited2670b334a1050aa122cd9ca53c7a545642c46b (patch)
treedc881bb034a0d27194d52cd2b9011e84a6eca3ab /arch/arm/mach-kirkwood/board-db88f628x-bp.c
parenta640874bb6596f09160b1f39699618f635465e12 (diff)
parent0d0632f523fa040b307688ae421a1debf79af2d7 (diff)
downloadop-kernel-dev-ed2670b334a1050aa122cd9ca53c7a545642c46b.zip
op-kernel-dev-ed2670b334a1050aa122cd9ca53c7a545642c46b.tar.gz
Merge tag 'pcie_kw-3.11' of git://git.infradead.org/users/jcooper/linux into next/soc
From Jason Cooper: mvebu pcie driver (kirkwood) for v3.11 - kirkwood - enable pcie driver - migrate boards over to pcie dt init depends - mvebu/pcie - mvebu/of_pci Signed-off-by: Olof Johansson <olof@lixom.net> * tag 'pcie_kw-3.11' of git://git.infradead.org/users/jcooper/linux: arm: kirkwood: convert db-88f6281/db-88f6282 to the Device Tree arm: kirkwood: convert QNAP TS219 to use DT for the PCIe interface arm: kirkwood: convert ZyXEL NSA310 to use DT for the PCIe interface arm: kirkwood: convert MPL CEC4 to use DT for the PCIe interface arm: kirkwood: convert Iomega Iconnect to use DT for the PCIe interface arm: kirkwood: add SoC-level Device Tree data for PCIe interfaces arm: kirkwood: move PCIe window init to legacy driver pci: mvebu: enable driver usage on Kirkwood
Diffstat (limited to 'arch/arm/mach-kirkwood/board-db88f628x-bp.c')
-rw-r--r--arch/arm/mach-kirkwood/board-db88f628x-bp.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/board-db88f628x-bp.c b/arch/arm/mach-kirkwood/board-db88f628x-bp.c
new file mode 100644
index 0000000..2f574bc
--- /dev/null
+++ b/arch/arm/mach-kirkwood/board-db88f628x-bp.c
@@ -0,0 +1,24 @@
+/*
+ * Saeed Bishara <saeed@marvell.com>
+ *
+ * Marvell DB-88F628{1,2}-BP Development Board Setup
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License version 2. This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+ */
+
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/of.h>
+#include <linux/mv643xx_eth.h>
+#include "common.h"
+
+static struct mv643xx_eth_platform_data db88f628x_ge00_data = {
+ .phy_addr = MV643XX_ETH_PHY_ADDR(8),
+};
+
+void __init db88f628x_init(void)
+{
+ kirkwood_ge00_init(&db88f628x_ge00_data);
+}
OpenPOWER on IntegriCloud