From patchwork Sun Nov 18 17:33:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10688007 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 DDFE214DB for ; Sun, 18 Nov 2018 17:33:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC56C29B6D for ; Sun, 18 Nov 2018 17:33:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AE8B329B72; Sun, 18 Nov 2018 17:33: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=-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=unavailable 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 6095829B6D for ; Sun, 18 Nov 2018 17:33:54 +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: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:In-Reply-To: References:List-Owner; bh=ngaSD1wCpTXCwp92CNAkp8Xww44V4NBnGnje8yz08mE=; b=eFb rRIjNkdknN3ACJa0crWWOztBd0K9uNnNxqkLP/wgKPiH4sT2CzhufqAl/L8U1iTDrchHsLIQAMnA8 2lpa/nuCx11fcywmDdetJziji3vKgY0QxTGDpffc6pHHccsx3DtH0FKLCRhIaSBnRgqZxYsHCGwpk 8iNNAoAf434Q+4C+OCe2WFxRDoNj6JZE7x92iOXq9MrGT9Vq5B6rruU2jfGpzqqUpdzRbCH1sS/FK dK1f4u2+VmOIwPT6kCpmbwcdJFhPaW7GL3+fOaj03biutBbg+e7g66dvT6C33BTAbl6LEKQdbJGJB aLfsmmkhxRvRTMJddKP4KgHtQ1BkNjg==; 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 1gOQxB-0000Ki-HD; Sun, 18 Nov 2018 17:33:49 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gOQx8-0000JW-49 for linux-arm-kernel@lists.infradead.org; Sun, 18 Nov 2018 17:33:48 +0000 Received: by mail-wm1-x344.google.com with SMTP id y139so3079891wmc.5 for ; Sun, 18 Nov 2018 09:33:35 -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; bh=3/ARjIpBqAguRWtlfNnjwe6stMuGh889umtMjY/c698=; b=UP0JLbwCdjhNKKtN9+01q0X0BI6VeU5an6eGHI0QtDMB+CWUGR/fPneIZIYVaWDC+1 wlcivKdRMqYg3J5oSKbjbjNTP4SjVDdACGRPCNTC+Lu6/s7knpyHZPbSSc8eixG9oZYW vyYNMFw8t7qP7fZh5XJz2OBgQgMejTeAddSe2Sdbi7UuFmLYbgfhtY643V8lAGqdQMMd ILMK0GwF6FcZ5zl4VOnQmA2AmMpzmkuQqJIVv6WDnxl4E1zkvqn309a0vv1E+wbU08IH KVrnn3e7rBSY+CwUN8Gs4KG2IzilKaC/DvwhXsAp05cen4ubL4FXBqLlD4ucz9m2Tf+i zuhA== 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; bh=3/ARjIpBqAguRWtlfNnjwe6stMuGh889umtMjY/c698=; b=CVxS+SbWNdNU2UgdAjm+clslif6+VDC6/T70Xr856ovEavPHH+B8Y20d8rkqFSsghC er6WDrwHyujP02MfkNkDq+NXFaTjxwE6Dr6U4Rvm3pVvQQR9UizgwWCDMrBJIjPZ8hFo QavS3lBjHZwZLpV4KQ6uTFVqj/K1LfBRc45RSprnZCZ19nMZBYLRH5+gPek5ISXy3T/L ChlO93GMrni/SpT4w3fZNWmhncGayQyrLFBqad7a1mGVCUtJ0zfjB5/nwas3LNk9wQiB ZQRPnZjmynq2BPXaAexloycThvS+4MtNeeYtm5bAngQAUHM8eX+EFQM53D9r0HLEpc+z AmTg== X-Gm-Message-State: AGRZ1gJadRSynlm+NxfpjQ+CHzpUc52cZ4tC/VEeZc9c3uQno3guzLdu 6fNqGL7ED2NzSecoIrRgSIg= X-Google-Smtp-Source: AJdET5fKLc8oB07J6Na7KQs9Q06WRsuNK4TCMZ77Zpx7BKcVqpZSstl5pJEuq3CueYxYv74TVl8aFQ== X-Received: by 2002:a7b:c397:: with SMTP id s23mr4471302wmj.127.1542562414015; Sun, 18 Nov 2018 09:33:34 -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.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Nov 2018 09:33:33 -0800 (PST) From: Marek Vasut X-Google-Original-From: Marek Vasut To: devicetree@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: renesas: r8a77965: Add CAN controller nodes Date: Sun, 18 Nov 2018 18:33:26 +0100 Message-Id: <20181118173327.4704-1-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.18.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181118_093346_183581_165944E1 X-CRM114-Status: GOOD ( 13.39 ) 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{0,1} controller nodes for the R8A77965 SoC. Based on several similar patches of the R8A7795 device tree by Ramesh Shanmugasundaram and Geert Uytterhoeven . 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 Tested-by: Marek Vasut --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 26 +++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index 3a958fb25245..3485624921bf 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -907,13 +907,35 @@ }; can0: can@e6c30000 { + compatible = "renesas,can-r8a77965", + "renesas,rcar-gen3-can"; reg = <0 0xe6c30000 0 0x1000>; - /* placeholder */ + interrupts = ; + clocks = <&cpg CPG_MOD 916>, + <&cpg CPG_CORE R8A77965_CLK_CANFD>, + <&can_clk>; + clock-names = "clkp1", "clkp2", "can_clk"; + assigned-clocks = <&cpg CPG_CORE R8A77965_CLK_CANFD>; + assigned-clock-rates = <40000000>; + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; + resets = <&cpg 916>; + status = "disabled"; }; can1: can@e6c38000 { + compatible = "renesas,can-r8a77965", + "renesas,rcar-gen3-can"; reg = <0 0xe6c38000 0 0x1000>; - /* placeholder */ + interrupts = ; + clocks = <&cpg CPG_MOD 915>, + <&cpg CPG_CORE R8A77965_CLK_CANFD>, + <&can_clk>; + clock-names = "clkp1", "clkp2", "can_clk"; + assigned-clocks = <&cpg CPG_CORE R8A77965_CLK_CANFD>; + assigned-clock-rates = <40000000>; + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; + resets = <&cpg 915>; + status = "disabled"; }; pwm0: pwm@e6e30000 {