From patchwork Wed Oct 10 15:18:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12144 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id B1DB1293F82 for ; Wed, 10 Oct 2012 15:19:19 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 589BFA18F3B for ; Wed, 10 Oct 2012 15:19:19 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so1064877iej.11 for ; Wed, 10 Oct 2012 08:19:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=sADYTtqUYngzteCyxVIOZmjtUaJDd+M/SyfN0WY/jPA=; b=FV66paOZeHn4TtOeynRBu9yTsi4Y5+5buWGzDdKaumRspO3lGaU9V5jMpZihWXyfJK 0CHGDPVT2AvK35mxyN2YaycnwEf8XOE1Hzr4JblAuZzLUdKsspj0Tg828H1HnIMf3Pjg BJNeWwKZ0TRqK4sYgm2uwuSvIxXV/DKxOTlRoagmqjYKiA2IwMRb0ReLwtAXDDWH1kx3 cKl5XuNX99wdZdtomhp4l2oLWgV7FvFzhL9IRBMCjC/pO/p/ZvksD8QXknr2NU8guKb6 yRKwM56XO+zs1/y2TS7zEqWTqEsdYCA9D8N6OIjMj+WCCfT8C4EX9vFp9dRw0xUF9SwS IYhw== Received: by 10.50.157.201 with SMTP id wo9mr5553141igb.57.1349882359119; Wed, 10 Oct 2012 08:19:19 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp239708igt; Wed, 10 Oct 2012 08:19:17 -0700 (PDT) Received: by 10.180.106.2 with SMTP id gq2mr13678214wib.18.1349882357050; Wed, 10 Oct 2012 08:19:17 -0700 (PDT) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx.google.com with ESMTPS id by15si3449322wib.34.2012.10.10.08.19.16 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Oct 2012 08:19:17 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wi0-f178.google.com with SMTP id hr7so692481wib.13 for ; Wed, 10 Oct 2012 08:19:16 -0700 (PDT) Received: by 10.180.80.33 with SMTP id o1mr13706237wix.14.1349882356320; Wed, 10 Oct 2012 08:19:16 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id eq2sm3295516wib.1.2012.10.10.08.19.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Oct 2012 08:19:15 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, Lee Jones Subject: [PATCH 3/6] ARM: ux500: Add support for ST-Ericsson's u9540 SoC Date: Wed, 10 Oct 2012 16:18:52 +0100 Message-Id: <1349882335-6786-4-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1349882335-6786-1-git-send-email-lee.jones@linaro.org> References: <1349882335-6786-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQlGEI0Y0zcORPTMdNL3uZdJ4IqJeBLgQ9L8lT4aWsFoIRH/YGYXW4Tnrqkj7jg4R4O89JjG First level board support for the u9540. Acked-by: Linus Walleij Signed-off-by: Lee Jones --- arch/arm/mach-ux500/cpu-db8500.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index 3d8e321..6b7f970 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include @@ -319,6 +320,8 @@ static void __init u8500_init_machine(void) snowball_pinmaps_init(); else if (of_machine_is_compatible("st-ericsson,hrefv60+")) hrefv60_pinmaps_init(); + else if (of_machine_is_compatible("st-ericsson,u9540")) {} + /* TODO: Add u9540 pinmaps. */ /* TODO: Export SoC, USB, cpu-freq and DMA40 */ parent = u8500_of_init_devices(); @@ -331,6 +334,7 @@ static const char * u8500_dt_board_compat[] = { "calaosystems,snowball-a9500", "st-ericsson,hrefv60+", "st-ericsson,mop500", + "st-ericsson,u9540", NULL, }; @@ -345,4 +349,14 @@ DT_MACHINE_START(U8500_DT, "ST-Ericsson U8500 platform (Device Tree Support)") .dt_compat = u8500_dt_board_compat, MACHINE_END +DT_MACHINE_START(U9540_DT, "ST-Ericsson 9540 platform (Device Tree Support)") + .map_io = u8500_map_io, + .init_irq = ux500_init_irq, + .timer = &ux500_timer, + .handle_irq = gic_handle_irq, + .init_machine = u8500_init_machine, + .init_late = NULL, + .dt_compat = u8500_dt_board_compat, +MACHINE_END + #endif