From patchwork Mon Jul 22 20:20:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 169424 Delivered-To: patch@linaro.org Received: by 2002:ac9:2daa:0:0:0:0:0 with SMTP id g42csp668251oce; Mon, 22 Jul 2019 13:20:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxaOl9NhjCAqOztD5dA+jzs80mEP7yHlX/QRaZJTrpr60iSeIV55gux+tUKFtp2LwggAOQJ X-Received: by 2002:a17:902:424:: with SMTP id 33mr77056781ple.151.1563826846804; Mon, 22 Jul 2019 13:20:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563826846; cv=none; d=google.com; s=arc-20160816; b=ld9C0H0kOOLG5HhGKPzDmhzQ/uRFOz7nmInbDmrCAVh7zlALeMCt50bT7IcT1jjwh+ dxDgAVo7gjCVcSaDYn3btxqeRJpRCnPhkLkAxIYQ+cyLCCzDoueYDYq153pBgX3PcaCv 2+ePKXcdehNcOfcOjqJGENq28pOMGSoCkfrl9D7owbhhDiXMvXSF3/M7YoNlMkZAk29+ J+GvR5+pS/8LWOdHCYeeBvKnbUEaTYsN7NJwzBVXOV/qqtC+J0Qc+puA9GYjI0EtUPF/ popTYjzHu/Bk3GR/rdsltSlycLtsKRRsk88fZs+YhY+gBAU08ykjYpOwjCKooM8Udj/z 855g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UbNPxVMocMMUdGrJLZc4ntHoL1at3jSQapfzwYB+u1g=; b=islL0tCvACQxjvryjG7Rr9v35XBbYDuOn1Lr8r/Dr5BaZ4zG7WPG9+ADV2wmewucgM VYP+h7pnN+opgwK0Sbt4CH/f0on3AlAzcn4ktvEBkGYaicl4BN/oEcOVmdn/S3Xd4A7M W9y7DrCIH0Kx9wSGAw2Um0u63EeGGRUe0n8gXWwZtdJmN/Xx9lWsV7Yge5+wtriJyJHS OS7YRxek2oIQYAUkDu1e8VzgYqdlZvthY5dslcGzau3Ub7LmEmWXNmzkwfZc2lg0YA0H 1TGB3ufW3HxMLM+iZCxmAMXaODZXE1+OiblpNszpBKizAj+c7NQDpZUEIQg9ed1US7Kg BAdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=m0R3r9f0; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g11si38635670plm.390.2019.07.22.13.20.46; Mon, 22 Jul 2019 13:20:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=m0R3r9f0; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729662AbfGVUUq (ORCPT + 8 others); Mon, 22 Jul 2019 16:20:46 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:55414 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729377AbfGVUUq (ORCPT ); Mon, 22 Jul 2019 16:20:46 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x6MKKgFp063272; Mon, 22 Jul 2019 15:20:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1563826842; bh=UbNPxVMocMMUdGrJLZc4ntHoL1at3jSQapfzwYB+u1g=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=m0R3r9f0C2ZBrcjfgaospG07EJQn9qLRk+KatrCaOZ0gnqpZxBymbwZNcIOXOHSpi 97+P8PD1R0vF5nib33cyWYs5fZiRct9t/HjbISURgMlAP3StHIzFYxb/J/FLPhJ1X7 x6ILh5zLvf+Riso3RKtAUoil43HNWL9gMMGNbpwE= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x6MKKgWP115214 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 22 Jul 2019 15:20:42 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 22 Jul 2019 15:20:41 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Mon, 22 Jul 2019 15:20:41 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x6MKKfEo040149; Mon, 22 Jul 2019 15:20:41 -0500 Received: from localhost (irmo.dhcp.ti.com [128.247.58.153]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id x6MKKfZ21521; Mon, 22 Jul 2019 15:20:41 -0500 (CDT) From: Suman Anna To: Tero Kristo , Nishanth Menon CC: , , Suman Anna Subject: [PATCH 3/4] arm64: dts: ti: k3-j721e-main: Add mailbox cluster nodes Date: Mon, 22 Jul 2019 15:20:23 -0500 Message-ID: <20190722202024.14867-4-s-anna@ti.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190722202024.14867-1-s-anna@ti.com> References: <20190722202024.14867-1-s-anna@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The J721E Main NavSS block contains a Mailbox IP instance with multiple clusters. Each cluster is equivalent to an Mailbox IP instance on OMAP platforms. Add all the Mailbox clusters as their own nodes under the MAIN NavSS cbass_main_navss interconnect node instead of creating an almost empty parent node for the new K3 mailbox IP and the clusters as its child nodes. All these nodes are marked as disabled, and they need to be enabled along with the appropriate child nodes on a need basis. NOTE: The NavSS only has a limited number of interrupts, so all the interrupts generated by a Mailbox IP are not added by default. Only the needed interrupts that are targeted towards the A72 GIC will need to be be added later on when some sub-mailbox child nodes are added. Signed-off-by: Suman Anna --- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 108 ++++++++++++++++++++++ 1 file changed, 108 insertions(+) -- 2.22.0 diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi index a2e031f7d88e..319d423b3440 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi @@ -95,6 +95,114 @@ reg = <0x00 0x30e00000 0x00 0x1000>; #hwlock-cells = <1>; }; + + mailbox0_cluster0: mailbox@31f80000 { + compatible = "ti,am654-mailbox"; + reg = <0x00 0x31f80000 0x00 0x200>; + #mbox-cells = <1>; + ti,mbox-num-users = <4>; + ti,mbox-num-fifos = <16>; + status = "disabled"; + }; + + mailbox0_cluster1: mailbox@31f81000 { + compatible = "ti,am654-mailbox"; + reg = <0x00 0x31f81000 0x00 0x200>; + #mbox-cells = <1>; + ti,mbox-num-users = <4>; + ti,mbox-num-fifos = <16>; + status = "disabled"; + }; + + mailbox0_cluster2: mailbox@31f82000 { + compatible = "ti,am654-mailbox"; + reg = <0x00 0x31f82000 0x00 0x200>; + #mbox-cells = <1>; + ti,mbox-num-users = <4>; + ti,mbox-num-fifos = <16>; + status = "disabled"; + }; + + mailbox0_cluster3: mailbox@31f83000 { + compatible = "ti,am654-mailbox"; + reg = <0x00 0x31f83000 0x00 0x200>; + #mbox-cells = <1>; + ti,mbox-num-users = <4>; + ti,mbox-num-fifos = <16>; + status = "disabled"; + }; + + mailbox0_cluster4: mailbox@31f84000 { + compatible = "ti,am654-mailbox"; + reg = <0x00 0x31f84000 0x00 0x200>; + #mbox-cells = <1>; + ti,mbox-num-users = <4>; + ti,mbox-num-fifos = <16>; + status = "disabled"; + }; + + mailbox0_cluster5: mailbox@31f85000 { + compatible = "ti,am654-mailbox"; + reg = <0x00 0x31f85000 0x00 0x200>; + #mbox-cells = <1>; + ti,mbox-num-users = <4>; + ti,mbox-num-fifos = <16>; + status = "disabled"; + }; + + mailbox0_cluster6: mailbox@31f86000 { + compatible = "ti,am654-mailbox"; + reg = <0x00 0x31f86000 0x00 0x200>; + #mbox-cells = <1>; + ti,mbox-num-users = <4>; + ti,mbox-num-fifos = <16>; + status = "disabled"; + }; + + mailbox0_cluster7: mailbox@31f87000 { + compatible = "ti,am654-mailbox"; + reg = <0x00 0x31f87000 0x00 0x200>; + #mbox-cells = <1>; + ti,mbox-num-users = <4>; + ti,mbox-num-fifos = <16>; + status = "disabled"; + }; + + mailbox0_cluster8: mailbox@31f88000 { + compatible = "ti,am654-mailbox"; + reg = <0x00 0x31f88000 0x00 0x200>; + #mbox-cells = <1>; + ti,mbox-num-users = <4>; + ti,mbox-num-fifos = <16>; + status = "disabled"; + }; + + mailbox0_cluster9: mailbox@31f89000 { + compatible = "ti,am654-mailbox"; + reg = <0x00 0x31f89000 0x00 0x200>; + #mbox-cells = <1>; + ti,mbox-num-users = <4>; + ti,mbox-num-fifos = <16>; + status = "disabled"; + }; + + mailbox0_cluster10: mailbox@31f8a000 { + compatible = "ti,am654-mailbox"; + reg = <0x00 0x31f8a000 0x00 0x200>; + #mbox-cells = <1>; + ti,mbox-num-users = <4>; + ti,mbox-num-fifos = <16>; + status = "disabled"; + }; + + mailbox0_cluster11: mailbox@31f8b000 { + compatible = "ti,am654-mailbox"; + reg = <0x00 0x31f8b000 0x00 0x200>; + #mbox-cells = <1>; + ti,mbox-num-users = <4>; + ti,mbox-num-fifos = <16>; + status = "disabled"; + }; }; secure_proxy_main: mailbox@32c00000 {