Received: by 10.223.185.116 with SMTP id b49csp749696wrg; Tue, 20 Feb 2018 07:17:19 -0800 (PST) X-Google-Smtp-Source: AH8x227Kb8Xj/VIx3Z3fSlsDsBxjhmpIXMW3Y+KShKuj4Ra71AgXere/lCHahwCBSwytHGFjOwAI X-Received: by 10.101.64.67 with SMTP id h3mr15536114pgp.168.1519139839305; Tue, 20 Feb 2018 07:17:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519139839; cv=none; d=google.com; s=arc-20160816; b=ImSlrLW6bvWYWg3sLmeS/aWnydzr0m53hjdZk8X+YSocuNY0cDs3UlxuOZ8qtGVaOy MvKll/Bg8EZz3mkVckp2Q10QtqUp+2GSyVA7xlaw4Kp3eX0kwCVLLRHZvtyWEb3VhzNd EtqWKyAUNB1CkjR5pd6odNDYEyJYP1dyyROAPIfMUZCNYikOch02yDUYbzSvQlWHmfxv mKRA49NyrgKerOThZQ4TzMEdNO+nCP21SxhNhYE+osDudBzRZNznZvpj1st6Kj5a6pPk kpuT5+648d27xyJh5+8+UOJAgqxHKOIcwxyzCtliXxCV8IafYXXgc47FKgfXWdPC39qX pb3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=yTvjQfARCHBXdtyRsFyDcmQ2nUsNYFqyO9NXgG1Egi8=; b=kHi7DmvB7h4oOx8Fty5AbAFE7K2T4V4ukr9OpCYr/1Xeiw568PiHKr67pP6rnbikzd A1Mc4fmbzQThrtuKCUCeUklV0lVsk0hkiY4eerUjgGpRnloExMrdifunhkapI0NlkzNc +FksP9suEOe09fdsgcZc7VLaAymddKrZp1MMLDtDXIKPY5GlEN6sBiEI/1Gta8DdboYB GC3fDTy5LY/2mPZdYw4foU+axYOz46PBWK9DBDxYsH38hxj7NTq9uDikhfz8md/rEdOJ 6vI805pkF1muAx2X4CZTkc5oZH/IaUiJYLjkFrCMExp34iprjtY+NEwJk9xotMZWxadh HIlA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w3si1306272pgb.754.2018.02.20.07.17.04; Tue, 20 Feb 2018 07:17:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752615AbeBTPOZ (ORCPT + 99 others); Tue, 20 Feb 2018 10:14:25 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:39289 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752588AbeBTPOV (ORCPT ); Tue, 20 Feb 2018 10:14:21 -0500 Received: from w540.lan (unknown [IPv6:2001:b07:6442:1ac4:4036:52e3:3484:3ff2]) (Authenticated sender: jacopo@jmondi.org) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 29EF1C5A6C; Tue, 20 Feb 2018 16:14:16 +0100 (CET) From: Jacopo Mondi To: geert@linux-m68k.org, horms@verge.net.au, magnus.damm@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: Jacopo Mondi , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 14/19] ARM64: dts: r8a77965: Add SCIF device nodes Date: Tue, 20 Feb 2018 16:12:16 +0100 Message-Id: <1519139541-18783-15-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519139541-18783-1-git-send-email-jacopo+renesas@jmondi.org> References: <1519139541-18783-1-git-send-email-jacopo+renesas@jmondi.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add SCIF[0-5] device nodes for M3-N (r8a77965) SoC. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- v1 -> v2: - Replace clock and power areas definition with raw numbers - Fix compatible strings s/r8a7796/r8a77965/ --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 85 ++++++++++++++++++++++++++++--- 1 file changed, 79 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index b83dafc..3cb1a33 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -335,27 +335,100 @@ }; scif0: serial@e6e60000 { - /* placeholder */ + compatible = "renesas,scif-r8a77965", + "renesas,rcar-gen3-scif", "renesas,scif"; + reg = <0 0xe6e60000 0 64>; + interrupts = ; + clocks = <&cpg CPG_MOD 207>, + <&cpg CPG_CORE 20>, + <&scif_clk>; + clock-names = "fck", "brg_int", "scif_clk"; + dmas = <&dmac1 0x51>, <&dmac1 0x50>, + <&dmac2 0x51>, <&dmac2 0x50>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc 32>; + resets = <&cpg 207>; + status = "disabled"; }; scif1: serial@e6e68000 { - /* placeholder */ + compatible = "renesas,scif-r8a77965", + "renesas,rcar-gen3-scif", "renesas,scif"; + reg = <0 0xe6e68000 0 64>; + interrupts = ; + clocks = <&cpg CPG_MOD 206>, + <&cpg CPG_CORE 20>, + <&scif_clk>; + clock-names = "fck", "brg_int", "scif_clk"; + dmas = <&dmac1 0x53>, <&dmac1 0x52>, + <&dmac2 0x53>, <&dmac2 0x52>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc 32>; + resets = <&cpg 206>; + status = "disabled"; }; scif2: serial@e6e88000 { - /* placeholder */ + compatible = "renesas,scif-r8a77965", + "renesas,rcar-gen3-scif", "renesas,scif"; + reg = <0 0xe6e88000 0 64>; + interrupts = ; + clocks = <&cpg CPG_MOD 310>, + <&cpg CPG_CORE 20>, + <&scif_clk>; + clock-names = "fck", "brg_int", "scif_clk"; + power-domains = <&sysc 32>; + resets = <&cpg 310>; + status = "disabled"; }; scif3: serial@e6c50000 { - /* placeholder */ + compatible = "renesas,scif-r8a77965", + "renesas,rcar-gen3-scif", "renesas,scif"; + reg = <0 0xe6c50000 0 64>; + interrupts = ; + clocks = <&cpg CPG_MOD 204>, + <&cpg CPG_CORE 20>, + <&scif_clk>; + clock-names = "fck", "brg_int", "scif_clk"; + dmas = <&dmac0 0x57>, <&dmac0 0x56>; + dma-names = "tx", "rx"; + power-domains = <&sysc 32>; + resets = <&cpg 204>; + status = "disabled"; }; scif4: serial@e6c40000 { - /* placeholder */ + compatible = "renesas,scif-r8a77965", + "renesas,rcar-gen3-scif", "renesas,scif"; + reg = <0 0xe6c40000 0 64>; + interrupts = ; + clocks = <&cpg CPG_MOD 203>, + <&cpg CPG_CORE 20>, + <&scif_clk>; + clock-names = "fck", "brg_int", "scif_clk"; + dmas = <&dmac0 0x59>, <&dmac0 0x58>; + dma-names = "tx", "rx"; + power-domains = <&sysc 32>; + resets = <&cpg 203>; + status = "disabled"; }; scif5: serial@e6f30000 { - /* placeholder */ + compatible = "renesas,scif-r8a77965", + "renesas,rcar-gen3-scif", "renesas,scif"; + reg = <0 0xe6f30000 0 64>; + interrupts = ; + clocks = <&cpg CPG_MOD 202>, + <&cpg CPG_CORE 20>, + <&scif_clk>; + clock-names = "fck", "brg_int", "scif_clk"; + dmas = <&dmac1 0x5b>, <&dmac1 0x5a>, + <&dmac2 0x5b>, <&dmac2 0x5a>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc 32>; + resets = <&cpg 202>; + status = "disabled"; }; avb: ethernet@e6800000 { -- 2.7.4