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: 10688009 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 AF95A14E2 for ; Sun, 18 Nov 2018 17:34:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9043929B6E for ; Sun, 18 Nov 2018 17:34:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8477329B75; Sun, 18 Nov 2018 17:34:05 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0FBCB29B6E for ; Sun, 18 Nov 2018 17:34:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=eyR0xCZv5Phrwkavowc3eSDvA/GuefGsHqDLOQ4ljAU=; b=arkr/Tb2va+dhw/Rt7o2mWI9lm x5qvz5QkVVqn8lVuoin9eAMhM9gLtx57hluJj159U1gEA1t5js3Jbk9xtw9M27XExBMjoG6AaY464 xETc7hMpAtoY6PXaIj0NAlbDYbds9kyUJJ5wExs0rh3iYACgkC3CcO47jzkI7NEcfzVscryXrtoAh PS5ohPCZvMJV88vVjHSiBvU/GYFgku5Gk5tyLUO06KNc3D/tbVG0y0KkVr/Umml61yFIb5OlN7jAB J+9wlQU/JJsPyKQfDqg0hPD8qY/FfDgMrBogJEHE58oT5cXzJkWcKrH2nRGrEd1O2eFrFRRf51lo0 8Jzeq5vw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gOQxL-0000T8-Jc; Sun, 18 Nov 2018 17:33:59 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gOQxB-0000Jg-5B for linux-arm-kernel@lists.infradead.org; Sun, 18 Nov 2018 17:33:50 +0000 Received: by mail-wm1-x341.google.com with SMTP id 79so1115511wmo.0 for ; 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=pVWVXxOufdRRvy0sJzqvny/47V5h8DPqUJEH4jvwkZfGGxdcmFsMUHHdMSjrVGTg6V aNKFEPJa9rpSLiozIUbvAzFblMQS4quXuQQAjb2G/cb12lqTVfK9k8zF96Lu9fXtDd8D lazBa3MkbqAqQsHWaRCYG8Cru7rT+U9Dcm46HwqWgbUlqlShteSEcDZCu2CJCmohEKII Zxvzo4JBx+hhJMmUNA20d8j/vyGA9MGfHVcoTXx0q1TJmekXAfsYPso0nmiSWRbtSEQ7 JSj5YXba3MXOOjJ5cz6zD5X45lJy5iub4N1G1bilfbCX+hqX/afM9vTrT1YPhcFivx4T +FDg== X-Gm-Message-State: AGRZ1gKUCLmgFn8aT6luWFiSF5rryf3+QR/QYWwR4GJvYO4ZPrmg5xUL t1/EnVETVjPvd1OQ1m7uw9U= 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181118_093349_190871_040B2324 X-CRM114-Status: GOOD ( 13.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Takeshi Kihara , Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org, Wolfram Sang , Marc Kleine-Budde , Simon Horman , linux-arm-kernel@lists.infradead.org, Marek Vasut MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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>;