| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH 8/8] MIPS: BCM63XX: add 96328avng reference board |
| From: | Jonas Gorski <jonas.gorski@gmail.com> |
| Date: | Tue, 12 Jun 2012 10:23:45 +0200 |
| Cc: | linux-mips@linux-mips.org, Maxime Bizon <mbizon@freebox.fr>, Florian Fainelli <florian@openwrt.org>, Kevin Cernekee <cernekee@gmail.com> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=V+33AX4HD+wBdtlZ70NqNIS/Z+qcKFcwS3zXYN4+9iQ=; b=WZNrzMzqE348udlxfQznIQatK2b6pOm+kpTQl9twd4Scs/mcozkoIGQ9qBsDPm737+ ce14SXUYB+jtpqod8PXxVrM9mXALX5rSyFfg80KSbMIcQpZmawaO4lyBbM4K3uRYXoYO wJfT+jicQwHC9ZIeXf65TTt3Lqm68+SbntUsye0HjPoNPfPomF3PuyqpDHJOXmJ8cVHc FFXTrwqiBQrQVAt2P/r1j0sUTHSBAVlNK/L+1IgiMxCivG1/X15SavukZQr2J53F1/sr lrmRqxpgeXq7adOgClBkAO5ywDm76dD0jgLa+ABWnqlnYmEgnnMhCTmBvdmUec6r2Pwo GHYg== |
| In-reply-to: | <1339489425-19037-1-git-send-email-jonas.gorski@gmail.com> |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| References: | <1339489425-19037-1-git-send-email-jonas.gorski@gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
This allows booting to command line. Ethernet is not supported yet,
but PCIe connected wireless should work.
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
---
arch/mips/bcm63xx/boards/board_bcm963xx.c | 45 +++++++++++++++++++++++++++++
1 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/arch/mips/bcm63xx/boards/board_bcm963xx.c
b/arch/mips/bcm63xx/boards/board_bcm963xx.c
index be7498a..feb0525 100644
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -33,6 +33,48 @@ static unsigned int mac_addr_used;
static struct board_info board;
/*
+ * known 6328 boards
+ */
+#ifdef CONFIG_BCM63XX_CPU_6328
+static struct board_info __initdata board_96328avng = {
+ .name = "96328avng",
+ .expected_cpu_id = 0x6328,
+
+ .has_uart0 = 1,
+ .has_pci = 1,
+
+ .leds = {
+ {
+ .name = "96328avng::ppp-fail",
+ .gpio = 2,
+ .active_low = 1,
+ },
+ {
+ .name = "96328avng::power",
+ .gpio = 4,
+ .active_low = 1,
+ .default_trigger = "default-on",
+ },
+ {
+ .name = "96328avng::power-fail",
+ .gpio = 8,
+ .active_low = 1,
+ },
+ {
+ .name = "96328avng::wps",
+ .gpio = 9,
+ .active_low = 1,
+ },
+ {
+ .name = "96328avng::ppp",
+ .gpio = 11,
+ .active_low = 1,
+ },
+ },
+};
+#endif
+
+/*
* known 6338 boards
*/
#ifdef CONFIG_BCM63XX_CPU_6338
@@ -591,6 +633,9 @@ static struct board_info __initdata board_DWVS0 = {
* all boards
*/
static const struct board_info __initdata *bcm963xx_boards[] = {
+#ifdef CONFIG_BCM63XX_CPU_6328
+ &board_96328avng,
+#endif
#ifdef CONFIG_BCM63XX_CPU_6338
&board_96338gw,
&board_96338w,
--
1.7.2.5
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 7/8] MIPS: expose PCIe drivers for MIPS, Jonas Gorski |
|---|---|
| Next by Date: | [PATCH] MIPS: remove three unused headers, Paul Bolle |
| Previous by Thread: | [PATCH 7/8] MIPS: expose PCIe drivers for MIPS, Jonas Gorski |
| Next by Thread: | Re: [PATCH 0/8] Add basic support for BCM6328, Florian Fainelli |
| Indexes: | [Date] [Thread] [Top] [All Lists] |