Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7117522ybi; Thu, 13 Jun 2019 09:51:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqyWE8Zz7OzE0XSHD7R/fKzggeNiJD1kYZaKNxtmUhKfSCXjCy1T2laDetOmTeN5WNPZppZy X-Received: by 2002:a63:5a4b:: with SMTP id k11mr4057820pgm.143.1560444705459; Thu, 13 Jun 2019 09:51:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560444705; cv=none; d=google.com; s=arc-20160816; b=d8H/m1HGmkqzGgWXL4YhkTDBdnpMTk/aI9Fx+027iB2AaJ8TmcrjqinAJI3PFvaK4p p2mSJ/onFbC9qMB0JB8ug6eia6cgbaG5l93gV5RWTdHh3uSFsgOF5evlbl6+1m2yn2nB qZUgTUT8HWQXJfL6lKvLPeFWKFEl2bus8KXJ1bdcGqOteIfXNwR+e5n7kyVBHhubepEk j4HK4DrdfLw/nE9zpd4Q9SVwQ1JwriAj0TCc0FSDX33gOJL8yKSRgKgKcfW23RLCQRof XtEyM9iU5xOuHjfFplOIQL6RsYYWidg5jJoAnmRk/K1TraMtfnsWybGZMJzV2wUJln/7 ExiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=lfGAIiirWl0nq0xQZNMDSMKFfgaKJNsts8bTk+SJ4Kc=; b=ek84s4lYuCatKsnaVJJmIM2hteoNGJZ7Z5fIkMBcE9ehsmYUPtCEeDHf272h09feu0 r/D3WnTp7D30uk4pAk9rT2pUMLaTlXpyMVgrolqfPlvWeWlO/E4p46xtv3SdA4eFHTfa TTtwj0SfJ/POKP/eOmyBLJowTD/vaeqRq+o+eu31EPTfyAXmGoPcC6vx4glY//+tQrog o4VFOtZ8BhXKexLWH3Y5qK0BZTJHusfwrcA5/ObDVroyV3VQ3nBqnvJGCBMDvOKbDWmL lI+Bl8oiuN0FYOqacPf9e4T/gROFd2rNF6sdWrwzvKJs/Is4Ud69rLCRx0PS9LFznaAF HY5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@chromium.org header.s=google header.b=kIpFm8Uc; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o1si84793plb.337.2019.06.13.09.51.31; Thu, 13 Jun 2019 09:51:45 -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; dkim=fail header.i=@chromium.org header.s=google header.b=kIpFm8Uc; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730196AbfFMQuF (ORCPT + 99 others); Thu, 13 Jun 2019 12:50:05 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:43534 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725853AbfFMEHu (ORCPT ); Thu, 13 Jun 2019 00:07:50 -0400 Received: by mail-pg1-f194.google.com with SMTP id f25so10121766pgv.10 for ; Wed, 12 Jun 2019 21:07:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lfGAIiirWl0nq0xQZNMDSMKFfgaKJNsts8bTk+SJ4Kc=; b=kIpFm8Uc3gMN7cY/f4FOgPfIeA/9vYsgAIqeb8GD6KvPMC2lWIZKOD6s2OQbP4fw0U 8AAVUUUiKsgfEoRwZRyQc7YeuxBcsWkB5ZmmTWNWMKl00ONQz6jkp53/jq0UtSOcWRCf S+EMJdIuhtotXqDbY2dYGqhPIP3hkQ6oE+dVk= 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=lfGAIiirWl0nq0xQZNMDSMKFfgaKJNsts8bTk+SJ4Kc=; b=khSiN41Nz08SNGrLLKn33GBokSDH6v1vwqFAwngjvhQ2r0ljNepV7ecVMeoLCqF1Ve SQmccLVy3FgPGkFBfb2AkUIW6fP4A26Nqiws6k2g4wBRnl9suE0nPMfpKitEXC38mV9W UmNnggQWXSW7R3qwNWXaTMLV4jUISiaf6A6TSaM09r8AlZeESpYDQmuoeFkolk0J4wSl 8WHY8GCIbcjviZeGuUl42b7yrMXnBpJgiEisK6k9BVhpzXk93RRO3/PJ75fVBhm4Q6uy 874NQhte5ojvQ6yL+F/RHeHRqwEVKWHirIMkxcJRPTHP1U89FAx692b1DX0vggyUonAI BCGg== X-Gm-Message-State: APjAAAXPnefqgPNTtq5kfGOymsQRrD3rwkeywq2r3lRspJFsCvhLNvfZ 6PseLwDXkw7YS8WUnc67rbczug== X-Received: by 2002:a17:90a:a601:: with SMTP id c1mr2704985pjq.24.1560398869389; Wed, 12 Jun 2019 21:07:49 -0700 (PDT) Received: from pihsun-z840.tpe.corp.google.com ([2401:fa00:1:10:7889:7a43:f899:134c]) by smtp.googlemail.com with ESMTPSA id a13sm956849pgh.6.2019.06.12.21.07.47 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 12 Jun 2019 21:07:48 -0700 (PDT) From: Pi-Hsun Shih Cc: Pi-Hsun Shih , Eddie Huang , Erin Lo , Rob Herring , Mark Rutland , Matthias Brugger , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Mediatek SoC support), linux-mediatek@lists.infradead.org (moderated list:ARM/Mediatek SoC support), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v11 5/5] arm64: dts: mt8183: add scp node Date: Thu, 13 Jun 2019 12:06:52 +0800 Message-Id: <20190613040708.97488-6-pihsun@chromium.org> X-Mailer: git-send-email 2.22.0.rc2.383.gf4fbbf30c2-goog In-Reply-To: <20190613040708.97488-1-pihsun@chromium.org> References: <20190613040708.97488-1-pihsun@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Eddie Huang Add scp node to mt8183 and mt8183-evb Signed-off-by: Erin Lo Signed-off-by: Pi-Hsun Shih Signed-off-by: Eddie Huang --- Changes from v10: - No change. Changes from v9: - Remove extra reserve-memory-vpu_share node. Changes from v8: - New patch. --- arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 11 +++++++++++ arch/arm64/boot/dts/mediatek/mt8183.dtsi | 12 ++++++++++++ 2 files changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts index d8e555cbb5d3..e46e34ce3159 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts @@ -24,6 +24,17 @@ chosen { stdout-path = "serial0:921600n8"; }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + scp_mem_reserved: scp_mem_region { + compatible = "shared-dma-pool"; + reg = <0 0x50000000 0 0x2900000>; + no-map; + }; + }; }; &auxadc { diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index c2749c4631bc..133146b52904 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -254,6 +254,18 @@ clock-names = "spi", "wrap"; }; + scp: scp@10500000 { + compatible = "mediatek,mt8183-scp"; + reg = <0 0x10500000 0 0x80000>, + <0 0x105c0000 0 0x5000>; + reg-names = "sram", "cfg"; + interrupts = ; + clocks = <&infracfg CLK_INFRA_SCPSYS>; + clock-names = "main"; + memory-region = <&scp_mem_reserved>; + status = "disabled"; + }; + auxadc: auxadc@11001000 { compatible = "mediatek,mt8183-auxadc", "mediatek,mt8173-auxadc"; -- 2.22.0.rc2.383.gf4fbbf30c2-goog