From patchwork Fri May 31 09:18:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 17322 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id ED22F25E30 for ; Fri, 31 May 2013 09:20:26 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id s1sf1518726qcw.10 for ; Fri, 31 May 2013 02:20:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :mime-version:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=4sIzF9Y9YWbm0rgt1ANTOGa3FsExaK2/bXLQTduwzyA=; b=C9c/1FKKqEqFvuby6Sj4vPK6TVqHYRzKkmTAKsI2x7+wdAXvSkWMQ/YQGKY5NYbQc3 sbZFf72YOhkRR2Z+OoAXbt+deYF1BojMP4BHPdDSoCFEZIwf5XmtYI2spu710o57SzKP 1ofeUzNA7+NFGam42YQueFVg38p+nnj97eBs9nJsx3yKSdfYp0hGJjWuN/HtbWqUfd+q rrMGIBVNx3q/qUw/jTAsiUB9agMB5ESZdMslIH4GRGm4JzJxW2Vb1UX1IIkskHRTbIWd Rx6kWxb558qWHUG+hE9uVFI6UovtO3xu2q0B9tYktee8hoNYxOfVbXzjqhSja7pRDyA4 6N2Q== X-Received: by 10.236.230.72 with SMTP id i68mr5875883yhq.23.1369992026692; Fri, 31 May 2013 02:20:26 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.48.201 with SMTP id o9ls614269qen.30.gmail; Fri, 31 May 2013 02:20:26 -0700 (PDT) X-Received: by 10.220.246.8 with SMTP id lw8mr9239663vcb.8.1369992026523; Fri, 31 May 2013 02:20:26 -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 ow20si13448205veb.13.2013.05.31.02.20.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 02:20:26 -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 hz10so869354vcb.24 for ; Fri, 31 May 2013 02:20:26 -0700 (PDT) X-Received: by 10.220.192.3 with SMTP id do3mr9336241vcb.16.1369992026398; Fri, 31 May 2013 02:20:26 -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.229.199 with SMTP id jj7csp42387vcb; Fri, 31 May 2013 02:20:25 -0700 (PDT) X-Received: by 10.14.4.130 with SMTP id 2mr12588305eej.125.1369992025147; Fri, 31 May 2013 02:20:25 -0700 (PDT) Received: from eu1sys200aog108.obsmtp.com (eu1sys200aog108.obsmtp.com [207.126.144.125]) by mx.google.com with SMTP id b5si29988935eew.254.2013.05.31.02.20.06 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 31 May 2013 02:20:25 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.125 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.125; Received: from beta.dmz-ap.st.com ([138.198.100.35]) (using TLSv1) by eu1sys200aob108.postini.com ([207.126.147.11]) with SMTP ID DSNKUahrQ2N+zc88tYBjcT4U0jP3sDx5mlYU@postini.com; Fri, 31 May 2013 09:20:24 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 923679B; Fri, 31 May 2013 09:20:00 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 409D016AC; Fri, 31 May 2013 09:20:00 +0000 (GMT) Received: from exdcvycastm003.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm003", Issuer "exdcvycastm003" (not verified)) by relay2.stm.gmessaging.net (Postfix) with ESMTPS id 7C410A8065; Fri, 31 May 2013 11:19:55 +0200 (CEST) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.1) with Microsoft SMTP Server (TLS) id 8.3.279.5; Fri, 31 May 2013 11:19:59 +0200 From: Linus Walleij To: Cc: Arnd Bergmann , Linus Walleij Subject: [PATCH 09/39] ARM: u300: add the COH 901 327 watchdog to device tree Date: Fri, 31 May 2013 11:18:44 +0200 Message-ID: <1369991954-17406-10-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.11.3 In-Reply-To: <1369991954-17406-1-git-send-email-linus.walleij@stericsson.com> References: <1369991954-17406-1-git-send-email-linus.walleij@stericsson.com> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQmb+SkLjCqB1GYmpRvk64SNEenclV+TH6XIdYYNr2FY/3zsEeqW8S+OWei21hXU8y9+lwFl X-Original-Sender: linus.walleij@stericsson.com 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: , From: Linus Walleij This adds the COH 901 327 watchdog to the U300 device tree. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/ste-u300.dts | 7 +++++++ arch/arm/mach-u300/core.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/ste-u300.dts b/arch/arm/boot/dts/ste-u300.dts index 67a1b52..f0eb5f4 100644 --- a/arch/arm/boot/dts/ste-u300.dts +++ b/arch/arm/boot/dts/ste-u300.dts @@ -49,6 +49,13 @@ reg = <0xc0011000 0x1000>; }; + watchdog: watchdog@c0012000 { + compatible = "stericsson,coh901327"; + reg = <0xc0012000 0x1000>; + interrupt-parent = <&vicb>; + interrupts = <3>; + }; + i2c0: i2c@c0004000 { compatible = "st,ddci2c"; reg = <0xc0004000 0x1000>; diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index abe9704..190e788 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c @@ -710,6 +710,8 @@ static struct of_dev_auxdata u300_auxdata_lookup[] __initdata = { "pinctrl-u300", NULL), OF_DEV_AUXDATA("stericsson,gpio-coh901", U300_GPIO_BASE, "u300-gpio", &u300_gpio_plat), + OF_DEV_AUXDATA("stericsson,coh901327", U300_WDOG_BASE, + "coh901327_wdog", NULL), OF_DEV_AUXDATA("arm,primecell", U300_UART0_BASE, "uart0", &uart0_plat_data), OF_DEV_AUXDATA("arm,primecell", U300_UART1_BASE,