Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3488370pxu; Tue, 15 Dec 2020 08:09:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJw6VXTEKdUujtQhn9AImUoTFjsG8DLZwouqOLExpwUUmENW9C5InkoXYFxqlqrR8i+WOHEg X-Received: by 2002:a17:906:16d6:: with SMTP id t22mr27548975ejd.154.1608048576394; Tue, 15 Dec 2020 08:09:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608048576; cv=none; d=google.com; s=arc-20160816; b=hX9FzL41pqIJYz5JTaWp4M5h3p7eSk8cRCPJ//cdpbbTVixFYBdhscX31f6QDQhIsj iC2qCKp/avgT6EALEwjnq74oy+yBK0zFrxnAyskWY5noHRpR/a9t/9jvmNGMPaULaKqS ykUwTyJGDvSyBNampNtSLbd8hkpFTN9a8yIpCaZV7zZe832nsu+/R1GB6YK2mYeY4UK8 QckN+4ugsrYbyv6y2qeYW2dqO2QdyO4mAQib3bFm+QUt5zJ+87Pd2gmP3+l26UAkss2C cjWqom2xzdUzqusZSGC3HZP2J+J9Cw6n6lfqxd5um6zaUch+XxuF35tfWq+sBIDi9hlC KwLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=C/Hi1Ww6i05jhcFFLzI8cxuxM090cwFhbHeh7YTgQrI=; b=FJTNyxjMWsnxgWUXYBmWX6KGkX1J3pfDHZF7aH4NG2u+Pq7pO5SSxcm7ASErk7xC9Y IoPa4Pg05iMd5Qn0Pu/acQI16qLc2s9HeukoeH1jkgRY0cB/aqygNDGrSCVh7RLHeyvQ D6W021APaGu+r8t/L35Lg83pmLiHL90RWS9UHq6mH1SoM9h41zlS6T0M94+Gwo9iV9FG AE/f5+FNmDxJNTJGlXqrEn90zRFOGy3Sz18Ryy/RgEjZSv/6SK/xG9FnbI51wCGfClH8 jwVIf+Hw5PLe9rBDOvc69w2jeaIjq/5io4estZni9bFnNd/Ud9qq4E5/LRTQRdmckhG6 CLdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ss9si994813ejb.746.2020.12.15.08.09.09; Tue, 15 Dec 2020 08:09:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730744AbgLOQDq (ORCPT + 99 others); Tue, 15 Dec 2020 11:03:46 -0500 Received: from mx2.suse.de ([195.135.220.15]:60892 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730663AbgLOP5Z (ORCPT ); Tue, 15 Dec 2020 10:57:25 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 2EB33AD43; Tue, 15 Dec 2020 15:56:43 +0000 (UTC) From: Nicolas Saenz Julienne To: srinivas.kandagatla@linaro.org, Saenz Julienne , devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Rob Herring Cc: linux-kernel@vger.kernel.org, linux@armlinux.org.uk, catalin.marinas@arm.com, will@kernel.org, tim.gover@raspberrypi.com, phil@raspberrypi.com Subject: [PATCH 3/6] ARM: dts: bcm2711: Add reserved memory template to hold firmware configuration Date: Tue, 15 Dec 2020 16:56:23 +0100 Message-Id: <20201215155627.2513-4-nsaenzjulienne@suse.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201215155627.2513-1-nsaenzjulienne@suse.de> References: <20201215155627.2513-1-nsaenzjulienne@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RPi4's co-processor will copy the board's bootloader configuration into memory for the OS to consume. Introduce a reserved-memory area template for the co-processor to edit before booting the system so as for Linux not to overwrite that memory. Signed-off-by: Nicolas Saenz Julienne --- arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts index 403bacf986eb..c58e58e8ce39 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts @@ -25,6 +25,7 @@ aliases { emmc2bus = &emmc2bus; ethernet0 = &genet; pcie0 = &pcie0; + eeprom = &eeprom; }; leds { @@ -218,6 +219,19 @@ &pwm1 { status = "okay"; }; +&rmem { + /* + * RPi4's co-processor will copy the board's bootloader configuration + * into memory for the OS to consume. It'll also update this node with + * its placement information. + */ + eeprom: eeprom@0 { + reg = <0x0 0x0 0x0>; + no-map; + status = "disabled"; + }; +}; + /* SDHCI is used to control the SDIO for wireless */ &sdhci { #address-cells = <1>; -- 2.29.2