From patchwork Fri Nov 17 10:41:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 10062613 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 BE08160352 for ; Fri, 17 Nov 2017 10:41:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BACC32A6D0 for ; Fri, 17 Nov 2017 10:41:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AFBC22A7A0; Fri, 17 Nov 2017 10:41:52 +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 46A9A2A6D0 for ; Fri, 17 Nov 2017 10:41:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752492AbdKQKlv (ORCPT ); Fri, 17 Nov 2017 05:41:51 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:39393 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751830AbdKQKlr (ORCPT ); Fri, 17 Nov 2017 05:41:47 -0500 Received: by mail-wm0-f65.google.com with SMTP id l8so5455505wmg.4; Fri, 17 Nov 2017 02:41:46 -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=kE2I1yVv9vi99B6qxh0uIfFepkPA4jLphgzUlgkBklc=; b=NRJgFKXoW68cFjSJMfR7l3Lkgs3rD4n3Zg81k0Mv75fUPaUOswv11MQnMRDUfoO0XR 6YiAmnQP+zWRgh6a685XAIW9Yil0nrzN1jey2PXej0Xslq2qU0uKyndxSKZh7NtNFYWH dWB0R3eRS+5dR/lZZp/yU5HgTNzj+6uh+9i8AsEKgww0Y93GewiSxn6RG+IA4CTiMWzA 6mTJ97g9ahNJra+ZP6ZZnN/fO0AhhSOUAbNU5KTEdb+eO2UWXOnIMCJ6w9KFrNSO9r7Q TiarqxXPKjDaURzLoaWNKYAg9w5OpCZ6OdlZjV5TRJxMcKB6A+/+e0dsTlL7bnCjPUiI MpzQ== 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=kE2I1yVv9vi99B6qxh0uIfFepkPA4jLphgzUlgkBklc=; b=btLFxj9pHc4dpKEPUJRrC5z3SDtByfzX8hMGNO0kX9NoSaNDxWwrxfnynYjRl0rVJ0 piHuentCDye6Ioq4CE4Bqi+GTdE1WPBKgZSC1hglKNSCNGFw2XlF5eF7Ms01GFLgbjmH 7iykuCMXKr0ce+Tk33YRkAw+Jh1w89ZTuH5L7PI3OrvxnycM3sADqp5OcjHvX/NNInks cm2fyDaFmzM3RF+78GuEKwZs1ZMItckYLFpq6oh+nzwWMPfclb3QD1fGkoe5uT8JGnhq KJ05UEa75IrLLGgLjD/kVfVk7AMUcLXYOyQ8y73IWnLEZQrRjDevwypueZmmrULc9CRE Masg== X-Gm-Message-State: AJaThX52gm7j56zm7g/Ca8EZIjmqczutBcr2Aiix3eMJhEj/rygmyvRl KlaL/HkCD0IrFR2bcPZ6xWhccUI= X-Google-Smtp-Source: AGs4zMZS04WQxR+R2mPsYbKXnGJLqraKaxP4P1aeNcwgvfS+0i+WGR1+eBaHPBt189W0pjMO5tu4Dw== X-Received: by 10.28.94.3 with SMTP id s3mr4137249wmb.78.1510915305200; Fri, 17 Nov 2017 02:41:45 -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.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Nov 2017 02:41:44 -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 4/7] arm64: dts: r8a77995: Add CAN support Date: Fri, 17 Nov 2017 11:41:26 +0100 Message-Id: <1510915289-15059-5-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 controller nodes 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 | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi b/arch/arm64/boot/dts/renesas/r8a77995.dtsi index a8df296..a611324 100644 --- a/arch/arm64/boot/dts/renesas/r8a77995.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77995.dtsi @@ -274,6 +274,38 @@ resets = <&cpg 906>; }; + can0: can@e6c30000 { + compatible = "renesas,can-r8a77995", + "renesas,rcar-gen3-can"; + reg = <0 0xe6c30000 0 0x1000>; + interrupts = ; + clocks = <&cpg CPG_MOD 916>, + <&cpg CPG_CORE R8A77995_CLK_CANFD>, + <&can_clk>; + clock-names = "clkp1", "clkp2", "can_clk"; + assigned-clocks = <&cpg CPG_CORE R8A77995_CLK_CANFD>; + assigned-clock-rates = <40000000>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; + resets = <&cpg 916>; + status = "disabled"; + }; + + can1: can@e6c38000 { + compatible = "renesas,can-r8a77995", + "renesas,rcar-gen3-can"; + reg = <0 0xe6c38000 0 0x1000>; + interrupts = ; + clocks = <&cpg CPG_MOD 915>, + <&cpg CPG_CORE R8A77995_CLK_CANFD>, + <&can_clk>; + clock-names = "clkp1", "clkp2", "can_clk"; + assigned-clocks = <&cpg CPG_CORE R8A77995_CLK_CANFD>; + assigned-clock-rates = <40000000>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; + resets = <&cpg 915>; + status = "disabled"; + }; + avb: ethernet@e6800000 { compatible = "renesas,etheravb-r8a77995", "renesas,etheravb-rcar-gen3";