From patchwork Thu Apr 23 23:03:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 6265691 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 754389F1C4 for ; Thu, 23 Apr 2015 23:09:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A01F7203AD for ; Thu, 23 Apr 2015 23:09:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CF1B720138 for ; Thu, 23 Apr 2015 23:09:42 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YlQCW-0003G7-7G; Thu, 23 Apr 2015 23:06:32 +0000 Received: from mail-pd0-x235.google.com ([2607:f8b0:400e:c02::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YlQBr-00035w-HO for linux-arm-kernel@lists.infradead.org; Thu, 23 Apr 2015 23:05:52 +0000 Received: by pdbnk13 with SMTP id nk13so31026044pdb.0 for ; Thu, 23 Apr 2015 16:05:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jUqiTw5I56bP2HFimSUQ3f6fpHy8efY9g8gVCSpXa+0=; b=avlHduTZrw7MtAtPyH/P1XzciNHzar6b1BcyIINyu5wSHz4KoP8A+2s6E19BnP237a d4xnAPxz5sF1YEFZ/fHyL85g/TxNf1Z/i9muzu6EhwmkuEq3yS9nWb30nSYhgGNNbj7g Cdf0siRBryi8OWCbTwg3+bMaZsc/UskcDLtMKiFlPPKAJQIkVQxRsdhp26+RjPUNvXiV a8BljhQmMhv3YTL/izQOUCpbz1/Lq5+Xf6HckP7puiiPmKhY3bT+yJMskw+ZAN4i3iAy 9bhx1NkdFYmxkgFRg6b1XstEV8twCrcb5vyP+g9+tdm0R0c08k9SHrFRwagZh9+oGlqj egkQ== X-Received: by 10.66.167.232 with SMTP id zr8mr9541052pab.23.1429830329340; Thu, 23 Apr 2015 16:05:29 -0700 (PDT) Received: from fainelli-desktop.broadcom.com (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by mx.google.com with ESMTPSA id l8sm9121038pdj.80.2015.04.23.16.05.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Apr 2015 16:05:28 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/2] ARM: dts: BCM63xx: Add timer and syscon-reboot nodes Date: Thu, 23 Apr 2015 16:03:01 -0700 Message-Id: <1429830181-28338-3-git-send-email-f.fainelli@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1429830181-28338-1-git-send-email-f.fainelli@gmail.com> References: <1429830181-28338-1-git-send-email-f.fainelli@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150423_160551_625154_1E87293F X-CRM114-Status: UNSURE ( 9.46 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: Florian Fainelli , arnd@arndb.de, khilman@kernel.org, cernekee@gmail.com, bcm-kernel-feedback-list@broadcom.com, gregory.0xf0@gmail.com, olof@lixom.net, computersforpeace@gmail.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add a "brcm,bcm6328-timer" and "syscon-reboot" nodes to allow the generic syscon-reboot driver to reset a BCM63138 SoC. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/bcm63138.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/bcm63138.dtsi b/arch/arm/boot/dts/bcm63138.dtsi index f46329c8ad75..c23402e18811 100644 --- a/arch/arm/boot/dts/bcm63138.dtsi +++ b/arch/arm/boot/dts/bcm63138.dtsi @@ -114,6 +114,11 @@ #size-cells = <1>; ranges = <0 0xfffe8000 0x8100>; + timer: timer@80 { + compatible = "brcm,bcm6328-timer", "syscon"; + reg = <0x80 0x3c>; + }; + serial0: serial@600 { compatible = "brcm,bcm6345-uart"; reg = <0x600 0x1b>; @@ -131,5 +136,12 @@ clock-names = "periph"; status = "disabled"; }; + + reboot { + compatible = "syscon-reboot"; + regmap = <&timer>; + offset = <0x34>; + mask = <1>; + }; }; };