Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7567421ybi; Tue, 9 Jul 2019 00:29:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGsM9jmMsBRasIwBSGuxe/HIYD6eSotdJG9lhhruQJSXCZ48TpeM2dpPMiajfdVRb6Thsr X-Received: by 2002:a63:fe15:: with SMTP id p21mr8559337pgh.149.1562657343234; Tue, 09 Jul 2019 00:29:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562657343; cv=none; d=google.com; s=arc-20160816; b=p/WZHAINz35UTabj00UEysOrp9Y/7gtGG+vLYpTDD++PhQGRehdwAuFRKuhoIjzVdF vqNUWmkHkvbaNxThC/+WSQvE0hgKuWwvr5wCb1qkxMzr6KqMA7FS9eILLrhSDj4ANOZQ xOQP9KPe3qPsCO4qgTu2KzPk7lPFlyCJIj7DmjOJ5iy6gsStXzExE4PVdBSzvhjhpq3M OdYCzzWVF4zlK5msqotwLO1lIOsCT9RBjnHpLt5Qa0K6LejkXzaJt6LsfdfAVkYle2Y5 /rSIqScUWGPSmi/6copLpbLgAzi3Us6Rav8ptLmxGIrxQ7nwxGlKL8Udulzq63KMT1Jn 8ejA== 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=ArHGhhb9Oek4s8DL5cUvHYNj+PCdXUKKJXXZEMG05Gg=; b=JWMxogo6Png1wOFxnIMj6lt0qyAu7+aXLJ5rG6mK/D1n0x/Fc3ne2MkGD/rb6x9BI+ dmYUF8SklBIvFR6lnjleis5PLO/4aTqFZkfHZhCfz9lsQbyadF8CjUNwa89rUcBjZ4Vq WYqxmxGzdh97/GHBWJ+45x+Z7WiakC2LcyZXE8F5ufxkaU6W/DZPk2brqcwuw0f3Z82e 7A9coillJ64gyO/z6ZVZO236EhoaA4Ew9ZFLT2OlWHszxtgjNcwZV4k8QBRT/f3+SA7M gStx3mLvxO7s3sIadRpcnSq48LMhK5E9rorcBoVeG8zc/kYb6Bv+awX62z1zRTVGVb84 E2Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@chromium.org header.s=google header.b=ZGa3F1yw; 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 x10si23274166pfj.93.2019.07.09.00.28.48; Tue, 09 Jul 2019 00:29:03 -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=ZGa3F1yw; 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 S1726867AbfGIH0g (ORCPT + 99 others); Tue, 9 Jul 2019 03:26:36 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:42295 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726031AbfGIH0d (ORCPT ); Tue, 9 Jul 2019 03:26:33 -0400 Received: by mail-pf1-f193.google.com with SMTP id q10so8839117pff.9 for ; Tue, 09 Jul 2019 00:26:32 -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=ArHGhhb9Oek4s8DL5cUvHYNj+PCdXUKKJXXZEMG05Gg=; b=ZGa3F1ywhkopQ29J1iJD2QyNsq/4SKX590Zq8j9+JeaErhTza9asz+D7oR02xoNCLu SEptfK8bXlxBtkZZSQfpKso3AhomaMMck9vXgPctMBPAEeJr57cE7hFctmA/ZIirdg+m 9JlxVuCA9FHw/RKWczO+ylWGM1WfRr8J40yZo= 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=ArHGhhb9Oek4s8DL5cUvHYNj+PCdXUKKJXXZEMG05Gg=; b=KkJEOr7T/jZ/B9JIRdekNbH4XxPAHIWzXTwq0chkj9hJuLvn50+J7ehKW+iddNZJkk lso6xFIaNG2EVxepCgc7FoMbYuXXIaVsqQQZq6upf3oCAbKuNlG0c+685hbJujFMgwcj hhX0eEO3XdIatab+swBUvYs/lSp6MlC4uF6Z7hASSBYDIknbWi/0jtftZlO83tEoe5pX a6G9uCPOUl65JdOcLNwm4TVvHH4lhSZbAR2oESmMe/9GP1mi/ejzAIIQGNrbHk8QAiG+ GRPOk8fsbScy+PEeSQ63mQSsQSauydEx9WhVVaCQR9R3NcvL03Q+Vne0RqYcvYK6obiX WYKw== X-Gm-Message-State: APjAAAXP9MddjpizMOlbs67C6DvhYxGylnx08VsdMqmPD3esvR1t4k4o B9xzJM9CvCFIG+zIA6QkZ7s/8Q== X-Received: by 2002:a63:6b07:: with SMTP id g7mr29601088pgc.325.1562657192295; Tue, 09 Jul 2019 00:26:32 -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 81sm12738135pfx.111.2019.07.09.00.26.30 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 09 Jul 2019 00:26:31 -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 v13 5/5] arm64: dts: mt8183: add scp node Date: Tue, 9 Jul 2019 15:25:29 +0800 Message-Id: <20190709072547.217957-6-pihsun@chromium.org> X-Mailer: git-send-email 2.22.0.410.gd8fdbe21b5-goog In-Reply-To: <20190709072547.217957-1-pihsun@chromium.org> References: <20190709072547.217957-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 v12, v11, 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.410.gd8fdbe21b5-goog