From patchwork Mon Nov 11 03:04:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 179044 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp6076040ilf; Sun, 10 Nov 2019 19:04:55 -0800 (PST) X-Google-Smtp-Source: APXvYqyPJByuXUf67p8vOZ3DTv9eTHhvjB4VtfV9cVPNs4abkxNt7QHBYLi1TIysRVy5BRNSk7Wh X-Received: by 2002:a17:906:d72:: with SMTP id s18mr20759647ejh.29.1573441495101; Sun, 10 Nov 2019 19:04:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573441495; cv=none; d=google.com; s=arc-20160816; b=NtAx9qdQZGgnuS0QIal5vekHCw7RjQeMd5hS4TK8v26Fz5OcfeHRrpRlZVkmJoEy/h vRI5hHYscN7hzxmedvQiiFH3gtE0qlxJGerulYmOKypOtCJc8BiJnZfA4zOq2YP3D/4U /yT3FA24iGh2Hq8sJmYciDWzPD72DBD/HVIZeko3k0rA4h8Hyb7F3MmAhl91rJQMKa8k FOiZvV+9rmQUykYNfCjRpIxE6pEdjJYpbd3wLX7M/z03xFYUmkA3IFRJDNqbPS3zZ3RV UmmCB54ofcO8qRCd619/OmiWG3pX9mSZV4WlqtkYgGVHr8vq+/6KsOslOgvpI+y1MrMZ 0hdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=RbtOYDWK6vhTrF7AhGJZR+6wf2YtspS/yI7mefZXdt4=; b=DfCRRkrNIogRj38rLlFxUoPNitZX2zKfW4oLqVcy97x6qsNydGj7JQ7yLdDRW55vax H7g1k/Ag1N3TXNFALIVw4sYpDfnfwien1RTW7mfyWJ5bCD42DLgvRNV+wXGn0FofQbQm 0yA0HKW7d27OZscQv7DNmsfl1PnWuHzUoxzJpwaVhDE5f7L+TnoQiysQhT2YpsR8OWxE kFRhHv8gkjHkcD5iEdrMH093akB4LyBFArYiHldhrlrfeZDhmUKI0C1xJ/NInPbI/mBl /7ZOaRz0UPzeqnUsm4J4+NHpICsfUBdH87d1DbAZ3rkZqaDOR/1UvSYAseF2CI5EeJB5 RQIQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w8si11625068edi.304.2019.11.10.19.04.54; Sun, 10 Nov 2019 19:04:55 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726902AbfKKDEv (ORCPT + 26 others); Sun, 10 Nov 2019 22:04:51 -0500 Received: from mx2.suse.de ([195.135.220.15]:54300 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726763AbfKKDEu (ORCPT ); Sun, 10 Nov 2019 22:04:50 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 3F824B13E; Mon, 11 Nov 2019 03:04:49 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH 2/7] arm64: dts: realtek: rtd129x: Use reserved-memory for RPC regions Date: Mon, 11 Nov 2019 04:04:29 +0100 Message-Id: <20191111030434.29977-3-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191111030434.29977-1-afaerber@suse.de> References: <20191111030434.29977-1-afaerber@suse.de> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move /reserved-memory node from RTD1295 to RTD129x DT. Convert RPC /memreserve/s into /reserved-memory nodes. Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/rtd1295.dtsi | 13 +------------ arch/arm64/boot/dts/realtek/rtd129x.dtsi | 23 ++++++++++++++++++++--- 2 files changed, 21 insertions(+), 15 deletions(-) -- 2.16.4 diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi b/arch/arm64/boot/dts/realtek/rtd1295.dtsi index 34f6cc6f16fe..1402abe80ea1 100644 --- a/arch/arm64/boot/dts/realtek/rtd1295.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd1295.dtsi @@ -2,7 +2,7 @@ /* * Realtek RTD1295 SoC * - * Copyright (c) 2016-2017 Andreas Färber + * Copyright (c) 2016-2019 Andreas Färber */ #include "rtd129x.dtsi" @@ -47,17 +47,6 @@ }; }; - reserved-memory { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - tee@10100000 { - reg = <0x10100000 0xf00000>; - no-map; - }; - }; - timer { compatible = "arm,armv8-timer"; interrupts = #include @@ -19,6 +17,25 @@ #address-cells = <1>; #size-cells = <1>; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + rpc_comm: rpc@1f000 { + reg = <0x1f000 0x1000>; + }; + + rpc_ringbuf: rpc@1ffe000 { + reg = <0x1ffe000 0x4000>; + }; + + tee: tee@10100000 { + reg = <0x10100000 0xf00000>; + no-map; + }; + }; + arm_pmu: arm-pmu { compatible = "arm,cortex-a53-pmu"; interrupts = ;