From patchwork Tue Sep 4 05:01:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 145842 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3237206ljw; Mon, 3 Sep 2018 21:59:44 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYr62srNIywNIsRQ7+y9hg/hywuWPpNpeNcX9PAd08gQaYYwr+yHQrlC9j6nPUinaIL2A4X X-Received: by 2002:a62:25c5:: with SMTP id l188-v6mr32514650pfl.179.1536037183932; Mon, 03 Sep 2018 21:59:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536037183; cv=none; d=google.com; s=arc-20160816; b=mBZf3oaqaRyxwKlVjNKavFmFotBHGHhS46Ohg7/jXgV/Sp+QtW3rmux2dxt51iTDCV ZodCnSuOJI1QqQTiAUoTfz+p5/+TtyRRFtAyPYU9+XYbTbbdKZ9zxN9+wiZa7ESC4KrZ gh3coxcQJCtS8vn/B9qYNQ/sDQ1BI0XKALqVDTJLk4/N7j6YR1/SzWjPTpIX2ltXzu1c 2izbSJMenGBj63o/MRSiZxMfUOwRS28yA1wlzZLJJlePzoUNe65hFQFdOfk66k+xza8z TiE3uzIYc9ETZ8IpM7LU9tURb9gavbPUrMpB/qsAetSdVzjn6SuIe9rNPgo9RUbKKWn9 GtMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=8dnrInycPf/HQ5dYGYALxd9QKDKw+KzD8Sq1rCdWvlo=; b=QiXhyYe6oS2zO7uWTQfqAPd6fm1pwo7ITtx3eTxebq7+cRwv00bUW6rNfMcJ5nTyOZ WNpC901+GGJFCSSugsKVm8P4a7gFhWM1s/FHNBbOyzBU7JbPtmOjLmPf8UYrwcQwjJs7 MdRxqkr5hNgr2drs7FIbPzwTqaA9zwdenk2a9MxH05EO1b7Gg1bA4jVT/dJCbTLYutbk 5u8i7zrDLbXfbpSJ3NESE/PGexnOweFNzB0d++WvJbGZJcohFWoIoYz1HGpH+gqa8N/O D9z4EteMzpUGuOVcMQXbLBZ8C27dXUDPqmn0mb1DAyP3uEen89crM6Jv5C49HiehOtCF gttA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AxmezNYm; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s184-v6si19106614pgb.161.2018.09.03.21.59.43; Mon, 03 Sep 2018 21:59:43 -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=@linaro.org header.s=google header.b=AxmezNYm; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727532AbeIDJXD (ORCPT + 6 others); Tue, 4 Sep 2018 05:23:03 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:46374 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727492AbeIDJXC (ORCPT ); Tue, 4 Sep 2018 05:23:02 -0400 Received: by mail-pf1-f194.google.com with SMTP id u24-v6so1041393pfn.13 for ; Mon, 03 Sep 2018 21:59:40 -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; bh=8dnrInycPf/HQ5dYGYALxd9QKDKw+KzD8Sq1rCdWvlo=; b=AxmezNYmRY6tHZBkf7MM19ZKYwIvy0dWm6RBmqqdG1gy0K61yXmpLoGs35+GWSC9o2 4lsENMKPg9Gid0rX69dleqpe5hk1sspJ6a/zK4yNbmKLLbSF4SASkEoJIWuOFJ2ASDbu X52ZVWmhLPgPLD6dGeGYe7dlw5R7NJ7SGiNZk= 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; bh=8dnrInycPf/HQ5dYGYALxd9QKDKw+KzD8Sq1rCdWvlo=; b=mJxnqEx9rbzCD1cyKQPtMCXBkoAEJ2DNlYFqHBJhFzBmCsv/2uC6NxClrgqNF3flZs ePysq7EttlxShP7Eafp+Bu6f0YDHj+Sst5m5JqGbYkdeZpzDL64ot98fFF+mJMsgp01O y+filtpBTw3QtU08/FDst8vEtSEdlyyjIqbLDdoG8uSP9+5eMuKeP3RohdZbPRoEb+wN 6BJ1eRCLaCdY5FwRa0nvJBzVglSRZCgE3Nm7AWiHvN2YVrxfo1DV+mhIiy5u7gVDNJKO L2I5FmtQrh8hClb69AtaoAztWiEpQ+86tcm0G/qFZrDXDNndYuO1leyUSXy/vPhGFxi9 iD9Q== X-Gm-Message-State: APzg51D7TqKJGIpNcc7I3u7YG8wQUyrAvSc4Adnki+a1sfTk3FshPT5/ 8249RKP9NjYxBryDd5aTr5bzPw== X-Received: by 2002:a63:ad44:: with SMTP id y4-v6mr29084616pgo.138.1536037179918; Mon, 03 Sep 2018 21:59:39 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id v72-v6sm41180378pfj.22.2018.09.03.21.59.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Sep 2018 21:59:39 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 5/8] arm64: dts: qcom: msm8998: Add smem related nodes Date: Mon, 3 Sep 2018 22:01:20 -0700 Message-Id: <20180904050123.26601-6-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180904050123.26601-1-bjorn.andersson@linaro.org> References: <20180904050123.26601-1-bjorn.andersson@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add reserve-memory nodes, tcsr-mutex nodes and the smem node. Signed-off-by: Bjorn Andersson --- Changes since v2: - New patch arch/arm64/boot/dts/qcom/msm8998.dtsi | 49 +++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) -- 2.18.0 diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index f92f04f9ed6d..335bbc339932 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -20,6 +20,38 @@ reg = <0 0 0 0>; }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + memory@85800000 { + reg = <0x0 0x85800000 0x0 0x800000>; + no-map; + }; + + smem_mem: smem-mem@86000000 { + reg = <0x0 0x86000000 0x0 0x200000>; + no-map; + }; + + memory@86200000 { + reg = <0x0 0x86200000 0x0 0x2600000>; + no-map; + }; + + rmtfs { + compatible = "qcom,rmtfs-mem"; + + size = <0x0 0x200000>; + alloc-ranges = <0x0 0xa0000000 0x0 0x2000000>; + no-map; + + qcom,client-id = <1>; + qcom,vmid = <15>; + }; + }; + clocks { xo_board { compatible = "fixed-clock"; @@ -205,6 +237,12 @@ }; }; + tcsr_mutex: hwlock { + compatible = "qcom,tcsr-mutex"; + syscon = <&tcsr_mutex_regs 0 0x1000>; + #hwlock-cells = <1>; + }; + psci { compatible = "arm,psci-1.0"; method = "smc"; @@ -225,6 +263,12 @@ }; }; + smem { + compatible = "qcom,smem"; + memory-region = <&smem_mem>; + hwlocks = <&tcsr_mutex 3>; + }; + thermal-zones { cpu-thermal0 { polling-delay-passive = <250>; @@ -474,6 +518,11 @@ #thermal-sensor-cells = <1>; }; + tcsr_mutex_regs: syscon@1f40000 { + compatible = "syscon"; + reg = <0x1f40000 0x20000>; + }; + apcs_glb: mailbox@9820000 { compatible = "qcom,msm8998-apcs-hmss-global"; reg = <0x17911000 0x1000>;