From patchwork Wed Sep 18 12:14:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 20406 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f69.google.com (mail-yh0-f69.google.com [209.85.213.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0D4A6246E9 for ; Wed, 18 Sep 2013 12:15:09 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id c41sf7309282yho.4 for ; Wed, 18 Sep 2013 05:15:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=SNzE76ZiJ5pvcRWGsdsc1/UCg82ITTeLBZrxzwSDgVI=; b=WSZzOsFOkNHClGu8UbStD9aLqvPjjr1jUh+A1kJZ6Kzrt4gUDBDYi7IGF0oYO0vgGE DjL27VAox+FxFTA/CFY0aykRE2WiVeootI8wnjwE3auYKRHkfzy+/RXpfbpZGqCsNYh8 8Bfo+oyt16fZ8xokTI1lKScU0tdwR1hMFLK51rFWQxKebjPdAYImnDbYud3pZf6q+gqR BP2mz/cDsIcbnjCPC+w8who/WnOTg4CS7iGRUCHedURCS1nxdbyBCjPnCzv/LKV2ebKW uXJ6mG67WTONfmRP3nJfzCGEFdWZw4dnVmT1a1eH1DI8mBmbJPXGlAOpZR0M5CmctE12 1K5w== X-Gm-Message-State: ALoCoQk3VbGsjFblXbpLTyQkaWn5UjGOdhZ7pQY8M1KEUFejOwfQdW30l/5Y6siibZ0sML5ArWwZ X-Received: by 10.236.4.69 with SMTP id 45mr14191443yhi.20.1379506508840; Wed, 18 Sep 2013 05:15:08 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.25.66 with SMTP id a2ls3307346qeg.95.gmail; Wed, 18 Sep 2013 05:15:08 -0700 (PDT) X-Received: by 10.220.249.67 with SMTP id mj3mr1764734vcb.23.1379506508734; Wed, 18 Sep 2013 05:15:08 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id c11si445390vej.14.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Sep 2013 05:15:08 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id ht10so5060255vcb.38 for ; Wed, 18 Sep 2013 05:15:08 -0700 (PDT) X-Received: by 10.220.169.203 with SMTP id a11mr299378vcz.26.1379506508660; Wed, 18 Sep 2013 05:15:08 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp214491vcz; Wed, 18 Sep 2013 05:15:08 -0700 (PDT) X-Received: by 10.14.9.72 with SMTP id 48mr20560805ees.42.1379506507130; Wed, 18 Sep 2013 05:15:07 -0700 (PDT) Received: from mail-ea0-f178.google.com (mail-ea0-f178.google.com [209.85.215.178]) by mx.google.com with ESMTPS id t9si1455077eeh.333.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Sep 2013 05:15:07 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.215.178; Received: by mail-ea0-f178.google.com with SMTP id a15so3437080eae.9 for ; Wed, 18 Sep 2013 05:15:06 -0700 (PDT) X-Received: by 10.14.224.66 with SMTP id w42mr1056413eep.86.1379506506623; Wed, 18 Sep 2013 05:15:06 -0700 (PDT) Received: from localhost.localdomain (cpc15-aztw25-2-0-cust493.aztw.cable.virginmedia.com. [92.233.57.238]) by mx.google.com with ESMTPSA id b45sm2382210eef.4.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Sep 2013 05:15:06 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@linaro.org, Lee Jones Subject: [PATCH 19/41] ARM: ux500: Add a DT node for the Nomadik System Timer (MTU0) Date: Wed, 18 Sep 2013 13:14:16 +0100 Message-Id: <1379506478-16625-20-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1379506478-16625-1-git-send-email-lee.jones@linaro.org> References: <1379506478-16625-1-git-send-email-lee.jones@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The MTU0 is required for full booting of the system. The driver has been previously DT:ed and is in use on the Nomadik platform, but we also need to enable it on ux500 based systems. Signed-off-by: Lee Jones --- arch/arm/boot/dts/dbx5x0.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/dbx5x0.dtsi b/arch/arm/boot/dts/dbx5x0.dtsi index 5c3ff94..0d2d5d0 100644 --- a/arch/arm/boot/dts/dbx5x0.dtsi +++ b/arch/arm/boot/dts/dbx5x0.dtsi @@ -43,6 +43,7 @@ interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>; }; + clocks { compatible = "stericsson,u8500-clks"; @@ -67,6 +68,16 @@ }; }; + mtu@a03c6000 { + /* Nomadik System Timer */ + compatible = "st,nomadik-mtu"; + reg = <0xa03c6000 0x1000>; + interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>; + + clocks = <&prcmu_clk PRCMU_TIMCLK>, <&prcc_pclk 6 6>; + clock-names = "timclk", "apb_pclk"; + }; + timer@a0410600 { compatible = "arm,cortex-a9-twd-timer"; reg = <0xa0410600 0x20>;