Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp672679pxu; Wed, 14 Oct 2020 10:40:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydQoLnT8Y0F5rn/kB6T5RdSdXVP0pH7OVxe7piik1Tzu0KPBZCPPNOosxKdOKm4l0eXV3O X-Received: by 2002:a50:b023:: with SMTP id i32mr6285035edd.357.1602697235337; Wed, 14 Oct 2020 10:40:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602697235; cv=none; d=google.com; s=arc-20160816; b=Da2+OdjA3ZfOgBon4d6OWEFPiv4txpMDV91ISjLYQ7GUKx0q4Lb0f1qz7tBVEFJj9f cCs5Tyk4jYEIZca20DMhZmJljw3xCi2JqzoX7W6tJ6f/2ZYBmbGNuvZV6IRQ6U8+Y+8J O0rwlDZspwo0cPCP2jPNcEfGBRsOjX9ebR/o0PlurtjC5HsYYiKfX1hQWp1Du7BA9K7R 8hBcueg/UsGSISNbWDkqnVW98fawamV+wJBuUXUjpmw67gHK4P6LGF01CKgK95Q38RZb +FuW7Hp9nJyaIB43JE6hJ96jWLhnWMfgYSmxdte6+9SsqPRqmpNyXASqrOl7mSrT1/Xn IGXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=u0TFyem0e0FecuXesd+Js6IzatUfrvD0C7oPdfEiWuw=; b=Knblsp/hJ/Dn/P/CRpR17uUQj/95R+yAL1YFEUBYHkZ+ATwUQnJscvQ4mstB24HHE0 qHfC5+9zi6lHW/KUlI18L2xF3qoIZu+QtZzOj/mGU7tq9b5//g/Y0gBdNsL1gmPn/wPT laoVzmYCKptvjzYJXdgskWOSlZVhhM/7obTe/BxAh5qRL4CdkCwES2kvD1+glgm8hh+l tmUBGSW4ZvdGWrcploSfkImzfKbtWBy+tE7Yp0J7FRbCJXV+ytGhWvQ/a3xquq5V8gd8 dXUpxGSk+QpujNiXWl0Z7b3y39TP2qsDXRXtA6ZO2RALzDefZ8wy5EWR8Z6rEbICP5I6 JoUA== 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 j5si106275edv.326.2020.10.14.10.40.12; Wed, 14 Oct 2020 10:40:35 -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 S2387919AbgJNP5r (ORCPT + 99 others); Wed, 14 Oct 2020 11:57:47 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:32307 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387949AbgJNP5k (ORCPT ); Wed, 14 Oct 2020 11:57:40 -0400 X-IronPort-AV: E=Sophos;i="5.77,375,1596466800"; d="scan'208";a="59568900" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 15 Oct 2020 00:57:39 +0900 Received: from devel.example.org?044ree.adwin.renesas.com (unknown [10.226.36.120]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 5CA0E400C4EA; Thu, 15 Oct 2020 00:57:36 +0900 (JST) From: Fabrizio Castro To: Mauro Carvalho Chehab , Rob Herring , Geert Uytterhoeven Cc: Fabrizio Castro , Ramesh Shanmugasundaram , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Chris Paterson , Biju Das , Prabhakar Mahadev Lad , Laurent Pinchart Subject: [PATCH v4 5/5] arm64: dts: r8a77965: Add DRIF support Date: Wed, 14 Oct 2020 16:57:19 +0100 Message-Id: <20201014155719.15120-6-fabrizio.castro.jz@renesas.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201014155719.15120-1-fabrizio.castro.jz@renesas.com> References: <20201014155719.15120-1-fabrizio.castro.jz@renesas.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the DRIF controller nodes for r8a77965 (a.k.a. R-Car M3-N). Signed-off-by: Fabrizio Castro Reviewed-by: Lad Prabhakar --- v3->v4: * No change v2->v3: * New patch arch/arm64/boot/dts/renesas/r8a77965.dtsi | 120 ++++++++++++++++++++++ 1 file changed, 120 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index fe4dc12e2bdf..c5a54dc7ede2 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -1550,6 +1550,126 @@ vin7csi40: endpoint@2 { }; }; + drif00: rif@e6f40000 { + compatible = "renesas,r8a77965-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f40000 0 0x84>; + interrupts = ; + clocks = <&cpg CPG_MOD 515>; + clock-names = "fck"; + dmas = <&dmac1 0x20>, <&dmac2 0x20>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; + resets = <&cpg 515>; + renesas,bonding = <&drif01>; + status = "disabled"; + }; + + drif01: rif@e6f50000 { + compatible = "renesas,r8a77965-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f50000 0 0x84>; + interrupts = ; + clocks = <&cpg CPG_MOD 514>; + clock-names = "fck"; + dmas = <&dmac1 0x22>, <&dmac2 0x22>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; + resets = <&cpg 514>; + renesas,bonding = <&drif00>; + status = "disabled"; + }; + + drif10: rif@e6f60000 { + compatible = "renesas,r8a77965-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f60000 0 0x84>; + interrupts = ; + clocks = <&cpg CPG_MOD 513>; + clock-names = "fck"; + dmas = <&dmac1 0x24>, <&dmac2 0x24>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; + resets = <&cpg 513>; + renesas,bonding = <&drif11>; + status = "disabled"; + }; + + drif11: rif@e6f70000 { + compatible = "renesas,r8a77965-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f70000 0 0x84>; + interrupts = ; + clocks = <&cpg CPG_MOD 512>; + clock-names = "fck"; + dmas = <&dmac1 0x26>, <&dmac2 0x26>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; + resets = <&cpg 512>; + renesas,bonding = <&drif10>; + status = "disabled"; + }; + + drif20: rif@e6f80000 { + compatible = "renesas,r8a77965-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f80000 0 0x84>; + interrupts = ; + clocks = <&cpg CPG_MOD 511>; + clock-names = "fck"; + dmas = <&dmac1 0x28>, <&dmac2 0x28>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; + resets = <&cpg 511>; + renesas,bonding = <&drif21>; + status = "disabled"; + }; + + drif21: rif@e6f90000 { + compatible = "renesas,r8a77965-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6f90000 0 0x84>; + interrupts = ; + clocks = <&cpg CPG_MOD 510>; + clock-names = "fck"; + dmas = <&dmac1 0x2a>, <&dmac2 0x2a>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; + resets = <&cpg 510>; + renesas,bonding = <&drif20>; + status = "disabled"; + }; + + drif30: rif@e6fa0000 { + compatible = "renesas,r8a77965-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6fa0000 0 0x84>; + interrupts = ; + clocks = <&cpg CPG_MOD 509>; + clock-names = "fck"; + dmas = <&dmac1 0x2c>, <&dmac2 0x2c>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; + resets = <&cpg 509>; + renesas,bonding = <&drif31>; + status = "disabled"; + }; + + drif31: rif@e6fb0000 { + compatible = "renesas,r8a77965-drif", + "renesas,rcar-gen3-drif"; + reg = <0 0xe6fb0000 0 0x84>; + interrupts = ; + clocks = <&cpg CPG_MOD 508>; + clock-names = "fck"; + dmas = <&dmac1 0x2e>, <&dmac2 0x2e>; + dma-names = "rx", "rx"; + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; + resets = <&cpg 508>; + renesas,bonding = <&drif30>; + status = "disabled"; + }; + rcar_sound: sound@ec500000 { /* * #sound-dai-cells is required -- 2.25.1