From patchwork Thu Jul 3 19:38:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4476711 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 573CFBEEAA for ; Thu, 3 Jul 2014 19:38:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 93AEE20295 for ; Thu, 3 Jul 2014 19:38:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B8772202B4 for ; Thu, 3 Jul 2014 19:38:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751698AbaGCTij (ORCPT ); Thu, 3 Jul 2014 15:38:39 -0400 Received: from mail-lb0-f171.google.com ([209.85.217.171]:48444 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751109AbaGCTii (ORCPT ); Thu, 3 Jul 2014 15:38:38 -0400 Received: by mail-lb0-f171.google.com with SMTP id s7so516321lbd.16 for ; Thu, 03 Jul 2014 12:38:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=uyFmmkZBD9kq0gJLhHv1ZMnSXkIbPovHudYWHy7RAHI=; b=Po60qgtGXWwNo1+BXO8/3RH+z+MRfH6V3eTu1/27dSondpfNpYamdGHdnoS96mq6xU yagfs+E7k6o5Q73xVRI3pAyqTDG4YKkumHbKFaSe0LlPNkbwphBv4JkxJqRJdSyihd6Y Lg39nDbPd/l0g2ODvN9/Jsu+cxIIghuyMSl5jnAFreM/SjeM00JjN8LTgXajB9BoOUoX nCtKO089JBsYBQ2kzMCOhOe+cPvP8Tj7Vi/zaOGmQr0htujT+cgBVzBa+vLpdDKe0u0E lWoR2ME85Nb+ynL3bPrR1Lea7HsXdYZK/AweA+aTNn0J6MzNrvCpFcDN8Coj276u+aN/ fKMg== X-Gm-Message-State: ALoCoQk3A2aZy/8F3DZOovAXFD2+oLtaCsvmsJgtBvyIG2cq6LleT130I4TSqTb8JYpBn7jWiFS7 X-Received: by 10.112.52.167 with SMTP id u7mr4547311lbo.28.1404416317124; Thu, 03 Jul 2014 12:38:37 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp31-204.pppoe.mtu-net.ru. [81.195.31.204]) by mx.google.com with ESMTPSA id yr11sm37068401lbb.5.2014.07.03.12.38.35 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 03 Jul 2014 12:38:36 -0700 (PDT) From: Sergei Shtylyov Organization: Cogent Embedded To: horms@verge.net.au, linux-sh@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org Subject: [PATCH v2 1/2] ARM: shmobile: r8a7791: add CAN DT support Date: Thu, 3 Jul 2014 23:38:42 +0400 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.i686.PAE; KDE/4.4.5; i686; ; ) Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, vksavl@gmail.com References: <201407032337.03509.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201407032337.03509.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201407032338.43409.sergei.shtylyov@cogentembedded.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Define the generic R8A7791 parts of the CAN0/1 device nodes. Signed-off-by: Sergei Shtylyov --- Changes in version 2: - fixed the "compatible" property in the CAN device nodes. arch/arm/boot/dts/r8a7791.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: renesas/arch/arm/boot/dts/r8a7791.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791.dtsi +++ renesas/arch/arm/boot/dts/r8a7791.dtsi @@ -518,6 +518,22 @@ status = "disabled"; }; + can0: can@e6e80000 { + compatible = "renesas,can-r8a7791"; + reg = <0 0xe6e80000 0 0x1000>; + interrupts = <0 186 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp9_clks R8A7791_CLK_RCAN0>; + status = "disabled"; + }; + + can1: can@e6e88000 { + compatible = "renesas,can-r8a7791"; + reg = <0 0xe6e88000 0 0x1000>; + interrupts = <0 187 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp9_clks R8A7791_CLK_RCAN1>; + status = "disabled"; + }; + clocks { #address-cells = <2>; #size-cells = <2>;