Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp465481lqb; Wed, 17 Apr 2024 01:24:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWEmSovj9RWNxSCcHdAKifq9p9bYCliEBuIdzRKbSmEyNNF+9FVbDRwkO3znGzu8yow6RkanQ3yc0R+9FyQpRvelJrTeF7ybKyFrL0yeQ== X-Google-Smtp-Source: AGHT+IEir4ioSSdDRC2cW3ukljEHiElaqjmoisrmLXM6QhN8c/wt0/7yPqP7FP8JTePWX14aBHaq X-Received: by 2002:a05:622a:1a87:b0:436:80f4:5f3 with SMTP id s7-20020a05622a1a8700b0043680f405f3mr19733947qtc.41.1713342265066; Wed, 17 Apr 2024 01:24:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713342265; cv=pass; d=google.com; s=arc-20160816; b=ee9CpmOJ2u9hqJKFs3c8WVJ6TeHSobipv0Njqft74LCR7Xd1DW9cynMc5sLOciviXV QmqyB1W3aaIdrzN+lfGfgPL/+bl+AZqaMqsBbkLMLoJY2hSrKU8g+GbyZTTwFg9RbEkz WnCpkIH+64pKVboRITaXFMLG6pwJNaxg6kLsLfisbsC797l4Jknmksy1QQ6y1qiMV2KA oArSw0taQ41ssdlouErhdsHXATbEP3WZgsvrmcwZvtfjdM55NI8M8PPh1UE9z+BbhqZm 85LbIhRICVpPLZETYLWXm3s+YNWJjSDYuC3t4AQ/NRvUrNDXkVzxBDFVGhnnpeOco2xo /Bvg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=eNl2kpmyXA4EHz7sEmeC1SnU4Qf3LOV2W8Qe8fDoaho=; fh=cTJT14aVOAW5Y1lkZAm7dYw87RQdzX6rkqfFl2sSjlk=; b=O6bpRyETQQkqIpuqjkJWrUpQGGJyutpul/jSRSFg5sWAmM7TiKzBoizmM5aVi+JfFR gQ4BndUJMoVAfAf9W0CpQkw1xAgmcnN8HiiiyyNoqQvSpL9DLjZ0Yq9/auYaur0vdKPg kggaV2KoPkSbqDub3K7/SD7mb7SoYCAC5dxLnRJ5Nfrqth4UmX90SifQ8OAQfvQij1xX zoLsgeEr5NENIf6K86Fc+BgoNShMmfUDeZ6ZuiBrQqTykTdD+WSeSC3fTNXr/DXDm4x9 3PEbSAhQ2leHVG6QbPQddv6pD0PhdBLmcRQICIDdepK5ksF4dCdGMQmG263t6Coyz9I1 2+DQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=dlprTLWJ; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com); spf=pass (google.com: domain of linux-kernel+bounces-148134-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148134-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id w12-20020ac857cc000000b004369a6fd37asi11904659qta.605.2024.04.17.01.24.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 01:24:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148134-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=dlprTLWJ; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com); spf=pass (google.com: domain of linux-kernel+bounces-148134-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148134-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C96981C21696 for ; Wed, 17 Apr 2024 08:24:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A0EC47EF1C; Wed, 17 Apr 2024 08:24:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b="dlprTLWJ" Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56E3A5D8F6; Wed, 17 Apr 2024 08:24:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713342257; cv=none; b=CIpgM48ueXl7NE9TyydCKTxz4PgIl9YLha2B7eiujthqGWvqNu2+h9f8uR62d/q0dkcnIrjqW4Uh4O5s8uU6b7I3tXKA6zUSgbDFb8v9ib6CuiWYoNWa8zP0lB2wAJPgf0qYjIAf6m3gex/ogm3MkW/z2IQt4O5DeNaXt7Wdin8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713342257; c=relaxed/simple; bh=UnJDeGW6hTOWzM5xTq9iID1BjEcevOyGCrGHXGGwe+c=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Twx1wq540uT9a2MR/CKnQL1KG5KdIJWek5jxf3KyNP67l+qY5Ac/TAwVJRRARomSpfPT/eb0qwcuIFXZg41277ZVj+fjMT286Inph3hKfsPlXzPllqpxWoq4jJi1w298NLt8O2GuAR5/z5qpveGi1AeFTw+VJw92I07djqBFZ+Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arinc9.com; spf=pass smtp.mailfrom=arinc9.com; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b=dlprTLWJ; arc=none smtp.client-ip=217.70.183.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arinc9.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arinc9.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 70A831BF20C; Wed, 17 Apr 2024 08:24:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arinc9.com; s=gm1; t=1713342251; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eNl2kpmyXA4EHz7sEmeC1SnU4Qf3LOV2W8Qe8fDoaho=; b=dlprTLWJZaB2rIyPzBM8ThbSYbelvbq/IxjTNJ7L+SPus8J681T/AATFX5fEGJ0nZlYiKu DCDAJecOWm5735clknwrECBHmbnsrtvhA85W4/eKi7hFufQHcVtHao+XPVuauI/tF8T2dZ qXFgtbJ9aH5q1IHc7RFkZiBTjmPD0MfeaHBEraCbd5hmCOBMh469nKcoMKMhG/5fWzTMq3 XYLf9fkW6kkUW9bk/3cYcM/eaDF7yoH/+G18OkFAaIKl0MNXU42IGswTB+xarf99oJnTFk QUC3qaqO6aKgcgBoQ+7TZXuE1XhiLaRZXrFJYqhwXmUGTOuSxIRK6E0UmRJhvw== Message-ID: <29f098cb-db41-4d4f-9033-a88d70ebdd0f@arinc9.com> Date: Wed, 17 Apr 2024 11:24:06 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/4] ARM: dts: BCM5301X: Add DT for ASUS RT-AC3200 To: Florian Fainelli , Krzysztof Kozlowski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Hauke Mehrtens , Rafal Milecki , Broadcom internal kernel review list Cc: Tom Brautaset , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20240414-for-soc-asus-rt-ac3200-ac5300-v1-0-118c90bae6e5@arinc9.com> <20240414-for-soc-asus-rt-ac3200-ac5300-v1-3-118c90bae6e5@arinc9.com> <85261d11-d6cb-4718-88d9-95a7efe5c0ab@arinc9.com> <335cdd4b-7309-4633-9b4f-6487c72c395c@arinc9.com> <07c9c5f5-c4b9-44d6-b909-5aa306f56898@kernel.org> <00ba4593-d720-419a-a97d-37c402c91e44@arinc9.com> <7b465ddb-2b18-4e7f-8b03-d4e51006e1cb@broadcom.com> Content-Language: en-US From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: <7b465ddb-2b18-4e7f-8b03-d4e51006e1cb@broadcom.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-Sasl: arinc.unal@arinc9.com On 17/04/2024 06:15, Florian Fainelli wrote: > > > On 4/15/2024 2:10 AM, Arınç ÜNAL wrote: >> On 15.04.2024 10:57, Krzysztof Kozlowski wrote: >>> On 14/04/2024 22:21, Arınç ÜNAL wrote: >>>> NVRAM is described as both flash device partition and memory mapped NVMEM. >>>> This platform stores NVRAM on flash but makes it also memory accessible. >>>> >>>> As device partitions are described in board DTS, the nvram node must also >>> >>> Sorry, but we do not talk about partitions. Partitions are indeed board >>> property. But the piece of hardware, so NVMEM, is provided by SoC. >>> >>>> be defined there as its address and size will be different by board. It has >>>> been widely described on at least bcm4709 and bcm47094 SoC board DTS files >>>> here. >>> >>> These not proper arguments. What you are saying here is that SoC does no >>> have nvram at address 0x1c08000. Instead you are saying there some sort >>> of bus going out of SoC to the board and on the board physically there >>> is some NVRAM sort of memory attached to this bus. >> >> Yes that is the case. NVRAM is stored on a partition on the flash. On the >> Broadcom NorthStar platform, the NAND flash base is 0x1c000000, the NOR >> flash base is 0x1e000000. >> >> For the board in this patch, the flash is a NAND flash. The NVRAM partition >> starts at address 0x00080000. Therefore, the NVRAM component's address is >> 0x1c080000. > > Because the flash is memory mapped into the CPU's address space, a separate node was defined since it is not part of the "soc" node which describes the bridge that connects all of the peripherals. > > Whether we should create an additional bus node which describes the bridge being used to access the flash devices using the MMIO windows is debatable. Rafal, what do you think? Will this block this patch series? If not, I'd like to submit the next version with Krzysztof's comments on earlycon and stdout-path addressed. Arınç