All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: linux-aspeed@lists.ozlabs.org
Subject: [PATCH v1 09/10] arm64: dts: aspeed: Add initial AST2700 EVB device tree
Date: Fri, 26 Jul 2024 13:16:59 +0200	[thread overview]
Message-ID: <79d13e65-ca4a-461f-9888-9664e204f2ed@kernel.org> (raw)
In-Reply-To: <20240726110355.2181563-10-kevin_chen@aspeedtech.com>

On 26/07/2024 13:03, Kevin Chen wrote:
> ---
>  arch/arm64/boot/dts/aspeed/Makefile        |  4 ++
>  arch/arm64/boot/dts/aspeed/ast2700-evb.dts | 50 ++++++++++++++++++++++
>  2 files changed, 54 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/aspeed/Makefile
>  create mode 100644 arch/arm64/boot/dts/aspeed/ast2700-evb.dts
> 
> diff --git a/arch/arm64/boot/dts/aspeed/Makefile b/arch/arm64/boot/dts/aspeed/Makefile
> new file mode 100644
> index 000000000000..ffe7e15017cc
> --- /dev/null
> +++ b/arch/arm64/boot/dts/aspeed/Makefile
> @@ -0,0 +1,4 @@
> +# SPDX-License-Identifier: GPL-2.0
> +
> +dtb-$(CONFIG_ARCH_ASPEED) += \
> +	ast2700-evb.dtb
> diff --git a/arch/arm64/boot/dts/aspeed/ast2700-evb.dts b/arch/arm64/boot/dts/aspeed/ast2700-evb.dts
> new file mode 100644
> index 000000000000..187c458e566b
> --- /dev/null
> +++ b/arch/arm64/boot/dts/aspeed/ast2700-evb.dts
> @@ -0,0 +1,50 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +
> +/dts-v1/;
> +
> +#include "aspeed-g7.dtsi"
> +#include <dt-bindings/gpio/aspeed-gpio.h>
> +
> +/ {
> +	model = "AST2700A1-EVB";
> +	compatible = "aspeed,ast2700a1-evb", "aspeed,ast2700";

You have never tested this.

Sorry, test your DTS first.

> +
> +	chosen {
> +		bootargs = "console=ttyS12,115200n8";

Drop.

> +		stdout-path = &uart12;
> +	};
> +
> +	firmware {
> +		optee: optee {
> +			compatible = "linaro,optee-tz";
> +			method = "smc";
> +		};
> +	};
> +
> +	memory at 400000000 {
> +		device_type = "memory";
> +		reg = <0x4 0x00000000 0x0 0x40000000>;
> +	};
> +
> +	reserved-memory {
> +		#address-cells = <2>;
> +		#size-cells = <2>;
> +		ranges;
> +
> +		mcu_fw: mcu-firmware at 42fe00000 {
> +			reg = <0x4 0x2fe00000 0x0 0x200000>;
> +			no-map;
> +		};
> +
> +		atf: trusted-firmware-a at 430000000 {
> +			reg = <0x4 0x30000000 0x0 0x80000>;
> +			no-map;
> +		};
> +
> +		optee_core: optee_core at 430080000 {

Read DTS coding style.

> +			reg = <0x4 0x30080000 0x0 0x1000000>;
> +			no-map;
> +		};
> +	};
> +};
> +

Remove stray blank line.

Best regards,
Krzysztof


WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Kevin Chen <kevin_chen@aspeedtech.com>,
	robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	joel@jms.id.au, andrew@codeconstruct.com.au, lee@kernel.org,
	catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de,
	olof@lixom.net, soc@kernel.org, mturquette@baylibre.com,
	sboyd@kernel.org, p.zabel@pengutronix.de,
	quic_bjorande@quicinc.com, geert+renesas@glider.be,
	dmitry.baryshkov@linaro.org, shawnguo@kernel.org,
	neil.armstrong@linaro.org, m.szyprowski@samsung.com,
	nfraprado@collabora.com, u-kumar1@ti.com,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,
	linux-clk@vger.kernel.org
Subject: Re: [PATCH v1 09/10] arm64: dts: aspeed: Add initial AST2700 EVB device tree
Date: Fri, 26 Jul 2024 13:16:59 +0200	[thread overview]
Message-ID: <79d13e65-ca4a-461f-9888-9664e204f2ed@kernel.org> (raw)
In-Reply-To: <20240726110355.2181563-10-kevin_chen@aspeedtech.com>

On 26/07/2024 13:03, Kevin Chen wrote:
> ---
>  arch/arm64/boot/dts/aspeed/Makefile        |  4 ++
>  arch/arm64/boot/dts/aspeed/ast2700-evb.dts | 50 ++++++++++++++++++++++
>  2 files changed, 54 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/aspeed/Makefile
>  create mode 100644 arch/arm64/boot/dts/aspeed/ast2700-evb.dts
> 
> diff --git a/arch/arm64/boot/dts/aspeed/Makefile b/arch/arm64/boot/dts/aspeed/Makefile
> new file mode 100644
> index 000000000000..ffe7e15017cc
> --- /dev/null
> +++ b/arch/arm64/boot/dts/aspeed/Makefile
> @@ -0,0 +1,4 @@
> +# SPDX-License-Identifier: GPL-2.0
> +
> +dtb-$(CONFIG_ARCH_ASPEED) += \
> +	ast2700-evb.dtb
> diff --git a/arch/arm64/boot/dts/aspeed/ast2700-evb.dts b/arch/arm64/boot/dts/aspeed/ast2700-evb.dts
> new file mode 100644
> index 000000000000..187c458e566b
> --- /dev/null
> +++ b/arch/arm64/boot/dts/aspeed/ast2700-evb.dts
> @@ -0,0 +1,50 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +
> +/dts-v1/;
> +
> +#include "aspeed-g7.dtsi"
> +#include <dt-bindings/gpio/aspeed-gpio.h>
> +
> +/ {
> +	model = "AST2700A1-EVB";
> +	compatible = "aspeed,ast2700a1-evb", "aspeed,ast2700";

You have never tested this.

Sorry, test your DTS first.

> +
> +	chosen {
> +		bootargs = "console=ttyS12,115200n8";

Drop.

> +		stdout-path = &uart12;
> +	};
> +
> +	firmware {
> +		optee: optee {
> +			compatible = "linaro,optee-tz";
> +			method = "smc";
> +		};
> +	};
> +
> +	memory@400000000 {
> +		device_type = "memory";
> +		reg = <0x4 0x00000000 0x0 0x40000000>;
> +	};
> +
> +	reserved-memory {
> +		#address-cells = <2>;
> +		#size-cells = <2>;
> +		ranges;
> +
> +		mcu_fw: mcu-firmware@42fe00000 {
> +			reg = <0x4 0x2fe00000 0x0 0x200000>;
> +			no-map;
> +		};
> +
> +		atf: trusted-firmware-a@430000000 {
> +			reg = <0x4 0x30000000 0x0 0x80000>;
> +			no-map;
> +		};
> +
> +		optee_core: optee_core@430080000 {

Read DTS coding style.

> +			reg = <0x4 0x30080000 0x0 0x1000000>;
> +			no-map;
> +		};
> +	};
> +};
> +

Remove stray blank line.

Best regards,
Krzysztof


  reply	other threads:[~2024-07-26 11:16 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-26 11:03 [PATCH v1 00/10] Introduce ASPEED AST27XX BMC SoC Kevin Chen
2024-07-26 11:09 ` Kevin Chen
2024-07-26 11:03 ` [PATCH v1 01/10] dt-binding: mfd: aspeed,ast2x00-scu: Add binding for ASPEED AST2700 SCU Kevin Chen
2024-07-26 11:09   ` Kevin Chen
2024-07-26 11:10   ` Krzysztof Kozlowski
2024-07-26 11:10     ` Krzysztof Kozlowski
2024-08-15  5:50     ` 回覆: " Kevin Chen
2024-08-15  5:50       ` Kevin Chen
2024-10-07 11:03       ` Krzysztof Kozlowski
2024-10-07 11:03         ` Krzysztof Kozlowski
2024-10-07 11:03         ` Krzysztof Kozlowski
2024-10-07 11:03           ` Krzysztof Kozlowski
2024-08-16  4:06     ` Kevin Chen
2024-08-16  4:06       ` Kevin Chen
2024-07-26 11:03 ` [PATCH v1 02/10] dt-binding: clk: ast2700: Add binding for Aspeed AST27xx Clock Kevin Chen
2024-07-26 11:09   ` Kevin Chen
2024-07-26 11:11   ` Krzysztof Kozlowski
2024-07-26 11:11     ` Krzysztof Kozlowski
2024-08-15  5:50     ` 回覆: " Kevin Chen
2024-08-15  5:50       ` Kevin Chen
2024-08-16  4:06     ` Kevin Chen
2024-08-16  4:06       ` Kevin Chen
2024-07-26 11:03 ` [PATCH v1 03/10] clk: ast2700: add clock controller Kevin Chen
2024-07-26 11:09   ` Kevin Chen
2024-07-26 11:13   ` Krzysztof Kozlowski
2024-07-26 11:13     ` Krzysztof Kozlowski
2024-08-15  5:50     ` 回覆: " Kevin Chen
2024-08-15  5:50       ` Kevin Chen
2024-08-16  4:06     ` Kevin Chen
2024-08-16  4:06       ` Kevin Chen
2024-07-26 11:03 ` [PATCH v1 04/10] dt-bindings: reset: ast2700: Add binding for ASPEED AST2700 Reset Kevin Chen
2024-07-26 11:09   ` Kevin Chen
2024-07-26 11:13   ` Krzysztof Kozlowski
2024-07-26 11:13     ` Krzysztof Kozlowski
2024-08-16  4:07     ` Kevin Chen
2024-08-16  4:07       ` Kevin Chen
2024-07-26 11:03 ` [PATCH v1 05/10] dt-bindings: arm: aspeed: Add maintainer Kevin Chen
2024-07-26 11:09   ` Kevin Chen
2024-07-26 11:14   ` Krzysztof Kozlowski
2024-07-26 11:14     ` Krzysztof Kozlowski
2024-08-15  5:50     ` 回覆: " Kevin Chen
2024-08-15  5:50       ` Kevin Chen
2024-08-16  4:07     ` Kevin Chen
2024-08-16  4:07       ` Kevin Chen
2024-07-26 11:03 ` [PATCH v1 06/10] dt-bindings: arm: aspeed: Add aspeed,ast2700-evb compatible string Kevin Chen
2024-07-26 11:09   ` Kevin Chen
2024-07-26 11:15   ` Krzysztof Kozlowski
2024-07-26 11:15     ` Krzysztof Kozlowski
2024-08-15  5:50     ` 回覆: " Kevin Chen
2024-08-15  5:50       ` Kevin Chen
2024-08-16  4:08     ` Kevin Chen
2024-08-16  4:08       ` Kevin Chen
2024-08-16  5:17       ` Krzysztof Kozlowski
2024-08-16  5:17         ` Krzysztof Kozlowski
2024-10-07  9:26         ` Kevin Chen
2024-10-07  9:26           ` Kevin Chen
2024-07-26 11:03 ` [PATCH v1 07/10] arm64: aspeed: Add support for ASPEED AST2700 BMC SoC Kevin Chen
2024-07-26 11:09   ` Kevin Chen
2024-07-26 11:16   ` Krzysztof Kozlowski
2024-07-26 11:16     ` Krzysztof Kozlowski
2024-08-15  5:51     ` 回覆: " Kevin Chen
2024-08-15  5:51       ` Kevin Chen
2024-08-16  4:07     ` Kevin Chen
2024-08-16  4:07       ` Kevin Chen
2024-07-26 11:03 ` [PATCH v1 08/10] arm64: dts: aspeed: Add initial AST27XX device tree Kevin Chen
2024-07-26 11:09   ` Kevin Chen
2024-07-26 11:19   ` Krzysztof Kozlowski
2024-07-26 11:19     ` Krzysztof Kozlowski
2024-08-15  5:50     ` 回覆: " Kevin Chen
2024-08-15  5:50       ` Kevin Chen
2024-08-16  5:08       ` Krzysztof Kozlowski
2024-08-16  5:08         ` Krzysztof Kozlowski
2024-10-07  9:26         ` Kevin Chen
2024-10-07  9:26           ` Kevin Chen
2024-10-07 11:05           ` Krzysztof Kozlowski
2024-10-07 11:05             ` Krzysztof Kozlowski
2024-08-16  4:07     ` Kevin Chen
2024-08-16  4:07       ` Kevin Chen
2024-07-26 11:03 ` [PATCH v1 09/10] arm64: dts: aspeed: Add initial AST2700 EVB " Kevin Chen
2024-07-26 11:09   ` Kevin Chen
2024-07-26 11:16   ` Krzysztof Kozlowski [this message]
2024-07-26 11:16     ` Krzysztof Kozlowski
2024-08-15  5:50     ` 回覆: " Kevin Chen
2024-08-15  5:50       ` Kevin Chen
2024-08-16  4:07     ` Kevin Chen
2024-08-16  4:07       ` Kevin Chen
2024-07-26 11:03 ` [PATCH v1 10/10] arm64: defconfig: Add ASPEED AST2700 family support Kevin Chen
2024-07-26 11:09   ` Kevin Chen
2024-07-26 13:09 ` [PATCH v1 00/10] Introduce ASPEED AST27XX BMC SoC Rob Herring
2024-07-26 13:09   ` Rob Herring (Arm)
2024-07-26 13:33   ` Krzysztof Kozlowski
2024-07-26 13:33     ` Krzysztof Kozlowski
2024-08-15  5:50     ` 回覆: " Kevin Chen
2024-08-15  5:50       ` Kevin Chen
2024-08-16  4:06     ` Kevin Chen
2024-08-16  4:06       ` Kevin Chen

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=79d13e65-ca4a-461f-9888-9664e204f2ed@kernel.org \
    --to=krzk@kernel.org \
    --cc=linux-aspeed@lists.ozlabs.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.