From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C317C46CCB for ; Tue, 14 Nov 2023 23:12:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234129AbjKNXMk (ORCPT ); Tue, 14 Nov 2023 18:12:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230162AbjKNWzn (ORCPT ); Tue, 14 Nov 2023 17:55:43 -0500 Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [IPv6:2605:2700:0:5::4713:9cab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6A4DD0; Tue, 14 Nov 2023 14:55:39 -0800 (PST) Received: from hatter.bewilderbeest.net (unknown [IPv6:2602:61:7e5d:5300::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id 6FC24674; Tue, 14 Nov 2023 14:55:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1700002539; bh=qaYU2IGMX1lsBoaugoYAT/ndPiiRSEGxP3R5Evh8Msw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WJkJyXJEZtlDmqI29zqijW0seV4wA4tzePyRVk4ckQDIrzNRIKBXGeWisF38spT6l +SQpfwWG41J1UVLsEvV8RQCDSRIhGkrcrLcQwW/Saa/GicltsB021dvTR4X3cJQgLz SRFJdfSF9y/e6mK0L4xoAhcVUErf1RcWyP8o9bwI= Date: Tue, 14 Nov 2023 14:55:38 -0800 From: Zev Weiss To: Krzysztof Kozlowski Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org Subject: Re: [PATCH 2/2] ARM: dts: aspeed: Add ASRock E3C256D4I BMC Message-ID: References: <20231114112722.28506-4-zev@bewilderbeest.net> <20231114112722.28506-6-zev@bewilderbeest.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 14, 2023 at 02:37:10PM PST, Zev Weiss wrote: >On Tue, Nov 14, 2023 at 12:35:37PM PST, Krzysztof Kozlowski wrote: >>On 14/11/2023 12:27, Zev Weiss wrote: >>>Like the E3C246D4I, this is a reasonably affordable off-the-shelf >>>mini-ITX AST2500/Xeon motherboard with good potential as an OpenBMC >>>development platform. Booting the host requires a modicum of eSPI >>>support that's not yet in the mainline kernel, but most other basic >>>BMC functionality is available with this device-tree. >>> >>>Signed-off-by: Zev Weiss >>>--- >>> arch/arm/boot/dts/aspeed/Makefile | 1 + >>> .../aspeed/aspeed-bmc-asrock-e3c256d4i.dts | 314 ++++++++++++++++++ >>> 2 files changed, 315 insertions(+) >>> create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-e3c256d4i.dts >>> >>>diff --git a/arch/arm/boot/dts/aspeed/Makefile b/arch/arm/boot/dts/aspeed/Makefile >>>index d3ac20e316d0..3398ee53f034 100644 >>>--- a/arch/arm/boot/dts/aspeed/Makefile >>>+++ b/arch/arm/boot/dts/aspeed/Makefile >>>@@ -9,6 +9,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ >>> aspeed-bmc-ampere-mtmitchell.dtb \ >>> aspeed-bmc-arm-stardragon4800-rep2.dtb \ >>> aspeed-bmc-asrock-e3c246d4i.dtb \ >>>+ aspeed-bmc-asrock-e3c256d4i.dtb \ >>> aspeed-bmc-asrock-romed8hm3.dtb \ >>> aspeed-bmc-bytedance-g220a.dtb \ >>> aspeed-bmc-delta-ahe50dc.dtb \ >>>diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-e3c256d4i.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-e3c256d4i.dts >>>new file mode 100644 >>>index 000000000000..4c55272afd4f >>>--- /dev/null >>>+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-e3c256d4i.dts >>>@@ -0,0 +1,314 @@ >>>+// SPDX-License-Identifier: GPL-2.0+ >>>+/dts-v1/; >>>+ >>>+#include "aspeed-g5.dtsi" >>>+#include >>>+#include >>>+#include >>>+#include >>>+ >>>+/{ >>>+ model = "ASRock E3C256D4I BMC"; >>>+ compatible = "asrock,e3c256d4i-bmc", "aspeed,ast2500"; >>>+ >>>+ aliases { >>>+ serial4 = &uart5; >>>+ >>>+ i2c20 = &i2c2mux0ch0; >>>+ i2c21 = &i2c2mux0ch1; >>>+ i2c22 = &i2c2mux0ch2; >>>+ i2c23 = &i2c2mux0ch3; >>>+ }; >>>+ >>>+ chosen { >>>+ stdout-path = &uart5; >>>+ bootargs = "console=tty0 console=ttyS4,115200 earlycon"; >> >>Drop bootargs. >> > >Ack. > >>>+ }; >>>+ >>>+ memory@80000000 { >>>+ reg = <0x80000000 0x20000000>; >>>+ }; >>>+ >>>+ leds { >>>+ compatible = "gpio-leds"; >>>+ >>>+ heartbeat { >> >>It does not look like you tested the DTS against bindings. Please run >>`make dtbs_check W=1` (see >>Documentation/devicetree/bindings/writing-schema.rst or >>https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/ >>for instructions). >> > >As with my spc621d8hm3 dts patch, I did run that and got no output, so >if there are other specific problems please let me know what they are. > Whoops, and of course now I realize I also sent the first reply to this thread instead of the spc621d8hm3 one... Zev