summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2009-11-05 18:09:01 +0000
committerNicolas Pitre <nico@fluxnic.net>2009-11-13 12:14:23 -0500
commitb421950cdc7d0ac900414aa582c5e35aeab921c0 (patch)
treee6a907ece0fae98587ec5ca564b9d8cba70abd82 /arch/arm/mach-kirkwood
parentf3a131b90b8f9bbcf46edc3bdd5246a744ba0017 (diff)
downloadop-kernel-dev-b421950cdc7d0ac900414aa582c5e35aeab921c0.zip
op-kernel-dev-b421950cdc7d0ac900414aa582c5e35aeab921c0.tar.gz
[ARM] Kirkwood: Add MPP36 for QNAP TS-11x/TS-21x
MPP36 is used on the QNAP TS-11x/TS-21x devices to indicate how much RAM there is: it's high for 512 MB RAM (TS-x19) and low for 256 MB (TS-x10). While this may not be very useful, let's add it for completeness. Signed-off-by: Martin Michlmayr <tbm@cyrius.com> Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/mach-kirkwood')
-rw-r--r--arch/arm/mach-kirkwood/ts219-setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/ts219-setup.c b/arch/arm/mach-kirkwood/ts219-setup.c
index ec1a64f..cb0f56d 100644
--- a/arch/arm/mach-kirkwood/ts219-setup.c
+++ b/arch/arm/mach-kirkwood/ts219-setup.c
@@ -152,6 +152,7 @@ static unsigned int qnap_ts219_mpp_config[] __initdata = {
MPP14_UART1_RXD, /* PIC controller */
MPP15_GPIO, /* USB Copy button */
MPP16_GPIO, /* Reset button */
+ MPP36_GPIO, /* RAM: 0: 256 MB, 1: 512 MB */
0
};
OpenPOWER on IntegriCloud