Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1018967lqp; Sun, 14 Apr 2024 10:00:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVCwE0wzQOdw1BOkEXXafbyeJe+LnesnjhZsK+Rlcadi2KLGCFYgtIbm8BYO/M1yBqMkAwV43VaPkwpMDsjK0duYaUrIGIvOntuHoQw6A== X-Google-Smtp-Source: AGHT+IHXIr36gASmKpRbl2Ws+PtE3DxUOEJVatEdAK6eReAHecITwt5ZXWkUMiCdSeJ48xzJtEna X-Received: by 2002:a05:6358:170d:b0:186:5f1:3827 with SMTP id d13-20020a056358170d00b0018605f13827mr9640717rwj.18.1713114016184; Sun, 14 Apr 2024 10:00:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713114016; cv=pass; d=google.com; s=arc-20160816; b=Dm3VYJkDRhaaBBc3VTbAQg/tWLWU7pQjyTn+Yxugqoh0iMNSc8QDUjrh2eD4N6RRrX 3O24/r/KqarXCPMAo74JFrSt+JGsIU9AWf4ryQarf4eVIL+RcO2ytZfZxsn9smYDvoFU cEPffcZeRpicxZjU9v3u4D9Yjxhh+KDDYP4wf0IzBYkZ266O79t3jJOKrp/YesfzRgWa AUXdkAWP71/WNoOrbBg7wx+lWtBJCbPJ2F0GV13DNO75/yxawD1jDDAi3FBPgarLdbh7 VoUObumbveExZv61ZAzdGUG95twMNvzuH1mRx1GuicnL9GPpjIQHfgBn7OfbuCaVjt38 qCIw== 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=ipEBFetRHAp/1hDn1rxccOCzTGrkejfX5LP8iZREH/g=; fh=QWbiaDiYiEL0epqVXhowjwF4FVmGjy1HE7i08SLfh8Y=; b=FjcwK8ID7TFXwIgmYV0Dae99w+7bzuWmu8oUvMkhYNnKq/Y6pqvoqLdutDcO37/9+n bqNEK91yrNBsjz2lOfYDiMZydHis6YlQL4eZGP0LZCw5ioV5aKbZYvd0yOJvG2iovo1K AN/KETXZY1sfNS4f/KI3kUiNUBwBhY4RE9Fa6AjX0wGh57xgEopxxLS5dAb7rVPsvIBg 4IEzBninLfDkoNc2FkaTvD1rqgm02umxXMuDCIlWv6ZCBe1NabfLHhhIQ/pkQZfPAulP tGXVl7b+bL3CAwkSDUoXVOgkAfvVkq75eDEMT3L1FoWWnfF8qXB0F8i8EdKxA2Tl3mV0 sePw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=l2iWlvqw; 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-144292-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144292-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id m14-20020a633f0e000000b005d81b96abb9si6461859pga.888.2024.04.14.10.00.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Apr 2024 10:00:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144292-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=l2iWlvqw; 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-144292-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144292-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D41A0282265 for ; Sun, 14 Apr 2024 17:00:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1674F135A51; Sun, 14 Apr 2024 17:00:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b="l2iWlvqw" Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) (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 645B856771; Sun, 14 Apr 2024 16:59:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713114002; cv=none; b=Nw9wPoDwtRFCsNfXWN493Z5tK8qzkhD45D5vvrOo/IgirEzipF9Dp5U0Rcp4RH7UQC/UvRaTLxOxVU+nicEz0azWwD9eouNc3jTZFNXaRzfIQhXjBIJLZ5PH0NufZs8YYh0Q9h7VFA3+fLHgPF3XN8IMZ8REdc7Y0SV8nOIytN8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713114002; c=relaxed/simple; bh=2vuBy3JddhPuK9fJ9dNH99j+JK+Ocuh5sJ+yj+qGuyo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Z5t96SqAWluwajBQRP2Y4x+UAuTeMmThOKxpYD5fns1Hq3ADjPqjHUhZRiR19OqbUUSf6oyhJbq7dtB5TxKWhtlXMRzXSdAqXMNlHC92IBk/38oI8ZdW+BnrhNutWhcHSRJGPymxrFvnksLimy1MuhaXx1XiZhYjRw2HaPw1Grw= 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=l2iWlvqw; arc=none smtp.client-ip=217.70.183.198 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 45EB7C0002; Sun, 14 Apr 2024 16:59:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arinc9.com; s=gm1; t=1713113997; 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=ipEBFetRHAp/1hDn1rxccOCzTGrkejfX5LP8iZREH/g=; b=l2iWlvqw93ZguKYWf/EEd7zOtf7nArGTD28rVSvnJ1QExWcS6YD43CtrdnuA8dRuTOQyDK caI9PHDFXWN7vndkxzfIjzd+qySS1bClcaPovKPT+LXMDjEH113OxG06x7PNPfw6uDelnC 5HhlOxXzeJe6O59mh+hUX4QfqpM/OZ34pAUi5cB2/vaWzGire0ACgTR6vqIZQvvqmwdXT0 vfKD/eEpilCNPtK85S5H1NibRGffTYGjs5tRauaLkEz4+WOHqqxQ92S3U8XX8v3WUSfGOS n5vS0vZ8RMNRKb9Z3wNQwHENDLl1OsBdTz2dAbHpqRDMrJygu+OhbqgtMt3j8Q== Message-ID: <85261d11-d6cb-4718-88d9-95a7efe5c0ab@arinc9.com> Date: Sun, 14 Apr 2024 19:59:44 +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: Krzysztof Kozlowski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Hauke Mehrtens , Rafal Milecki , Florian Fainelli , 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> Content-Language: en-US From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-Sasl: arinc.unal@arinc9.com On 14.04.2024 17:13, Krzysztof Kozlowski wrote: > On 14/04/2024 13:46, Arınç ÜNAL via B4 Relay wrote: >> From: Arınç ÜNAL >> >> Add the device tree for ASUS RT-AC3200 which is an AC3200 router featuring >> 5 Ethernet ports over the integrated Broadcom switch. >> >> Hardware info: >> * Processor: Broadcom BCM4709A0 dual-core @ 1.0 GHz >> * Switch: BCM53012 in BCM4709A0 >> * DDR3 RAM: 256 MB >> * Flash: 128 MB >> * 2.4GHz: BCM43602 3x3 single chip 802.11b/g/n SoC >> * 5GHz: BCM43602 3x3 two chips 802.11a/n/ac SoC >> * Ports: 4 LAN Ports, 1 WAN Port >> >> Co-developed-by: Tom Brautaset >> Signed-off-by: Tom Brautaset >> Signed-off-by: Arınç ÜNAL >> --- >> arch/arm/boot/dts/broadcom/Makefile | 1 + >> .../boot/dts/broadcom/bcm4709-asus-rt-ac3200.dts | 164 +++++++++++++++++++++ >> 2 files changed, 165 insertions(+) >> >> diff --git a/arch/arm/boot/dts/broadcom/Makefile b/arch/arm/boot/dts/broadcom/Makefile >> index 7099d9560033..c61fca514775 100644 >> --- a/arch/arm/boot/dts/broadcom/Makefile >> +++ b/arch/arm/boot/dts/broadcom/Makefile >> @@ -64,6 +64,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \ >> bcm47081-luxul-xap-1410.dtb \ >> bcm47081-luxul-xwr-1200.dtb \ >> bcm47081-tplink-archer-c5-v2.dtb \ >> + bcm4709-asus-rt-ac3200.dtb \ >> bcm4709-asus-rt-ac87u.dtb \ >> bcm4709-buffalo-wxr-1900dhp.dtb \ >> bcm4709-linksys-ea9200.dtb \ >> diff --git a/arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac3200.dts b/arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac3200.dts >> new file mode 100644 >> index 000000000000..8640dda211ae >> --- /dev/null >> +++ b/arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac3200.dts >> @@ -0,0 +1,164 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT >> +/* >> + * Author: Tom Brautaset >> + */ >> + >> +/dts-v1/; >> + >> +#include "bcm4709.dtsi" >> +#include "bcm5301x-nand-cs0-bch8.dtsi" >> + >> +#include >> + >> +/ { >> + compatible = "asus,rt-ac3200", "brcm,bcm4709", "brcm,bcm4708"; >> + model = "ASUS RT-AC3200"; >> + >> + chosen { >> + bootargs = "console=ttyS0,115200 earlycon"; > > 1. Use stdout. > 2. Drop earlycon, it is for debugging, not regular mainline usage. I see that bcm4708.dtsi which this device tree includes already describes stdout-path with the same value so I'll just get rid of the chosen node here. > >> + }; >> + >> + memory@0 { >> + device_type = "memory"; >> + reg = <0x00000000 0x08000000>, >> + <0x88000000 0x08000000>; >> + }; >> + >> + nvram@1c080000 { >> + compatible = "brcm,nvram"; >> + reg = <0x1c080000 0x00180000>; > > Why is this outside of soc? Both soc node and soc DTSI? I don't maintain the SoC device tree files so I don't know. The nvram node doesn't exist on any of the device tree files included by this device tree. Arınç