From patchwork Fri May 31 00:48:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 165467 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp39912ili; Thu, 30 May 2019 17:49:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhQ1e0Cf9pImudQxyjhfzPJ4iSSsihBiQKCUkKYwhxPbKKiaJon3zoKG0eBi19O3rR6R9P X-Received: by 2002:a63:5c45:: with SMTP id n5mr6107743pgm.172.1559263743855; Thu, 30 May 2019 17:49:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559263743; cv=none; d=google.com; s=arc-20160816; b=zlQacbfr/6Oz3yYXv0zIcPljSv80BTvN0XQ/5Dbp9Pd2agVIyBdwkmYoNPjgyX75dS xQe6sUVYbYiad0cSug6KImZc5kGJOd0AYYw5ShxgrvTfmWaX1qGa0vXvc6mSN6/HKXnk mmN7XBCV3YlknJJDP9Rr28vG0Pc1pdy2mkAXHpOVsdvwHFFa9/SMXVVG0BQBTVkoJ8Wb m66yOJCEHnjGpdOVnSA3RjQQLMHn3s6VIL0ZsBhfRc7EaMWyR4aQgQwyK2uEGko4sZSa tTcxXQ01InpyKQgDu/TAX5KZQFKnIoC1uqLFTtZcbERBBa4YasLPe0TBou4iPoMtZTab WPlg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=WK2k58QukEIJdpLlTnnulnkBnYtAL9Snthfg/26Dpqk=; b=l1xp527naVRbaA36bkXn0ZNn+j5K95rEXnI7MStjHP8OxAoXB2fSme+Q1zioqptxFj oli61L15YBS1wpG45DgZRuXmMKOy20F4eVbMIE+dC/mlNgbhHkCqmRiFmtoQ+Jv8OjUB G6yNFFCjS73TE6ztghKm5sHYEBSSJN2c+LHZzgG7cUMlhau2mWov1CbL0GeU7+1lhqps 4PXTfg9LS6H1wmMZ5hgZdE17IvcXbHRJoJocL//Fhu7xv2+03al9qVv8ezk5z/BUMO9j FXolZH/GxE8QlskE3SkmTRzNmOuR+S+nwOIWHDZMq3a7Gd7GNFYeG9O9tLaHy987UBNL xiqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=wUbIg09M; 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 61si4164446plb.177.2019.05.30.17.49.03; Thu, 30 May 2019 17:49:03 -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=wUbIg09M; 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 S1726408AbfEaAtC (ORCPT + 7 others); Thu, 30 May 2019 20:49:02 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:46960 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726131AbfEaAtC (ORCPT ); Thu, 30 May 2019 20:49:02 -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 x4V0mp6I026191; Thu, 30 May 2019 19:48:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1559263731; bh=WK2k58QukEIJdpLlTnnulnkBnYtAL9Snthfg/26Dpqk=; h=From:To:CC:Subject:Date; b=wUbIg09Ma8NH35/hGDFgI+X+6t2VsqCEP11qR0HcHzyf0GUJTfCh+Wb4WFG0z/K1f ycfD2gTCFgeJBHqBpww77/TGP7k07QHVztDDLrkHtsLvQU4YFKv39+FY7ai+fkEKqg Kn4x/tC7wHtG6TN71BwFRYvNlLm4ATZRzc735ws0= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x4V0moI4075840 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 30 May 2019 19:48:50 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 30 May 2019 19:48:50 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE104.ent.ti.com (157.170.170.34) 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; Thu, 30 May 2019 19:48:50 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id x4V0moIh026309; Thu, 30 May 2019 19:48:50 -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 x4V0mnm09273; Thu, 30 May 2019 19:48:49 -0500 (CDT) From: Suman Anna To: Tero Kristo , Nishanth Menon CC: Rob Herring , Lokesh Vutla , Peter Ujfalusi , Grygorii Strashko , , , Suman Anna Subject: [PATCH] arm64: dts: ti: k3-j721e-main: Add Main NavSS Interrupt controller node Date: Thu, 30 May 2019 19:48:48 -0500 Message-ID: <20190531004848.32061-1-s-anna@ti.com> X-Mailer: git-send-email 2.21.0 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 Add the Interrupt controller node for the Interrupt Router present within the Main NavSS module. This Interrupt Router can route 192 interrupts to the GIC_SPI in 3 sets of 64 interrupts each. Note that the last set is reserved for the host ID A72_3 for hypervisor usecases, so the node is added only with 2 sets for the Linux kernel context (host id A72_2). This is specified through the ti,sci-rm-range-girq property. Signed-off-by: Suman Anna --- Hi Tero, This patch depends on the J721E series [1] from Nishanth. Patch tested using additional patches exercising Mailbox IP. regards Suman [1] https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=121189 arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 2.21.0 Reviewed-by: Lokesh Vutla diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi index d42912044a5d..36c51ff9a898 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi @@ -50,6 +50,24 @@ #iommu-cells = <1>; }; + cbass_main_navss: interconnect0 { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + main_navss_intr: interrupt-controller1 { + compatible = "ti,sci-intr"; + ti,intr-trigger-type = <4>; + interrupt-controller; + interrupt-parent = <&gic500>; + #interrupt-cells = <2>; + ti,sci = <&dmsc>; + ti,sci-dst-id = <14>; + ti,sci-rm-range-girq = <0>, <2>; + }; + }; + secure_proxy_main: mailbox@32c00000 { compatible = "ti,am654-secure-proxy"; #mbox-cells = <1>;