From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB239C4361B for ; Tue, 15 Dec 2020 20:28:39 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8077B224BE for ; Tue, 15 Dec 2020 20:28:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8077B224BE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=IBQ7cDlq1ZhZMnijUXyS5Uqhar7Pp8bdx4GHd2CQtZ4=; b=qRI1asWDzJiRzrfLRlcd5bXdB 4KcePJki1gkMefshX48GfnkLJDHpJo7flNtggBAN90KDKVLPwhnCkdGn6Nv7xw4P5aUCBl97rAUni s5ve45uRBCuC2xvEjht+O8VGpwIBn2KSRgSgRrCZGcNy0CqyE58WMLgbKu0I8sUEUHBAlXfV5cg0p wqnS+Zqgw+lgEJ6eWhingORo+8uvQ6uw0oM2tqTfljl4ZfuxFrguNs75AIAVb6OKMjkA1EyNNI8nt nnB1Y6lDRkGHxTW3hlPwYjvV9WMg2CYHnaMZaceLAi1EdifvppF82+xTItcuD81R1sETt0LM14Ylz 0I/QZ9pFg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpGus-0008Jd-FZ; Tue, 15 Dec 2020 20:27:26 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpGup-0008Ig-Qe; Tue, 15 Dec 2020 20:27:24 +0000 X-Gm-Message-State: AOAM533GuRRrAAcd4zlaH/PNbprosJHUEEeDkdSewSqro8CpL8blt2a5 wa+oi1D0OBxz9YVFcppZTKnrLI7tEneENhGZgw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1608064043; bh=MBGH1+TBwDVBKnTVwZJ+Y6Pz95/9T53Uh0u3LBjab2w=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=a0sl4ujDoF7sN+cuW0tYJTVqPsvEyxCTu2cLaIX4uXp2m4V/1PMv0u+Gs/poAeKWy wGE2+ntAvSrr5/Wmn8XnXPLrr4klCO3QCPWDj2KNiLjuEms/XchH96pb7SsmsjotIB x5aOJY6R8N+z2DF1j+pAy9RYl4ag0DhvY+SNpeeWFnQ/xOvps8tpJfvnTR1OhMOso9 v0MIR4o2xRAT68eZRTYwCWiqJp9EOWjCPC61U4+QrWDD+2AcNtpgQYOFlSz2p3DDo7 w5rkvnCCTBrRXsezL0r33s2rHKsWX3uJ15VW5uZkchDBw+LDppqbq2mm/S3NuNHVwf yb74d6Fy3rUaQ== X-Google-Smtp-Source: ABdhPJyPP+RNnfjJT1wTon443g6dC9GOHv+GGIORiF0PyyZm2aga+kv6r74UhqjV+rSblF9RFvh1K2ETFxdMNCEiZ1U= X-Received: by 2002:aa7:cc86:: with SMTP id p6mr8286989edt.289.1608064041463; Tue, 15 Dec 2020 12:27:21 -0800 (PST) MIME-Version: 1.0 References: <20201215155627.2513-1-nsaenzjulienne@suse.de> <20201215155627.2513-4-nsaenzjulienne@suse.de> In-Reply-To: <20201215155627.2513-4-nsaenzjulienne@suse.de> From: Rob Herring Date: Tue, 15 Dec 2020 14:27:09 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/6] ARM: dts: bcm2711: Add reserved memory template to hold firmware configuration To: Nicolas Saenz Julienne X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201215_152723_954259_5DDFAD9B X-CRM114-Status: GOOD ( 19.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Tim Gover , Catalin Marinas , "linux-kernel@vger.kernel.org" , Russell King , Srinivas Kandagatla , "moderated list:BROADCOM BCM2835 ARM ARCHITECTURE" , "maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE" , Will Deacon , Phil Elwell , linux-arm-kernel Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Dec 15, 2020 at 9:56 AM Nicolas Saenz Julienne wrote: > > 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; I don't see the need for this... > }; > > 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 { But it's not an eeprom. It's just memory with some format to the contents. > + reg = <0x0 0x0 0x0>; > + no-map; > + status = "disabled"; > + }; > +}; > + > /* SDHCI is used to control the SDIO for wireless */ > &sdhci { > #address-cells = <1>; > -- > 2.29.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel