From patchwork Fri Nov 17 10:41:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 10062615 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E733960352 for ; Fri, 17 Nov 2017 10:41:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E41B92A6D0 for ; Fri, 17 Nov 2017 10:41:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D8F162A7A0; Fri, 17 Nov 2017 10:41:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6CA022A6D0 for ; Fri, 17 Nov 2017 10:41:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752612AbdKQKlx (ORCPT ); Fri, 17 Nov 2017 05:41:53 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:43318 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750828AbdKQKls (ORCPT ); Fri, 17 Nov 2017 05:41:48 -0500 Received: by mail-wm0-f68.google.com with SMTP id x63so5521579wmf.2; Fri, 17 Nov 2017 02:41:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=8tl7JZewYMAzTdTlTzFEiAR5tPwAHI4IYrJiP3/brEE=; b=C3ePBcT6WN2ijkP69hv+ZWoOXjUWtvTamTlHSQGOd4G/1I5lAF8d6XiQvrDryoUFcx Ss7JoxDHt3veogyoObateVQlEI03uUGklg8oLCA4CTBfBd9jXSRtQsiFH0/QeKNJm01z jcf1/uoR5tlbf0ewFtgdWiGxVGcGPPBCmURT6NhIbOEiX3l0n4u0XrhWmCoSzyWquXnL KjTonPwSi2NFGpS1+dKoxbjoZpsc7I2TxiJOwBYmf4NK2j08qKwY7Q9TRxeIUQCSRwKt 4boFY7XdCZp/jgabfKRTleZfjbMURF43BFhZTIwpjZHgdA4mSOjRR7KlMxveUa4zYbRl 94ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=8tl7JZewYMAzTdTlTzFEiAR5tPwAHI4IYrJiP3/brEE=; b=k7K74qLpslOCLL8i8b/DxViar+j2xVcIISgvMKHRApoUfvY2u6rxsW4dmsvOoe8Qbp RIgHBV9yhsAhjBu0WonEkVChnC+Uq9EaYYR1H3705OZhunl3h/40UevaGncARWdaf7cq 141h8VjjDRoAc0w19NIMS6HWEAU6GWULXSj2yY/qcy8IV1+RCst9V/dxyZ8kb6sqxis4 /sl7ivwd6lC6CUfpqT9Qg/iCexnFIcoh1Qa9NAnN8z3y5noyglLl28D2mN+1Et5e8m2b ubCBGx2CpdVYyfBn4AG8q91jdOymefNtVXX/2UXOcnELy1Nm7bBdy8k6LOOcsu1O2giV YIRw== X-Gm-Message-State: AJaThX5fNHbXWWkjKXKimlfGcDDy4Z8QOY7GCD1vIqhZCVGFo4Xj6hXQ 6Cd4pQbud43AaEEafjteVn6862c= X-Google-Smtp-Source: AGs4zMbpFVtzrY6K9zkKAEihLARFwnTzWMykInSG/flkaLSrdUS9JZ5viPH9xmbOcE+mAJLk/btMYA== X-Received: by 10.28.6.6 with SMTP id 6mr3940635wmg.114.1510915307096; Fri, 17 Nov 2017 02:41:47 -0800 (PST) Received: from groucho.site (ipbcc0ce42.dynamic.kabel-deutschland.de. [188.192.206.66]) by smtp.gmail.com with ESMTPSA id u33sm2570098wrf.42.2017.11.17.02.41.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Nov 2017 02:41:46 -0800 (PST) From: Ulrich Hecht To: linux-renesas-soc@vger.kernel.org Cc: linux-can@vger.kernel.org, devicetree@vger.kernel.org, wsa@the-dreams.de, horms@verge.net.au, geert@linux-m68k.org, magnus.damm@gmail.com, chris.paterson2@renesas.com, ramesh.shanmugasundaram@bp.renesas.com, Ulrich Hecht Subject: [PATCH 5/7] arm64: dts: r8a77995: Add CAN FD support Date: Fri, 17 Nov 2017 11:41:27 +0100 Message-Id: <1510915289-15059-6-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510915289-15059-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1510915289-15059-1-git-send-email-ulrich.hecht+renesas@gmail.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Adds CAN FD controller node for r8a77995. Based on a patch for r8a7796 by Chris Paterson. Signed-off-by: Ulrich Hecht Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a77995.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi b/arch/arm64/boot/dts/renesas/r8a77995.dtsi index a611324..6648c9b 100644 --- a/arch/arm64/boot/dts/renesas/r8a77995.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77995.dtsi @@ -306,6 +306,31 @@ status = "disabled"; }; + canfd: can@e66c0000 { + compatible = "renesas,r8a77995-canfd", + "renesas,rcar-gen3-canfd"; + reg = <0 0xe66c0000 0 0x8000>; + interrupts = , + ; + clocks = <&cpg CPG_MOD 914>, + <&cpg CPG_CORE R8A77995_CLK_CANFD>, + <&can_clk>; + clock-names = "fck", "canfd", "can_clk"; + assigned-clocks = <&cpg CPG_CORE R8A77995_CLK_CANFD>; + assigned-clock-rates = <40000000>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; + resets = <&cpg 914>; + status = "disabled"; + + channel0 { + status = "disabled"; + }; + + channel1 { + status = "disabled"; + }; + }; + avb: ethernet@e6800000 { compatible = "renesas,etheravb-r8a77995", "renesas,etheravb-rcar-gen3";