Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp703101imm; Wed, 20 Jun 2018 05:23:47 -0700 (PDT) X-Google-Smtp-Source: ADUXVKISulWYJDXK0e4bd1PwtRTtnCyxauykHf6jJr5+egVQ7c724Gv4oDptJryZXdvZvj0w5zIj X-Received: by 2002:a62:a60e:: with SMTP id t14-v6mr22557774pfe.241.1529497427013; Wed, 20 Jun 2018 05:23:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529497426; cv=none; d=google.com; s=arc-20160816; b=nJ2HcCqHpOfj0QWR5rxLAGB550IABz4VH0rvL6q/32KB3oohp1V0YqyGg9xHRl+8tg oSEXZiX4WeiQ2/gk/Hr4LJEHDHrUtTBDEdk92X3012J0gfFPwZeRJ5viqDEm4c0ZqVk/ iKPxnkoeIGF5CY36P36nUUPZ6QUJ66ygJV5O6Byjia3EeMqa8rW/2aW1npso2wbOixKH HpyWVnWL9CEKSno1IX8K3HwwTCFTtbi348LZftljtGkX+9vKIIeiN4KH47WlgTkovm1l C/DaYo9FCqVuFtzkQpmx/iLjsMApC1jFoy8YSVMV5jePjIHyYj76ArJJ+d85nLfA1E+5 uNwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=4EtNXQd0SYFz897+4HS/7u7hPUKgwGsSEGF5FRPBEE8=; b=JzLjrBrWad3/yCvzCzmD2vv16hGJFEPHybPYTkS09YKLiz/SWHyZp9elluvXYRGKV+ OhhPsm4QIOnjzP1ubnnbQuCaFWJCx8DJYUxj74m27QVWcn1IIYK1wRrB4fpfQsbgdDqM mfIdWAIi/RQjAw87o6ABSSChMR0UgdIF/COeC5Ro9MrhKWyzy7zOW1vQMerQbbzt8q1m OSdWti+QiRdzeMGnfY8cyJEmhbuY0DiV1uykoyDUGLtTAU3Jq6nKfYoKUr1I5YQ0gmTn KVzPQzJa2gliGZV/Lny048gfNCxazwV74lquNVcxZiimMPrKyT+vndm/Ueyp39WwjdhT B+lw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 6-v6si2217816pfb.204.2018.06.20.05.23.33; Wed, 20 Jun 2018 05:23:46 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754382AbeFTMWX (ORCPT + 99 others); Wed, 20 Jun 2018 08:22:23 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:7272 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754210AbeFTMV0 (ORCPT ); Wed, 20 Jun 2018 08:21:26 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1, AES128-SHA) id ; Wed, 20 Jun 2018 05:21:31 -0700 Received: from HQMAIL101.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Wed, 20 Jun 2018 05:21:29 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Wed, 20 Jun 2018 05:21:29 -0700 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 20 Jun 2018 12:21:25 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1347.2 via Frontend Transport; Wed, 20 Jun 2018 12:21:25 +0000 Received: from mperttunen-lnx.Nvidia.com (Not Verified[10.21.26.144]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Wed, 20 Jun 2018 05:21:24 -0700 From: Mikko Perttunen To: , , , , , CC: , , , , , Mikko Perttunen Subject: [PATCH v2 7/8] arm64: tegra: Add nodes for tcu on Tegra194 Date: Wed, 20 Jun 2018 15:20:41 +0300 Message-ID: <20180620122042.10950-8-mperttunen@nvidia.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180620122042.10950-1-mperttunen@nvidia.com> References: <20180620122042.10950-1-mperttunen@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add nodes required for communication through the Tegra Combined UART. This includes the AON HSP instance, addition of shared interrupts for the TOP0 HSP instance, and finally the TCU node itself. Also mark the HSP instances as compatible to tegra194-hsp, as the hardware is not identical but is compatible to tegra186-hsp. Signed-off-by: Mikko Perttunen --- arch/arm64/boot/dts/nvidia/tegra194.dtsi | 34 +++++++++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi index 6d699815a84f..d7f780b06fe2 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi @@ -217,10 +217,31 @@ }; hsp_top0: hsp@3c00000 { - compatible = "nvidia,tegra186-hsp"; + compatible = "nvidia,tegra194-hsp", "nvidia,tegra186-hsp"; reg = <0x03c00000 0xa0000>; - interrupts = ; - interrupt-names = "doorbell"; + interrupts = , + , + , + , + , + , + , + , + ; + interrupt-names = "doorbell", "shared0", "shared1", "shared2", + "shared3", "shared4", "shared5", "shared6", + "shared7"; + #mbox-cells = <2>; + }; + + hsp_aon: hsp@c150000 { + compatible = "nvidia,tegra194-hsp", "nvidia,tegra186-hsp"; + reg = <0x0c150000 0xa0000>; + interrupts = , + , + , + ; + interrupt-names = "shared0", "shared1", "shared2", "shared3"; #mbox-cells = <2>; }; @@ -382,6 +403,13 @@ }; }; + tcu: tcu { + compatible = "nvidia,tegra194-tcu"; + mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_SM 0>, + <&hsp_aon TEGRA_HSP_MBOX_TYPE_SM 1>; + mbox-names = "rx", "tx"; + }; + timer { compatible = "arm,armv8-timer"; interrupts =