From patchwork Sun Nov 18 17:33:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10688005 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-2.web.codeaurora.org (Postfix) with ESMTP id BF85814DB for ; Sun, 18 Nov 2018 17:33:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9EB5729B6D for ; Sun, 18 Nov 2018 17:33:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8FC9D29B72; Sun, 18 Nov 2018 17:33:40 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 32CDD29B6D for ; Sun, 18 Nov 2018 17:33:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726822AbeKSDya (ORCPT ); Sun, 18 Nov 2018 22:54:30 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:34713 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726366AbeKSDya (ORCPT ); Sun, 18 Nov 2018 22:54:30 -0500 Received: by mail-wm1-f68.google.com with SMTP id f1-v6so4452901wmg.1; Sun, 18 Nov 2018 09:33:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Sr3klC3TG0ItP9elgnKTsRRbzh9RlamejKDrdrD0l34=; b=jiZaxXdUxv/lw2wQVtMLyXuuem5298H/tJK9aIO51cH/FGZHTYUATNNC5E+33qwGs5 B5RKjlLjKp+c0KfXpNuKXYm27eHuZU2W6fgRhgJZST7+qdUirsS/1xYaafsy8X8rR5xV 9Tn7csTZ3YZlSwLMBZbpfg5TBipLGFp76jBr5t385LIzgB2INJcGLtuYM4/a6WnkkuuB ATt6H3yj8MnNCYrynxq2j9IgGsMdx9ovfR9qy68ckiNwen1XLuVaAFfdMPQspfNMwEvN 7CoGLH2tthI4j6nJ6Y+2nJ3qrk+81DLrayxkrgsM58hMY7qVcx4WxQEdSWLGBkTXkC+U 6H9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Sr3klC3TG0ItP9elgnKTsRRbzh9RlamejKDrdrD0l34=; b=lzs64OMKmPHhOfzLUt2VHTbKHvIiI84g4JiIveQZbhQVAXZz5/m60EnBmkwc3apx3f jFzmHlXEuLHtqgmKUC69PbFOe+FC8kYgHdajYGPLp1FeFnW2mW+eRaS2wDIjsbnpldnA g6BylnQLa9nF9cpE0RLm6rvq11vCQTVjwwZf/B9VQ9RCJJ5vdK9EYlomboi+y8kiF3GH 1nRzpJTsXK/OKaav7jrqtH4ssLnC7K9yeA4EgoSPBdqGCaiMqm38zhT8wW1X6cBUPCmL UadmWwhu72VwPz8IdQh4pbarcx8Nl7y6v+UrMvRRBEqlTXynhUtP5iGbHsl1xFNS1em+ Dq3Q== X-Gm-Message-State: AGRZ1gIx8hP0nvzVAMq/hS5q6suWVaTWrbRg7j2MdbHmlwEnMhBkI4N4 XtBWNyIBEwFIvaTvMEdbK0z3RiNs X-Google-Smtp-Source: AFSGD/XL173i6U5RNYA4EyrvoJlg8jR/d9ehSUB+AMR8vFc8FLMHjRYdfa/Z1UHXbvq3W7W+PEWqiA== X-Received: by 2002:a1c:9d97:: with SMTP id g145mr4459941wme.121.1542562417558; Sun, 18 Nov 2018 09:33:37 -0800 (PST) Received: from kurokawa.lan (ip-86-49-110-70.net.upcbroadband.cz. [86.49.110.70]) by smtp.gmail.com with ESMTPSA id j19sm11988424wmj.44.2018.11.18.09.33.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Nov 2018 09:33:36 -0800 (PST) From: Marek Vasut X-Google-Original-From: Marek Vasut To: devicetree@vger.kernel.org Cc: Takeshi Kihara , Marek Vasut , Geert Uytterhoeven , Marc Kleine-Budde , Rob Herring , Simon Horman , Wolfram Sang , linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] arm64: dts: renesas: r8a77965: Add CAN FD controller node Date: Sun, 18 Nov 2018 18:33:27 +0100 Message-Id: <20181118173327.4704-2-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181118173327.4704-1-marek.vasut+renesas@gmail.com> References: <20181118173327.4704-1-marek.vasut+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 From: Takeshi Kihara This patch adds CAN FD controller nodes for the R8A77965 SoC. Signed-off-by: Takeshi Kihara Signed-off-by: Marek Vasut Cc: Geert Uytterhoeven Cc: Marc Kleine-Budde Cc: Rob Herring Cc: Simon Horman Cc: Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index 3485624921bf..1c86e6f4dc71 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -938,6 +938,31 @@ status = "disabled"; }; + canfd: can@e66c0000 { + compatible = "renesas,r8a77965-canfd", + "renesas,rcar-gen3-canfd"; + reg = <0 0xe66c0000 0 0x8000>; + interrupts = , + ; + clocks = <&cpg CPG_MOD 914>, + <&cpg CPG_CORE R8A77965_CLK_CANFD>, + <&can_clk>; + clock-names = "fck", "canfd", "can_clk"; + assigned-clocks = <&cpg CPG_CORE R8A77965_CLK_CANFD>; + assigned-clock-rates = <40000000>; + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; + resets = <&cpg 914>; + status = "disabled"; + + channel0 { + status = "disabled"; + }; + + channel1 { + status = "disabled"; + }; + }; + pwm0: pwm@e6e30000 { compatible = "renesas,pwm-r8a77965", "renesas,pwm-rcar"; reg = <0 0xe6e30000 0 8>;