Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp50599pxt; Wed, 4 Aug 2021 15:29:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMBVT5VMjk0JIS6e1xU68MdbJqs3QQ1FqgPPTRGbycYAaSJU/IyKdFjL7v9gosyHJ8mJQc X-Received: by 2002:a05:6e02:12e4:: with SMTP id l4mr1451483iln.277.1628116145692; Wed, 04 Aug 2021 15:29:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628116145; cv=none; d=google.com; s=arc-20160816; b=IKoPI7rGB7MRnURnVicKlIBZF0OyZbVy5CxYldUV+tR9FJ47I4w+QMcBtVdCw8hUZO DCyNJ1U64tYBkbpVW6BbvwSeSCP9x4XPj2e8/GRawmIAasHXdm+YXCHPV1RHgBeY8vt9 WtXvzeWMi30c4Db5b4ZwKP0VLAFqilK0hcvTkI8qfhRU0sMxhJA5ZcVmNFBdZmlEKDFY ffrEWMiclOoe20VHqa4sri0yFeuDJv4MAbyh9UTSaU+/Kzj5PVdsygalcALW1YOuef50 Lihn6TtWoNytt6vRH5hLRUfdcO4bT5MtlmiwA4c5R3mki8ZmqpFa53dk/z78YqlMvj7a E+pg== 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 :dkim-signature; bh=stsCAhb9KyNn9NActCypTJWHTXz4zjhM13MZVyTCBnA=; b=Wpm1WaMgOEU95UYUjgdcv7AkNkRC5ONzKcKTP+ZuBD/5bYqguTVYHRsadygtMqjXtp cOmC9Nb8ACrQIxvWFPHLAqy6vubRUy/OUnHDrSqkl5dzo8uHqvIZYArtZkE/p1cbYjRR FSuQgFY8mq8eJl2hCHKpyGggWrtB0tY9QaHnRCOUeJZHMQoli4gOlNsakfZkOLDTMIbT TsdwC71Fmxz8kCFQKAptX5IMBgSeH6njeOn1VOiys/qNI4eN9aIlbndsOSdniZ8eSacQ aG7RhgRHwvRuL7BDPcWVlo0EFCPcO05alOvwvaYNbkst+D0axCCsOrFU/goKR4ZXzl0D HRSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Urz7X5a+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g6si3802114ilk.97.2021.08.04.15.28.52; Wed, 04 Aug 2021 15:29:05 -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; dkim=pass header.i=@linaro.org header.s=google header.b=Urz7X5a+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238791AbhHDVCe (ORCPT + 99 others); Wed, 4 Aug 2021 17:02:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238797AbhHDVCd (ORCPT ); Wed, 4 Aug 2021 17:02:33 -0400 Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1F83C061798 for ; Wed, 4 Aug 2021 14:02:19 -0700 (PDT) Received: by mail-il1-x12e.google.com with SMTP id f8so2932653ilr.4 for ; Wed, 04 Aug 2021 14:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=stsCAhb9KyNn9NActCypTJWHTXz4zjhM13MZVyTCBnA=; b=Urz7X5a+h1M5TrRqe4vxlM0lYfjjuDUEhvxjXMe38+AjpA2RJRhPkAAufCreOGnmYk bRtGhkyCZeaxgbUCPM57CUBWJ6I2nZomrGnX88XAqom9y5De2lI4UIFbbgMh218QRqke s71weIRu0oW/Ba78xA4hN71KNLH0wSZJ9ha71MHQnlkf0YdbXmV7SuEC/NG/3Es4ol8y R3+1Ta5LfChZZaDLiJnYNc2jLakgg1IV2NJxz4jfJzdckad2a2hKngSLGZY3hXygQ+K2 u5YgbT3vEcKGup6sM6XjWbrqnjj+PAOQTywIN81kwwPyrezOpR9oGy/+VDB7EXK0oWKZ +GNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=stsCAhb9KyNn9NActCypTJWHTXz4zjhM13MZVyTCBnA=; b=CqA6x83gCzcETTwX8xLKYCemkynyYrAkzNKSxf+d4AJbOxQDoV3GPUqG+/XV6NhnHL l1QmOTWqaRssVo8PCicOuX4z3FR+4mZAQITmV7eVJwcbYJQnGrlpxcKxykPb+hfUA4or VXw/TYaWSY2AobRAKu/oQL0vR752MG4mbWg2DtKCOalA4bV4DWlP/N3QwM3JwoIbuyLJ B7hma1PFuITdjJD+jfdNui1KLm9Tw9hZlqxjc0/YARys8GuFHS9Yx0pt1mIJAZddr3f3 4zLbx8ZGB/o7IJ3h/+mjbSRk2knKsTiV+Eai0k8GPH4UGXuuIzlb6pI+FpIIXjkpSNBN tv/Q== X-Gm-Message-State: AOAM5332N1nTF+AaanlBrHwINnhhnAzpIqF+f1Iqifq5rm05ld9uGxjV jKutn6Q/9X/UDiGzsU5pGa1BeQ== X-Received: by 2002:a92:da86:: with SMTP id u6mr213363iln.265.1628110939397; Wed, 04 Aug 2021 14:02:19 -0700 (PDT) Received: from presto.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id d18sm1687396ile.32.2021.08.04.14.02.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Aug 2021 14:02:19 -0700 (PDT) From: Alex Elder To: bjorn.andersson@linaro.org, agross@kernel.org Cc: robh+dt@kernel.org, elder@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] arm64: dts: qcom: sc7280: add IPA information Date: Wed, 4 Aug 2021 16:02:11 -0500 Message-Id: <20210804210214.1891755-2-elder@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210804210214.1891755-1-elder@linaro.org> References: <20210804210214.1891755-1-elder@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add IPA-related nodes and definitions to "sc7280.dtsi", including the reserved memory area used for AP-based IPA firmware loading. Signed-off-by: Alex Elder --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 42 ++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 029723a75edef..5764c5b5cae17 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -69,6 +69,11 @@ cpucp_mem: memory@80b00000 { no-map; reg = <0x0 0x80b00000 0x0 0x100000>; }; + + ipa_fw_mem: memory@8b700000 { + reg = <0 0x8b700000 0 0x10000>; + no-map; + }; }; cpus { @@ -568,6 +573,43 @@ mmss_noc: interconnect@1740000 { qcom,bcm-voters = <&apps_bcm_voter>; }; + ipa: ipa@1e40000 { + compatible = "qcom,sc7280-ipa"; + + iommus = <&apps_smmu 0x480 0x0>, + <&apps_smmu 0x482 0x0>; + reg = <0 0x1e40000 0 0x8000>, + <0 0x1e50000 0 0x4ad0>, + <0 0x1e04000 0 0x23000>; + reg-names = "ipa-reg", + "ipa-shared", + "gsi"; + + interrupts-extended = <&intc 0 654 IRQ_TYPE_EDGE_RISING>, + <&intc 0 432 IRQ_TYPE_LEVEL_HIGH>, + <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "ipa", + "gsi", + "ipa-clock-query", + "ipa-setup-ready"; + + clocks = <&rpmhcc RPMH_IPA_CLK>; + clock-names = "core"; + + interconnects = <&aggre2_noc MASTER_IPA 0 &mc_virt SLAVE_EBI1 0>, + <&gem_noc MASTER_APPSS_PROC 0 &cnoc2 SLAVE_IPA_CFG 0>; + interconnect-names = "memory", + "config"; + + qcom,smem-states = <&ipa_smp2p_out 0>, + <&ipa_smp2p_out 1>; + qcom,smem-state-names = "ipa-clock-enabled-valid", + "ipa-clock-enabled"; + + status = "disabled"; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex", "syscon"; reg = <0 0x01f40000 0 0x40000>; -- 2.27.0