From patchwork Wed Jul 24 23:35:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Mayer X-Patchwork-Id: 18553 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 6BB1B25E19 for ; Wed, 24 Jul 2013 23:36:00 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id b12sf1141593yha.8 for ; Wed, 24 Jul 2013 16:36:00 -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 :x-server-uuid:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:mime-version:x-wss-id: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 :content-transfer-encoding; bh=qiKcXB5ctVbEETTgjX2+XKXsc0yp4paUbL2iJQ0P5wc=; b=EIFZ15QKHlNk8Wgb8lD2sWwNx0QDWdgSK63zm+x1lQjMxlB7tuC7vonCtjygf0O23d snBkIm0HUmXeimnHLYaG4K2ZhMbHHGYP2RQAGTFvGIqgNGIUr/a8CeVsfox+QW7pubeg eCoBVpkCRSCGJj1Dm6ksZyTyjoSJBIZmcPPIjWnwvo3s20oenDhjQHFtJ3hWWrUu0NgA bFLN5j/LZwZyDa1PU6DC36HzpZRHygmTjaEMXvd/WPu2fBW7/DJB2fGe9JExPG00vDAK x983Y0zo3oyo3fvMgSjYUmy3vKjhWBE61hQSxhmnxBnJsR+aEojECMgbBj67Mt/RziUY 9rLA== X-Received: by 10.236.63.37 with SMTP id z25mr21443672yhc.49.1374708959868; Wed, 24 Jul 2013 16:35:59 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.4.138 with SMTP id k10ls436235qek.15.gmail; Wed, 24 Jul 2013 16:35:59 -0700 (PDT) X-Received: by 10.58.2.137 with SMTP id 9mr16471902veu.50.1374708959771; Wed, 24 Jul 2013 16:35:59 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id b1si11144542veg.99.2013.07.24.16.35.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 24 Jul 2013 16:35:59 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.182; Received: by mail-ve0-f182.google.com with SMTP id ox1so7525754veb.27 for ; Wed, 24 Jul 2013 16:35:59 -0700 (PDT) X-Received: by 10.58.2.137 with SMTP id 9mr16471891veu.50.1374708959603; Wed, 24 Jul 2013 16:35:59 -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.58.165.8 with SMTP id yu8csp51760veb; Wed, 24 Jul 2013 16:35:58 -0700 (PDT) X-Received: by 10.66.190.101 with SMTP id gp5mr45287158pac.19.1374708958169; Wed, 24 Jul 2013 16:35:58 -0700 (PDT) Received: from mms3.broadcom.com (mms3.broadcom.com. [216.31.210.19]) by mx.google.com with ESMTP id aq4si27786041pbd.296.2013.07.24.16.35.57 for ; Wed, 24 Jul 2013 16:35:58 -0700 (PDT) Received-SPF: neutral (google.com: 216.31.210.19 is neither permitted nor denied by best guess record for domain of markus.mayer@linaro.org) client-ip=216.31.210.19; Received: from [10.9.208.57] by mms3.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.5)); Wed, 24 Jul 2013 16:26:07 -0700 X-Server-Uuid: B86B6450-0931-4310-942E-F00ED04CA7AF Received: from IRVEXCHSMTP1.corp.ad.broadcom.com (10.9.207.51) by IRVEXCHCAS08.corp.ad.broadcom.com (10.9.208.57) with Microsoft SMTP Server (TLS) id 14.1.438.0; Wed, 24 Jul 2013 16:35:50 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP1.corp.ad.broadcom.com (10.9.207.51) with Microsoft SMTP Server id 14.1.438.0; Wed, 24 Jul 2013 16:35:50 -0700 Received: from mail.broadcom.com (lbrmn-lnxub70.ric.broadcom.com [10.136.8.215]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 599A1F2D75; Wed, 24 Jul 2013 16:35:49 -0700 (PDT) From: "Markus Mayer" To: "ARM Kernel List" , "Device Tree List" cc: "Christian Daudt" , "Linaro Patches" , "Device Tree List" , "Markus Mayer" Subject: [PATCH v2 2/2] ARM: bcm281xx: DT changes for reboot code Date: Wed, 24 Jul 2013 16:35:23 -0700 Message-ID: <1374708923-11956-3-git-send-email-markus.mayer@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1374708923-11956-1-git-send-email-markus.mayer@linaro.org> References: <1374708923-11956-1-git-send-email-markus.mayer@linaro.org> MIME-Version: 1.0 X-WSS-ID: 7DEEBD052L851836449-01-01 X-Gm-Message-State: ALoCoQnNjjNw60Q8uirA8Av7a4CrLuys5servHghAckZLJC2JFco8SPw5fH/fp/RGWFgp0DZGiId X-Original-Sender: markus.mayer@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.182 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: , This patch adds the device tree bindings for the bcm281xx reboot code. Signed-off-by: Markus Mayer Reviewed-by: Tim Kryger Acked-by: Christian Daudt --- .../devicetree/bindings/arm/bcm/bcm,kona-wdt.txt | 15 +++++++++++++++ arch/arm/boot/dts/bcm11351.dtsi | 7 ++++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/arm/bcm/bcm,kona-wdt.txt diff --git a/Documentation/devicetree/bindings/arm/bcm/bcm,kona-wdt.txt b/Documentation/devicetree/bindings/arm/bcm/bcm,kona-wdt.txt new file mode 100644 index 0000000..bb7be64 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/bcm/bcm,kona-wdt.txt @@ -0,0 +1,15 @@ +Broadcom Kona Family Watchdog Timer +----------------------------------- + +This watchdog timer is used in the following Broadcom SoCs: + BCM11130, BCM11140, BCM11351, BCM28145, BCM28155 + +Required properties: + - compatible = "brcm,kona-wdt"; + - reg: memory range + +Example: + watchdog@35002f40 { + compatible = "brcm,kona-wdt"; + reg = <0x35002f40 0x6c>; + }; diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index c0cdf66..a1c1881 100644 --- a/arch/arm/boot/dts/bcm11351.dtsi +++ b/arch/arm/boot/dts/bcm11351.dtsi @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012 Broadcom Corporation + * Copyright (C) 2012-2013 Broadcom Corporation * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -56,6 +56,11 @@ cache-level = <2>; }; + watchdog@35002f40 { + compatible = "bcm,kona-wdt"; + reg = <0x35002f40 0x6c>; + }; + timer@35006000 { compatible = "bcm,kona-timer"; reg = <0x35006000 0x1000>;