From patchwork Sat Nov 23 20:37:55 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: 180128 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1128655ilf; Sat, 23 Nov 2019 12:38:31 -0800 (PST) X-Google-Smtp-Source: APXvYqwCbVMAHjnEAQ8l1iiN5kskuTVNTrVBMSW9euBZIfymTEAyRYLt1xJa3UI+Pu94NHGB+gQ0 X-Received: by 2002:a50:f747:: with SMTP id j7mr8875102edn.247.1574541511758; Sat, 23 Nov 2019 12:38:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574541511; cv=none; d=google.com; s=arc-20160816; b=J0UP2FZEMLD+9NKAQk76sa6TxiJD3v5cSBcl6wIXUmA/XZrZBRc55Y1oUdD327NTLI uJurAUpkAvlxK9H3b7LIlNhPs6b9zWcL6TJjt/VPrQa2Z5dVGQ8D/gq7f43yJdJKOJ2C od80kFqfKSLLxcNBkfxr9siMMOTd5lePpTJ1L/6RXEoxaJm6j/VqsfMOqIMWhMqlE33N S7pXNylhMzOTJMuhvm025AymL6cnGfXN4o8qPs8FJOYXxqnqpYYLOHr81bxAisfSQRAX eQme+ts8mMwkLEbbm4MSGqn/5nAnwX/3GMpDXugodSrbG04R/ehdAUHDtsRJLbrZXtaG 2O4g== 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=ymGlnY2xiQqxjQ53PJzyzg4q3MXyVR1/sBOeGKZdLHQ=; b=w0S/zson38PYYyBLFqUCPfhfsLdtTgKgF8thnb2z8radrR/7hDE8Xp2NzBARJfwFqM oLIQhCPNWHCESqw+DR0OHrBInu9FMRZW+1bqASjWjMbWMyIJbv3kbrrMO16Mxs6JZ4hp SEptYFeu4O0dJIrFFJ7SBzLc8jL/Voz+wuFNF1fVTSkKWqGRMZ5JE4Qko8/QcLOTLUC3 ILxJE4dsVfR/s22SAOBNWM34JW5wxuf0SMwkyuz+vssUvWs8lUx5SHYvdCURZobJvRa1 fPRwhzYaaUyT5mfbz2Go++WWtJTloFqD1vED3IFNP0CMNkr0J3tuJb3dImrpyli/tb7P 3y4A== 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 b17si1610304edj.417.2019.11.23.12.38.31; Sat, 23 Nov 2019 12:38:31 -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 S1727099AbfKWUi2 (ORCPT + 26 others); Sat, 23 Nov 2019 15:38:28 -0500 Received: from mx2.suse.de ([195.135.220.15]:34350 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726752AbfKWUiM (ORCPT ); Sat, 23 Nov 2019 15:38:12 -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 C9A29B00A; Sat, 23 Nov 2019 20:38:10 +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 v4 4/8] ARM: dts: rtd1195: Exclude boot ROM from memory ranges Date: Sat, 23 Nov 2019 21:37:55 +0100 Message-Id: <20191123203759.20708-5-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191123203759.20708-1-afaerber@suse.de> References: <20191123203759.20708-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 Carve out 0xa800 for the boot ROM from the /memory@0 node, updating it to /memory@a800, and add it to /soc ranges. Signed-off-by: Andreas Färber --- Could be squashed. v4: New arch/arm/boot/dts/rtd1195-mele-x1000.dts | 4 ++-- arch/arm/boot/dts/rtd1195.dtsi | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) -- 2.16.4 diff --git a/arch/arm/boot/dts/rtd1195-mele-x1000.dts b/arch/arm/boot/dts/rtd1195-mele-x1000.dts index e2050cb64474..c7951b9a2c97 100644 --- a/arch/arm/boot/dts/rtd1195-mele-x1000.dts +++ b/arch/arm/boot/dts/rtd1195-mele-x1000.dts @@ -19,9 +19,9 @@ stdout-path = "serial0:115200n8"; }; - memory@0 { + memory@a800 { device_type = "memory"; - reg = <0x00000000 0x18000000>, /* up to r-bus */ + reg = <0x0000a800 0x17ff5800>, /* boot ROM to r-bus */ <0x18070000 0x00090000>, /* r-bus to NOR flash */ <0x19100000 0x26f00000>; /* NOR flash to 1 GiB */ }; diff --git a/arch/arm/boot/dts/rtd1195.dtsi b/arch/arm/boot/dts/rtd1195.dtsi index c5713a5ef472..0d7c2be750f6 100644 --- a/arch/arm/boot/dts/rtd1195.dtsi +++ b/arch/arm/boot/dts/rtd1195.dtsi @@ -88,7 +88,8 @@ compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; - ranges = <0x18000000 0x18000000 0x00070000>, + ranges = <0x00000000 0x00000000 0x0000a800>, + <0x18000000 0x18000000 0x00070000>, <0x18100000 0x18100000 0x01000000>, <0x80000000 0x80000000 0x80000000>;