devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Vincenzo Frascino <vincenzo.frascino@arm.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Sudeep Holla <sudeep.holla@arm.com>, Rob Herring <robh@kernel.org>
Subject: Re: [PATCH 4/8] arm64: dts: morello: Add support for soc dts
Date: Sat, 14 Dec 2024 11:12:58 +0100	[thread overview]
Message-ID: <c01fab26-876f-4ffa-9360-c6746bbb467e@kernel.org> (raw)
In-Reply-To: <20241213163221.3626261-5-vincenzo.frascino@arm.com>

On 13/12/2024 17:32, Vincenzo Frascino wrote:
> The Morello architecture is an experimental extension to Armv8.2-A,
> which extends the AArch64 state with the principles proposed in
> version 7 of the Capability Hardware Enhanced RISC Instructions
> (CHERI) ISA.
> 
> Introduce Morello SoC dts.

So Morello is an architecture, not a board or platform? You cannot have
both...




> 
> Cc: Sudeep Holla <sudeep.holla@arm.com>
> Cc: Rob Herring <robh@kernel.org>
> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
> ---
>  arch/arm64/boot/dts/arm/morello-soc.dts | 267 ++++++++++++++++++++++++
>  1 file changed, 267 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/arm/morello-soc.dts
> 
> diff --git a/arch/arm64/boot/dts/arm/morello-soc.dts b/arch/arm64/boot/dts/arm/morello-soc.dts
> new file mode 100644
> index 000000000000..3c5247121e4d
> --- /dev/null
> +++ b/arch/arm64/boot/dts/arm/morello-soc.dts
> @@ -0,0 +1,267 @@
> +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
> +/*
> + * Copyright (c) 2021-2024, Arm Limited. All rights reserved.
> +
> + */
> +
> +/dts-v1/;
> +#include "morello.dtsi"
> +
> +/ {
> +	model = "Arm Morello System Development Platform";
> +
> +	chosen {
> +		stdout-path = "serial0:115200n8";
> +	};
> +
> +	reserved-memory {
> +		#address-cells = <2>;
> +		#size-cells = <2>;
> +		ranges;
> +
> +		secure-firmware@ff000000 {
> +			reg = <0 0xff000000 0 0x01000000>;
> +			no-map;
> +		};
> +	};
> +
> +	cpus {
> +		#address-cells = <2>;
> +		#size-cells = <0>;
> +		cpu0: cpu0@0 {
> +			compatible = "arm,neoverse-n1";
> +			reg = <0x0 0x0>;
> +			device_type = "cpu";
> +			enable-method = "psci";
> +			clocks = <&scmi_dvfs 0>;
> +		};
> +		cpu1: cpu1@100 {
> +			compatible = "arm,neoverse-n1";
> +			reg = <0x0 0x100>;
> +			device_type = "cpu";
> +			enable-method = "psci";
> +			clocks = <&scmi_dvfs 0>;
> +		};
> +		cpu2: cpu2@10000 {
> +			compatible = "arm,neoverse-n1";
> +			reg = <0x0 0x10000>;
> +			device_type = "cpu";
> +			enable-method = "psci";
> +			clocks = <&scmi_dvfs 1>;
> +		};
> +		cpu3: cpu3@10100 {
> +			compatible = "arm,neoverse-n1";
> +			reg = <0x0 0x10100>;
> +			device_type = "cpu";
> +			enable-method = "psci";
> +			clocks = <&scmi_dvfs 1>;
> +		};
> +	};
> +
> +	/* The first bank of memory, memory map is actually provided by UEFI. */
> +	memory@80000000 {
> +		device_type = "memory";
> +		/* [0x80000000-0xffffffff] */
> +		reg = <0x00000000 0x80000000 0x0 0x7F000000>;
> +	};
> +
> +	memory@8080000000 {
> +		device_type = "memory";
> +		/* [0x8080000000-0x83f7ffffff] */
> +		reg = <0x00000080 0x80000000 0x3 0x78000000>;
> +	};
> +
> +	smmu_pcie: iommu@4f400000 {

This all is weird. MMIO nodes outside of soc, soc pieces defined in DTS
instead of DTSI.

Please look first how all other DTS and DTSI are done. Also carefully
read DTS coding style.



Best regards,
Krzysztof

  reply	other threads:[~2024-12-14 10:13 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-13 16:32 [PATCH 0/8] arm64: dts: Add Arm Morello support Vincenzo Frascino
2024-12-13 16:32 ` [PATCH 1/8] dt-bindings: arm: Add Morello compatibility Vincenzo Frascino
2024-12-14 10:08   ` Krzysztof Kozlowski
2024-12-19 15:07     ` Vincenzo Frascino
2024-12-19 15:25       ` Krzysztof Kozlowski
2024-12-19 15:38         ` Vincenzo Frascino
2024-12-13 16:32 ` [PATCH 2/8] dt-bindings: mailbox: arm,mhu: Add missing properties Vincenzo Frascino
2024-12-14 10:10   ` Krzysztof Kozlowski
2024-12-19 15:13     ` Vincenzo Frascino
2024-12-19 15:26       ` Krzysztof Kozlowski
2024-12-19 17:06         ` Vincenzo Frascino
2024-12-13 16:32 ` [PATCH 3/8] arm64: dts: morello: Add support for common functionalities Vincenzo Frascino
2024-12-14 10:11   ` Krzysztof Kozlowski
2024-12-19 17:16     ` Vincenzo Frascino
2024-12-13 16:32 ` [PATCH 4/8] arm64: dts: morello: Add support for soc dts Vincenzo Frascino
2024-12-14 10:12   ` Krzysztof Kozlowski [this message]
2024-12-19 17:20     ` Vincenzo Frascino
2024-12-13 16:32 ` [PATCH 5/8] arm64: Introduce Arm Morello System Development Platform Vincenzo Frascino
2024-12-14 10:13   ` Krzysztof Kozlowski
2024-12-19 17:21     ` Vincenzo Frascino
2024-12-13 16:32 ` [PATCH 6/8] arm64: dts: Add Arm Morello System Development Platform support Vincenzo Frascino
2024-12-14 10:14   ` Krzysztof Kozlowski
2024-12-19 17:31     ` Vincenzo Frascino
2024-12-13 16:32 ` [PATCH 7/8] arm64: Enable " Vincenzo Frascino
2024-12-13 16:32 ` [PATCH 8/8] MAINTAINERS: Add Vincenzo Frascino as Arm Morello Maintainer Vincenzo Frascino
2024-12-14 10:19   ` Krzysztof Kozlowski
2024-12-19 17:45     ` Vincenzo Frascino
2024-12-21 20:07       ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c01fab26-876f-4ffa-9360-c6746bbb467e@kernel.org \
    --to=krzk@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sudeep.holla@arm.com \
    --cc=vincenzo.frascino@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).