Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp608530lqo; Fri, 10 May 2024 09:13:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV6KedVNGn04ofv7H2OZCo+6z4+3iCVvWxehueoASHSLf7XoWkA5RsWhHxTNgn6QQEExeZ2YbhLI1PXPxQ1Bz9/NJzhYo3xrOxTLb3uaA== X-Google-Smtp-Source: AGHT+IGYhQWz1LR2PzHly7TNYZX+nDbHjLHOvCr8Sl4mgQnHMxxcWk/caOeLFMlg7QdeQzQEKXI0 X-Received: by 2002:a05:6a20:5b03:b0:1af:da6d:f9f4 with SMTP id adf61e73a8af0-1afde1b7ec8mr3100124637.38.1715357605549; Fri, 10 May 2024 09:13:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715357605; cv=pass; d=google.com; s=arc-20160816; b=AWSN/Wff2NoHLpeZQiJQjXKXlnG9oLtBM2JtGZOOt4/uF/o/otajIgE2UaYA3GgO+U ujNtcU44Q0KxV9hgcAl0HZhwfq597cKXlzdzCbl4fm9GL0qtoEZPT1sTpQ1D/3xQIpr3 rU9n90BVspFCU9AGMHtnCm4lNQvrOGw5Q8n0AhmFepR2v3SU/aJr6/SKwg3jmALTjnjz HwH7P6Wf1JQ/9XRxwinyepdvYHmTPG12zN+ptwuW/cUJwvE4NZTzNGnPBRHyX7/4nXZU PTBYAEj1oo/hTCWHugTj3C+P8NeFKDta7XsecI42uupJIZ+bsqRXswjCuLxLSKN5/YD4 NfDw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:message-id:user-agent:references :in-reply-to:subject:cc:to:from:date:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=5CyUO/lWUmIOiagtbr23f/ltEInIAOE3B8De8sNnwrE=; fh=hMh4WfLw7oL7BrmkH5bmlxY6aqiuSA0U5PY34/gBzSY=; b=JsorQdiaN+F3GKa1OVkf/ABMBLBehN3TKaUHVKjSgeOzwlDuL3a4AKD8JjdktqZclC k6cjxUCgyhof38ontCSu2ilQqmkkUQwRhTBwIJkGDlIdruvwA+4Yny/JkSuRN6/Qsq/9 3Xpk6VHphR8C/3jTLJAUigVD9ooWu9mhesjRzzBDxYs3o4r4nS7zx6RJ4gNplv4evFJ8 WjdcQpHq9dsa319Hf5jK8s21opMWv1iLLhI0heh9jLe9nUi6aywrrxZA5WYcV0M3dKNT UejzBq7kXkDblezELe6EjSJwkAwm3gvKRVsFPUryUeDpOM4vRi2hXNk9sc+IzRnm5zaN sNyw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qN84oVx6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175998-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175998-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-634103f69efsi4008252a12.309.2024.05.10.09.13.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 09:13:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175998-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qN84oVx6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175998-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175998-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 33B3A286A69 for ; Fri, 10 May 2024 16:13:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55FA3172BA7; Fri, 10 May 2024 16:13:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qN84oVx6" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.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 57EEF446BD; Fri, 10 May 2024 16:13:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715357596; cv=none; b=N535h7IcACBY/aasjQVbxYrQXN4uDrli8YHSNaUcwdnnTrjpPfNoYMGpVyDX3giUx8lmmZvmFWoJJqzWaGR43KE3785OhbKFwjNuamAbbNZnz5N8Ztjn/lyN9nnXBWRNEAbpg0zqVueXUbGWL9OL9a65AZkCM8FjgmpiW2tx2tg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715357596; c=relaxed/simple; bh=yXGrs/eTjT4agxaYblkMzIWYx2DuBXJA2AYYKw7Nb2w=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type; b=JT6G9pBWy45JdHF79lNHH83Ss7c6AbCm0YVsCgvQLI+/M3NmCOCzApNTclvgOwnHUJjYXfdv8k6ACRPkMepzSyUvgti1Wqd1t7HtfbNBuQbuy/hbLVZvNHTvThdyANNV0hDjyUsMjxa7jIM06sIiZXrcB37Pora9h7iByP07xVQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qN84oVx6; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23DF8C113CC; Fri, 10 May 2024 16:13:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715357596; bh=yXGrs/eTjT4agxaYblkMzIWYx2DuBXJA2AYYKw7Nb2w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qN84oVx6B94xCmFMUzOl4TqBCSsVnZwJWehYaf6faaRPOj5bLGuxebqXT5oq2R6Zk Xv9gNiKlkxGtiBod3Kezx5R4mwVwjH+86ODKuZJiptVpfdcydHFFkhq7WOoJ83SIlj BG9K/qus3XyPxLNj8B/FWHvVeXWKExFBrsPfzh0RTFcy/1HTIYgqeqqCYMnN8BZQQ/ 3uLFGoF3PKHeGCe2oRy6MGnfhmJIvasHeBZLxOTe+D2f8DzuRJ/lUIp7SVZI2PytJ9 JYjtFxPk9C2fH+S4nBbzp8QW6OPZ8nz3/+VP7qOsEQzeCZBjECZUsvfEHZh/j0uT8o 2M+k0oJvnrczg== Received: from disco-boy.misterjones.org ([217.182.43.188] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1s5Srx-00CG3e-NP; Fri, 10 May 2024 17:13:13 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Fri, 10 May 2024 17:13:13 +0100 From: Marc Zyngier To: Andrea della Porta Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Ulf Hansson , Adrian Hunter , Kamal Dasu , Al Cooper , Eric Anholt , Stefan Wahren , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org Subject: Re: [PATCH v2 4/4] arm64: dts: broadcom: Add support for BCM2712 In-Reply-To: <59a3015c3a6f2f0b70a38c030274a163773e7757.1715332922.git.andrea.porta@suse.com> References: <59a3015c3a6f2f0b70a38c030274a163773e7757.1715332922.git.andrea.porta@suse.com> User-Agent: Roundcube Webmail/1.4.15 Message-ID: <12363be5b11c752b7155cc0c416fdfd2@kernel.org> X-Sender: maz@kernel.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 217.182.43.188 X-SA-Exim-Rcpt-To: andrea.porta@suse.com, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, florian.fainelli@broadcom.com, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com, ulf.hansson@linaro.org, adrian.hunter@intel.com, kamal.dasu@broadcom.com, alcooperx@gmail.com, eric@anholt.net, wahrenst@gmx.net, devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false On 2024-05-10 15:35, Andrea della Porta wrote: > The BCM2712 SoC family can be found on Raspberry Pi 5. > Add minimal SoC and board (Rpi5 specific) dts file to be able to > boot from SD card and use console on debug UART. > > Signed-off-by: Andrea della Porta > --- > arch/arm64/boot/dts/broadcom/Makefile | 1 + > .../boot/dts/broadcom/bcm2712-rpi-5-b.dts | 62 ++++ > arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 302 ++++++++++++++++++ > 3 files changed, 365 insertions(+) > create mode 100644 arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts > create mode 100644 arch/arm64/boot/dts/broadcom/bcm2712.dtsi > [...] > + psci { > + method = "smc"; > + compatible = "arm,psci-1.0", "arm,psci-0.2", "arm,psci"; > + cpu_on = <0xc4000003>; > + cpu_suspend = <0xc4000001>; > + cpu_off = <0x84000002>; Please drop the PSCI function numbers. From PSCI-0.2, these are standard, and what is implemented is discoverable. > + }; > + [...] > + timer { > + compatible = "arm,armv8-timer"; > + interrupts = + IRQ_TYPE_LEVEL_LOW)>, > + + IRQ_TYPE_LEVEL_LOW)>, > + + IRQ_TYPE_LEVEL_LOW)>, > + + IRQ_TYPE_LEVEL_LOW)>; This is missing the EL2 virtual timer interrupt, as this is a VHE-capable system. > + /* This only applies to the ARMv7 stub */ > + arm,cpu-registers-not-fw-configured; Please drop this. It makes no sense on a modern platform. > + }; > +}; Thanks, M. -- Jazz is not dead. It just smells funny...