Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp614376pxv; Thu, 15 Jul 2021 11:33:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyK3ZiwkdzTKxF1rCQI5zxx7ssFC4elBd07PjvGHufl0sayssP5OGr8fWlJdbHq+sxD9MvA X-Received: by 2002:a50:9554:: with SMTP id v20mr8850383eda.179.1626374032423; Thu, 15 Jul 2021 11:33:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626374032; cv=none; d=google.com; s=arc-20160816; b=JVWFgFOKbV/I/H93uG4+9srkqbWELZT37LScVlsFqiVRqbTmR/VTLvP01AbQ8AQ9Ch FOBuQMcbjfn1/fgt/SSusQ1/74Xb3hIWu2jszoIQA9wlz3hqx2liRaO29qwxjlah++Gd VCY+JyqihLQuW2HiuHHoqD/Eipw38MeKHGX2T0NH4Z5aPICL1LQFxgzWRzE/qAWSVHU9 l9DjfhvA238he1oHlc0TP62p4xBL/aokKarRPJ673u0f5hKAmGjC16IVfyJ3BzPIt6UM jODiULUIhu2293zDkxhfDlyKZ831Np7yAZUNQa/fkPX+ELZhbIpB4snFlXt2DubJmyzC RETQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=GGCmMXYtVRBUCiqeUEvRTXhII2Zc0YcMd/QXHjhldXQ=; b=I5qNQcDAq3usIie3zVL3Qj2v5s3ivPpV+3DCNolBv3+mXswlfI1CqfefSecjQqZzwc XWE+JItG2/oRqWNL+jVHy3hAviNhmuRrrat9b7o9Dl7l7gOBFjA0/kRod0xg4kxSUpL5 qjp2n2fafJ4nwDLCOw4M2H8jyIt3Y3RmJh1ZIbqnqOibuznYeN+zdFXOC0T45eNl50Yu S0NGftq524OtrU7ePJGpzgHvOwdRasLzTpNdpQO3QWLOMcqs6C8jpze0LFB/NiEHL8um tyzCr3lB5hY09mZaYBBB1Yg/nVRMgJFCF+JifzVn4dB47/OOlK0HxPLet2+/j9woxR4c CWUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z16si10796452edm.532.2021.07.15.11.33.28; Thu, 15 Jul 2021 11:33:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234683AbhGOS0E (ORCPT + 99 others); Thu, 15 Jul 2021 14:26:04 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:20070 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S238511AbhGOSYy (ORCPT ); Thu, 15 Jul 2021 14:24:54 -0400 X-IronPort-AV: E=Sophos;i="5.84,243,1620658800"; d="scan'208";a="87775126" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 16 Jul 2021 03:21:59 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id F1D0D40C5552; Fri, 16 Jul 2021 03:21:55 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Rob Herring , Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Jakub Kicinski , Michael Turquette , Stephen Boyd , Philipp Zabel Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH 6/6] arm64: dts: renesas: r9a07g044: Add CANFD node Date: Thu, 15 Jul 2021 19:21:23 +0100 Message-Id: <20210715182123.23372-7-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210715182123.23372-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20210715182123.23372-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add CANFD node to R9A07G044 (RZ/G2L) SoC DTSI. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi index 9a7489dc70d1..fdb990b90f72 100644 --- a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi @@ -13,6 +13,13 @@ #address-cells = <2>; #size-cells = <2>; + /* External CAN clock - to be overridden by boards that provide it */ + can_clk: can { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + }; + /* clock can be either from exclk or crystal oscillator (XIN/XOUT) */ extal_clk: extal { compatible = "fixed-clock"; @@ -89,6 +96,36 @@ status = "disabled"; }; + canfd: can@10050000 { + compatible = "renesas,r9a07g044-canfd", "renesas,rzg2l-canfd"; + reg = <0 0x10050000 0 0x8000>; + interrupts = , + , + , + , + , + , + , + ; + clocks = <&cpg CPG_MOD R9A07G044_CANFD_PCLK>, + <&cpg CPG_CORE R9A07G044_CLK_P0_DIV2>, + <&can_clk>; + clock-names = "fck", "canfd", "can_clk"; + assigned-clocks = <&cpg CPG_CORE R9A07G044_CLK_P0_DIV2>; + assigned-clock-rates = <50000000>; + resets = <&cpg R9A07G044_CANFD_RSTP_N>, + <&cpg R9A07G044_CANFD_RSTC_N>; + power-domains = <&cpg>; + status = "disabled"; + + channel0 { + status = "disabled"; + }; + channel1 { + status = "disabled"; + }; + }; + i2c0: i2c@10058000 { #address-cells = <1>; #size-cells = <0>; -- 2.17.1