From patchwork Tue Jul 7 14:10:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 6733191 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@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 2A3DE9F380 for ; Tue, 7 Jul 2015 14:10:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4ABD1205C2 for ; Tue, 7 Jul 2015 14:10:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5A572206E4 for ; Tue, 7 Jul 2015 14:10:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757849AbbGGOKS (ORCPT ); Tue, 7 Jul 2015 10:10:18 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:54675 "EHLO michel.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757541AbbGGOKQ (ORCPT ); Tue, 7 Jul 2015 10:10:16 -0400 Received: from ayla.of.borg ([84.193.93.87]) by michel.telenet-ops.be with bizsmtp id pSAF1q00d1t5w8s06SAFXs; Tue, 07 Jul 2015 16:10:15 +0200 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1ZCTZf-000643-5F; Tue, 07 Jul 2015 16:10:15 +0200 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1ZCTZj-0005MA-H3; Tue, 07 Jul 2015 16:10:19 +0200 From: Geert Uytterhoeven To: Simon Horman , Magnus Damm , Michael Turquette , Stephen Boyd Cc: Laurent Pinchart , Ulrich Hecht , linux-sh@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH/RFC 05/11] ARM: shmobile: r8a7794 dtsi: Add device node for RST module Date: Tue, 7 Jul 2015 16:10:11 +0200 Message-Id: <1436278217-20522-6-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1436278217-20522-1-git-send-email-geert+renesas@glider.be> References: <1436278217-20522-1-git-send-email-geert+renesas@glider.be> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 device node for the RST module, which provides reset control. Declare it to be a system controller (syscon), so other device nodes can refer to its registers. TODO Add DT binding documentation. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7794.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi index b1505d2537772e82..bd37ec229329ed9c 100644 --- a/arch/arm/boot/dts/r8a7794.dtsi +++ b/arch/arm/boot/dts/r8a7794.dtsi @@ -786,6 +786,11 @@ }; }; + rst: reset-controller@e616000 { + compatible = "renesas,rst-r8a7794", "syscon"; + reg = <0 0xe6160000 0 0x0100>; + }; + sysc: system-controller@e6180000 { compatible = "renesas,sysc-r8a7794", "renesas,sysc-rcar"; reg = <0 0xe6180000 0 0x0200>;