From mboxrd@z Thu Jan 1 00:00:00 1970 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 D41212D97A5; Mon, 12 Jan 2026 11:48:24 +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=1768218504; cv=none; b=b7W3NxPOJFi2oJMMte/zzQfHBGAT7tgrbXGxUtf6EZ/Q5pMpvQDH4dMwS8ELOxe35SEOISth7JEAGevekD/5lKxNG8G29vDDJxEHnmXJxTjkE+9B4uzZiQi+YRoKwrGjwYGa03QeUqBN1x7TJps8o1IkIT0I3yXlKM+W6CkfOaI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768218504; c=relaxed/simple; bh=URDluMm2oQAGrABVnCxy8FFxRYxGizv+hrewS1N56j8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RTg7FhUMLDYanY8fOF+dDDw2zIQuHjdm7abICMSixFHGtYtAbhd94K6zORVyQAOvDGSplIIPDh2fgQ9VL9LJZZMT0JqjDxt/XP6qae/WuuNvHWZHnKKRrhgN/9ePRxg2t0TidSVmPz5jUG0pq3A0xSdktcUARPD0nTigZznBQ2k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cRdLqqmk; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cRdLqqmk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04067C16AAE; Mon, 12 Jan 2026 11:48:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768218504; bh=URDluMm2oQAGrABVnCxy8FFxRYxGizv+hrewS1N56j8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cRdLqqmkPFRspZ/V5pmAzefvbhoMTp69aXHe94XB9hlP26X/Q560gdoGe5WtaHqN9 2lyRZ4RqBvpFsbOq57qa1xLl70Kxefkzjj1vv85Kdf/nPTo/uQJXNyVSTDY1YSFm36 nsvdHPdwaK7P6xEcyZdmiBzTvsdJZcL4goRAKqApa5T0CVHFDaNdamchF2IPw2mDqf M+TFPOMB6gN9jZ3DSMIDO5bKMM9YzQqk7zHjE7hrw5TywWdpXcK42KU077Zrwb7HoZ zC+5R3G53xBx5knYNveWEElodIzbh3urfSz7Y5tRWbZb1XVLamUnN7M6BeulZRFUhz C0GChan0K58Vw== Date: Mon, 12 Jan 2026 12:48:22 +0100 From: Krzysztof Kozlowski To: Anirudh Srinivasan 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 Subject: Re: [PATCH 2/2] ARM: dts: aspeed: Add Asus IPMI card Message-ID: <20260112-upbeat-gay-chachalaca-ecb74c@quoll> References: <20260111201040.162880-1-anirudhsriniv@gmail.com> <20260111201040.162880-3-anirudhsriniv@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20260111201040.162880-3-anirudhsriniv@gmail.com> On Sun, Jan 11, 2026 at 02:10:32PM -0600, Anirudh Srinivasan wrote: > Add device tree for Asus IPMI card, an AST2600 BMC PCIe card > > Signed-off-by: Anirudh Srinivasan > --- > arch/arm/boot/dts/aspeed/Makefile | 1 + > .../dts/aspeed/aspeed-bmc-asus-ipmi-card.dts | 136 ++++++++++++++++++ > 2 files changed, 137 insertions(+) > create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-asus-ipmi-card.dts > > diff --git a/arch/arm/boot/dts/aspeed/Makefile b/arch/arm/boot/dts/aspeed/Makefile > index 9adf9278dc94..ff40d9ab88b7 100644 > --- a/arch/arm/boot/dts/aspeed/Makefile > +++ b/arch/arm/boot/dts/aspeed/Makefile > @@ -15,6 +15,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ > aspeed-bmc-asrock-spc621d8hm3.dtb \ > aspeed-bmc-asrock-x570d4u.dtb \ > aspeed-bmc-asus-x4tf.dtb \ > + aspeed-bmc-asus-ipmi-card.dtb \ > aspeed-bmc-bytedance-g220a.dtb \ > aspeed-bmc-delta-ahe50dc.dtb \ > aspeed-bmc-facebook-bletchley.dtb \ > diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-asus-ipmi-card.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-asus-ipmi-card.dts > new file mode 100644 > index 000000000000..fea94360245c > --- /dev/null > +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-asus-ipmi-card.dts > @@ -0,0 +1,136 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > +// Copyright 2025 Anirudh Srinivasan > + > +/dts-v1/; > + > +#include "aspeed-g6.dtsi" > +#include "aspeed-g6-pinctrl.dtsi" > +#include > +#include > + > +/ { > + model = "ASUS IPMI Card BMC"; > + compatible = "asus,ipmi-card-bmc", "aspeed,ast2600"; > + > + aliases { > + serial4 = &uart5; > + }; > + > + chosen { > + stdout-path = "serial4:115200n8"; > + }; > + > + memory@80000000 { > + device_type = "memory"; > + reg = <0x80000000 0x40000000>; > + }; > + > + reserved-memory { > + #address-cells = <1>; > + #size-cells = <1>; > + ranges; > + > + video_engine_memory: video { > + size = <0x04000000>; > + alignment = <0x01000000>; > + compatible = "shared-dma-pool"; > + reusable; > + }; > + }; > + > + leds { > + compatible = "gpio-leds"; > + > + led-fault { > + gpios = <&gpio1 ASPEED_GPIO(C, 5) GPIO_ACTIVE_HIGH>; > + panic-indicator; > + default-state = "off"; Missing color and function. Or at least label. > + }; > + > + led-heartbeat { > + gpios = <&gpio0 ASPEED_GPIO(A, 7) GPIO_ACTIVE_LOW>; > + linux,default-trigger = "timer"; > + }; > + Drop redundant blank lines. > + }; > +}; > + > +&mdio2 { > + status = "okay"; > + > + ethphy2: ethernet-phy@0 { > + compatible = "ethernet-phy-ieee802.3-c22"; > + reg = <0>; > + }; > +}; > + > +&mac2 { > + status = "okay"; > + > + /* Bootloader sets up the MAC to insert delay */ > + phy-mode = "rgmii"; > + phy-handle = <ðphy2>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_rgmii3_default>; > +}; > + > + Like this as well. It's a sign of sloppy coding. > +&fmc { > + status = "okay"; > + > + flash@0 { > + status = "okay"; > + m25p,fast-read; > + label = "bmc"; > + spi-max-frequency = <50000000>; > +#include "openbmc-flash-layout-64.dtsi" > + }; > +}; Best regards, Krzysztof