[PATCH] ARM: mmp: append brownstone support

Haojian Zhuang haojian.zhuang at marvell.com
Wed Nov 24 22:33:13 EST 2010


Signed-off-by: Haojian Zhuang <haojian.zhuang at marvell.com>
Signed-off-by: Eric Miao <eric.y.miao at gmail.com>
---
 arch/arm/mach-mmp/Kconfig      |   11 +++
 arch/arm/mach-mmp/Makefile     |    1 +
 arch/arm/mach-mmp/brownstone.c |  166 ++++++++++++++++++++++++++++++++++++=
++++
 3 files changed, 178 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-mmp/brownstone.c

diff --git a/arch/arm/mach-mmp/Kconfig b/arch/arm/mach-mmp/Kconfig
index 0711d3b..95e7c4a 100644
--- a/arch/arm/mach-mmp/Kconfig
+++ b/arch/arm/mach-mmp/Kconfig
@@ -37,6 +37,17 @@ config MACH_TTC_DKB
 	  Say 'Y' here if you want to support the Marvell PXA910-based
 	  TTC_DKB Development Board.
=20
+config MACH_BROWNSTONE
+	bool "Marvell's Brownstone Development Platform"
+	depends on !CPU_MOHAWK
+	select CPU_MMP2
+	help
+	  Say 'Y' here if you want to support the Marvell MMP2-based
+	  Brown Development Platform.
+	  MMP2-based board can't be co-existed with PXA168-based &
+	  PXA910-based development board. Since MMP2 is compatible to
+	  ARMv7 architecture.
+
 config MACH_FLINT
 	bool "Marvell's Flint Development Platform"
 	select CPU_MMP2
diff --git a/arch/arm/mach-mmp/Makefile b/arch/arm/mach-mmp/Makefile
index 751cdbf..5c68382 100644
--- a/arch/arm/mach-mmp/Makefile
+++ b/arch/arm/mach-mmp/Makefile
@@ -15,6 +15,7 @@ obj-$(CONFIG_MACH_ZYLONITE2)	+=3D aspenite.o
 obj-$(CONFIG_MACH_AVENGERS_LITE)+=3D avengers_lite.o
 obj-$(CONFIG_MACH_TAVOREVB)	+=3D tavorevb.o
 obj-$(CONFIG_MACH_TTC_DKB)	+=3D ttc_dkb.o
+obj-$(CONFIG_MACH_BROWNSTONE)	+=3D brownstone.o
 obj-$(CONFIG_MACH_FLINT)	+=3D flint.o
 obj-$(CONFIG_MACH_MARVELL_JASPER) +=3D jasper.o
 obj-$(CONFIG_MACH_TETON_BGA)	+=3D teton_bga.o
diff --git a/arch/arm/mach-mmp/brownstone.c b/arch/arm/mach-mmp/brownstone.=
c
new file mode 100644
index 0000000..635c400
--- /dev/null
+++ b/arch/arm/mach-mmp/brownstone.c
@@ -0,0 +1,166 @@
+/*
+ *  linux/arch/arm/mach-mmp/brownstone.c
+ *
+ *  Support for the Marvell Brownstone Development Platform.
+ *
+ *  Copyright (C) 2009-2010 Marvell International Ltd.
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License version 2 as
+ *  publishhed by the Free Software Foundation.
+ */
+
+#include <linux/init.h>
+#include <linux/kernel.h>
+#include <linux/platform_device.h>
+#include <linux/io.h>
+#include <linux/gpio.h>
+#include <linux/regulator/machine.h>
+#include <linux/regulator/max8649.h>
+#include <linux/mfd/max8925.h>
+
+#include <asm/mach-types.h>
+#include <asm/mach/arch.h>
+#include <mach/addr-map.h>
+#include <mach/mfp-mmp2.h>
+#include <mach/mmp2.h>
+#include <mach/irqs.h>
+
+#include "common.h"
+
+#define BROWNSTONE_NR_IRQS	(IRQ_BOARD_START + 40)
+
+static unsigned long brownstone_pin_config[] __initdata =3D {
+	/* UART1 */
+	GPIO29_UART1_RXD,
+	GPIO30_UART1_TXD,
+
+	/* UART3 */
+	GPIO51_UART3_RXD,
+	GPIO52_UART3_TXD,
+
+	/* DFI */
+	GPIO168_DFI_D0,
+	GPIO167_DFI_D1,
+	GPIO166_DFI_D2,
+	GPIO165_DFI_D3,
+	GPIO107_DFI_D4,
+	GPIO106_DFI_D5,
+	GPIO105_DFI_D6,
+	GPIO104_DFI_D7,
+	GPIO111_DFI_D8,
+	GPIO164_DFI_D9,
+	GPIO163_DFI_D10,
+	GPIO162_DFI_D11,
+	GPIO161_DFI_D12,
+	GPIO110_DFI_D13,
+	GPIO109_DFI_D14,
+	GPIO108_DFI_D15,
+	GPIO143_ND_nCS0,
+	GPIO144_ND_nCS1,
+	GPIO147_ND_nWE,
+	GPIO148_ND_nRE,
+	GPIO150_ND_ALE,
+	GPIO149_ND_CLE,
+	GPIO112_ND_RDY0,
+	GPIO160_ND_RDY1,
+
+	/* PMIC */
+	PMIC_PMIC_INT | MFP_LPM_EDGE_FALL,
+
+	/* MMC0 */
+	GPIO131_MMC1_DAT3 | MFP_PULL_HIGH,
+	GPIO132_MMC1_DAT2 | MFP_PULL_HIGH,
+	GPIO133_MMC1_DAT1 | MFP_PULL_HIGH,
+	GPIO134_MMC1_DAT0 | MFP_PULL_HIGH,
+	GPIO136_MMC1_CMD | MFP_PULL_HIGH,
+	GPIO139_MMC1_CLK,
+	GPIO140_MMC1_CD | MFP_PULL_LOW,
+	GPIO141_MMC1_WP | MFP_PULL_LOW,
+
+	/* MMC1 */
+	GPIO37_MMC2_DAT3 | MFP_PULL_HIGH,
+	GPIO38_MMC2_DAT2 | MFP_PULL_HIGH,
+	GPIO39_MMC2_DAT1 | MFP_PULL_HIGH,
+	GPIO40_MMC2_DAT0 | MFP_PULL_HIGH,
+	GPIO41_MMC2_CMD | MFP_PULL_HIGH,
+	GPIO42_MMC2_CLK,
+
+	/* MMC2 */
+	GPIO165_MMC3_DAT7 | MFP_PULL_HIGH,
+	GPIO162_MMC3_DAT6 | MFP_PULL_HIGH,
+	GPIO166_MMC3_DAT5 | MFP_PULL_HIGH,
+	GPIO163_MMC3_DAT4 | MFP_PULL_HIGH,
+	GPIO167_MMC3_DAT3 | MFP_PULL_HIGH,
+	GPIO164_MMC3_DAT2 | MFP_PULL_HIGH,
+	GPIO168_MMC3_DAT1 | MFP_PULL_HIGH,
+	GPIO111_MMC3_DAT0 | MFP_PULL_HIGH,
+	GPIO112_MMC3_CMD | MFP_PULL_HIGH,
+	GPIO151_MMC3_CLK,
+};
+
+static struct regulator_consumer_supply max8649_supply[] =3D {
+	REGULATOR_SUPPLY("vcc_core", NULL),
+};
+
+static struct regulator_init_data max8649_init_data =3D {
+	.constraints	=3D {
+		.name		=3D "vcc_core range",
+		.min_uV		=3D 1150000,
+		.max_uV		=3D 1280000,
+		.always_on	=3D 1,
+		.boot_on	=3D 1,
+		.valid_ops_mask	=3D REGULATOR_CHANGE_VOLTAGE,
+	},
+	.num_consumer_supplies	=3D 1,
+	.consumer_supplies	=3D &max8649_supply[0],
+};
+
+static struct max8649_platform_data brownstone_max8649_info =3D {
+	.mode		=3D 2,	/* VID1 =3D 1, VID0 =3D 0 */
+	.extclk		=3D 0,
+	.ramp_timing	=3D MAX8649_RAMP_32MV,
+	.regulator	=3D &max8649_init_data,
+};
+
+static struct max8925_platform_data brownstone_max8925_info =3D {
+	.irq_base		=3D IRQ_BOARD_START,
+};
+
+static struct i2c_board_info brownstone_twsi1_info[] =3D {
+	[0] =3D {
+		.type		=3D "max8649",
+		.addr		=3D 0x60,
+		.platform_data	=3D &brownstone_max8649_info,
+	},
+	[1] =3D {
+		.type		=3D "max8925",
+		.addr		=3D 0x3c,
+		.irq		=3D IRQ_MMP2_PMIC,
+		.platform_data	=3D &brownstone_max8925_info,
+	},
+};
+
+static struct sdhci_pxa_platdata mmp2_sdh_platdata_mmc0 =3D {
+	.max_speed	=3D 25000000,
+};
+
+static void __init brownstone_init(void)
+{
+	mfp_config(ARRAY_AND_SIZE(brownstone_pin_config));
+
+	/* on-chip devices */
+	mmp2_add_uart(1);
+	mmp2_add_uart(3);
+	mmp2_add_twsi(1, NULL, ARRAY_AND_SIZE(brownstone_twsi1_info));
+	mmp2_add_sdhost(0, &mmp2_sdh_platdata_mmc0); /* SD/MMC */
+}
+
+MACHINE_START(BROWNSTONE, "Brownstone Development Platform")
+	/* Maintainer: Haojian Zhuang <haojian.zhuang at marvell.com> */
+	.map_io		=3D mmp_map_io,
+	.nr_irqs	=3D BROWNSTONE_NR_IRQS,
+	.init_irq	=3D mmp2_init_irq,
+	.timer		=3D &mmp2_timer,
+	.init_machine	=3D brownstone_init,
+MACHINE_END
--=20
1.6.0.4



--_002_98992407793C4545AAB39C80BE5BCEF5marvellcom_
Content-Type: application/octet-stream;
	name="0001-ARM-mmp-append-brownstone-support.patch"
Content-Description: 0001-ARM-mmp-append-brownstone-support.patch
Content-Disposition: attachment;
	filename="0001-ARM-mmp-append-brownstone-support.patch"; size=6191;
	creation-date="Tue, 21 Dec 2010 23:07:21 GMT";
	modification-date="Tue, 21 Dec 2010 23:07:21 GMT"
Content-Transfer-Encoding: base64

RnJvbSAxNGQ5ZDVlMTg1NDY4NGFmOGRhZWY4MGQ5NDgxMDdkMmI1OWNjZGQ4IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBIYW9qaWFuIFpodWFuZyA8aGFvamlhbi56aHVhbmdAbWFydmVs
bC5jb20+CkRhdGU6IFRodSwgMjUgTm92IDIwMTAgMTE6MzM6MTMgKzA4MDAKU3ViamVjdDogW1BB
VENIXSBBUk06IG1tcDogYXBwZW5kIGJyb3duc3RvbmUgc3VwcG9ydAoKU2lnbmVkLW9mZi1ieTog
SGFvamlhbiBaaHVhbmcgPGhhb2ppYW4uemh1YW5nQG1hcnZlbGwuY29tPgpTaWduZWQtb2ZmLWJ5
OiBFcmljIE1pYW8gPGVyaWMueS5taWFvQGdtYWlsLmNvbT4KLS0tCiBhcmNoL2FybS9tYWNoLW1t
cC9LY29uZmlnICAgICAgfCAgIDExICsrKwogYXJjaC9hcm0vbWFjaC1tbXAvTWFrZWZpbGUgICAg
IHwgICAgMSArCiBhcmNoL2FybS9tYWNoLW1tcC9icm93bnN0b25lLmMgfCAgMTY2ICsrKysrKysr
KysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysKIDMgZmlsZXMgY2hhbmdlZCwgMTc4IGlu
c2VydGlvbnMoKyksIDAgZGVsZXRpb25zKC0pCiBjcmVhdGUgbW9kZSAxMDA2NDQgYXJjaC9hcm0v
bWFjaC1tbXAvYnJvd25zdG9uZS5jCgpkaWZmIC0tZ2l0IGEvYXJjaC9hcm0vbWFjaC1tbX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jLAorCQkuaXJxCQk9IElSUV9NTVAyX1BNSUMsCisJCS5wbGF0Zm9ybV9kYXRhCT0gJmJy
b3duc3RvbmVfbWF4ODkyNV9pbmZvLAorCX0sCit9OworCitzdGF0aWMgc3RydWN0IHNkaGNpX3B4
YV9wbGF0ZGF0YSBtbXAyX3NkaF9wbGF0ZGF0YV9tbWMwID0geworCS5tYXhfc3BlZWQJPSAyNTAw
MDAwMCwKK307CisKK3N0YXRpYyB2b2lkIF9faW5pdCBicm93bnN0b25lX2luaXQodm9pZCkKK3sK
KwltZnBfY29uZmlnKEFSUkFZX0FORF9TSVpFKGJyb3duc3RvbmVfcGluX2NvbmZpZykpOworCisJ
Lyogb24tY2hpcCBkZXZpY2VzICovCisJbW1wMl9hZGRfdWFydCgxKTsKKwltbXAyX2FkZF91YXJ0
KDMpOworCW1tcDJfYWRkX3R3c2koMSwgTlVMTCwgQVJSQVlfQU5EX1NJWkUoYnJvd25zdG9uZV90
d3NpMV9pbmZvKSk7CisJbW1wMl9hZGRfc2Rob3N0KDAsICZtbXAyX3NkaF9wbGF0ZGF0YV9tbWMw
KTsgLyogU0QvTU1DICovCit9CisKK01BQ0hJTkVfU1RBUlQoQlJPV05TVE9ORSwgIkJyb3duc3Rv
bmUgRGV2ZWxvcG1lbnQgUGxhdGZvcm0iKQorCS8qIE1haW50YWluZXI6IEhhb2ppYW4gWmh1YW5n
IDxoYW9qaWFuLnpodWFuZ0BtYXJ2ZWxsLmNvbT4gKi8KKwkubWFwX2lvCQk9IG1tcF9tYXBfaW8s
CisJLm5yX2lycXMJPSBCUk9XTlNUT05FX05SX0lSUVMsCisJLmluaXRfaXJxCT0gbW1wMl9pbml0
X2lycSwKKwkudGltZXIJCT0gJm1tcDJfdGltZXIsCisJLmluaXRfbWFjaGluZQk9IGJyb3duc3Rv
bmVfaW5pdCwKK01BQ0hJTkVfRU5ECi0tIAoxLjYuMC40Cgo=

--_002_98992407793C4545AAB39C80BE5BCEF5marvellcom_--



More information about the linux-arm-kernel mailing list