From patchwork Mon Dec 29 22:06:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 5550381 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 75A50BF6C3 for ; Mon, 29 Dec 2014 22:06:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9DFB020160 for ; Mon, 29 Dec 2014 22:06:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BF5052017A for ; Mon, 29 Dec 2014 22:06:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751834AbaL2WGM (ORCPT ); Mon, 29 Dec 2014 17:06:12 -0500 Received: from mail-lb0-f181.google.com ([209.85.217.181]:32870 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751061AbaL2WGL (ORCPT ); Mon, 29 Dec 2014 17:06:11 -0500 Received: by mail-lb0-f181.google.com with SMTP id l4so11376112lbv.26 for ; Mon, 29 Dec 2014 14:06:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=76uwScwp5MfcqE8rO1HXWeU/pcFa2IIO5iuESo0fbO8=; b=KqHPircPYnK6y+6rzVn7z/9scPL6ycbxuRAM1fJUX6Hz0KR4aD7S5WUn/thCYOC1U9 m6hfLsNUTVktT1ih4G3ycJr1pjH+41dBnfT30h8mx0Uc3BmS+Vk2I4WlPAV6p+G+p6Nb iWN+RdzoxAwoQNUa7eTRiA58lSswYatLQ/ESd7teCQGun0b8T1bsgoYIFJjHc4J7/OBJ 6wH3/XKi6xa2KWsML+OVTxUVWVjKJNd+q52YPtiKZmblNCjYECSVeFe8ZESFmaXiib59 ZP2yb1bUt2bU+r2j6svUTTw7pH6r25LIKkGARwOzYIAJ4rGjg/90O1cRNEECuCGU/lqb BIVg== X-Gm-Message-State: ALoCoQnMcyPOwiEtETAkRwEZ9NjMLX5nATrT5ayL7gVUkDLmlX0FdYJRA6OEEdfZAWxj5tr0xtsZ X-Received: by 10.112.126.165 with SMTP id mz5mr36656761lbb.67.1419890770007; Mon, 29 Dec 2014 14:06:10 -0800 (PST) Received: from wasted.cogentembedded.com (ppp27-203.pppoe.mtu-net.ru. [81.195.27.203]) by mx.google.com with ESMTPSA id ta7sm10217212lbb.22.2014.12.29.14.06.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Dec 2014 14:06:09 -0800 (PST) From: Sergei Shtylyov To: horms@verge.net.au Cc: 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, magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] ARM: shmobile: r8a7790: add CAN DT support Date: Tue, 30 Dec 2014 01:06:07 +0300 Message-ID: <5498306.nhRks3sT7k@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.3 (Linux/3.17.7-200.fc20.x86_64; KDE/4.14.3; x86_64; ; ) In-Reply-To: <2616635.bsb7mLynhA@wasted.cogentembedded.com> References: <2616635.bsb7mLynhA@wasted.cogentembedded.com> MIME-Version: 1.0 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 R8A7790 parts of the CAN0/1 device nodes. Signed-off-by: Sergei Shtylyov Acked-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7790.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 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/r8a7790.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7790.dtsi +++ renesas/arch/arm/boot/dts/r8a7790.dtsi @@ -792,6 +792,26 @@ }; }; + can0: can@e6e80000 { + compatible = "renesas,can-r8a7790"; + reg = <0 0xe6e80000 0 0x1000>; + interrupts = <0 186 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp9_clks R8A7790_CLK_RCAN0>, + <&cpg_clocks R8A7790_CLK_RCAN>, <&can_clk>; + clock-names = "clkp1", "clkp2", "can_clk"; + status = "disabled"; + }; + + can1: can@e6e88000 { + compatible = "renesas,can-r8a7790"; + reg = <0 0xe6e88000 0 0x1000>; + interrupts = <0 187 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp9_clks R8A7790_CLK_RCAN1>, + <&cpg_clocks R8A7790_CLK_RCAN>, <&can_clk>; + clock-names = "clkp1", "clkp2", "can_clk"; + status = "disabled"; + }; + clocks { #address-cells = <2>; #size-cells = <2>;