From nobody Sun Feb 8 17:03:33 2026 Received: from fhigh-b5-smtp.messagingengine.com (fhigh-b5-smtp.messagingengine.com [202.12.124.156]) (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 D3CBC31327C; Thu, 11 Dec 2025 13:37:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.156 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765460267; cv=none; b=nuhJBq+5me+o1tRWQNFUtR2fNVM2fUU+9yhGpdxUSvbiFW/RMPMHUqrFGBeuo3hmRmBTQO1ghA5S1NZRpj4vFLRV4+jAbwyRf/IgQllsCXFJb+fxxuWhxZCHtEqckN7GQPj8xtU+uuLyPXzqytwksxeb9qJNJ5WN1W9dh+CSfeQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765460267; c=relaxed/simple; bh=2/2WkfsoGxLsB8LG64kKKZ/WJrEP4qcsCTpesjL/qeg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=adAwg8OkziaKcXVv+DYMF3Yd35RoDkU3RuUy52uT/PimSwqwM9h+nowBSHFqEKvInbQ/KAoSrOsEqqKmJIITWByViF1VriJ+K9By57c9ldjRTli2x9wGWEj3Es0lDcMyxzS3TDTYBBuRzjfDHkZMmDQUDrF2x+FN+CBIDvm8vZQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bsdio.com; spf=fail smtp.mailfrom=bsdio.com; dkim=pass (2048-bit key) header.d=bsdio.com header.i=@bsdio.com header.b=o82a1GFu; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=ikPmmeRB; arc=none smtp.client-ip=202.12.124.156 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bsdio.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=bsdio.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bsdio.com header.i=@bsdio.com header.b="o82a1GFu"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="ikPmmeRB" Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.stl.internal (Postfix) with ESMTP id 40E477A0140; Thu, 11 Dec 2025 08:37:42 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Thu, 11 Dec 2025 08:37:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1765460262; x= 1765546662; bh=zA5C5PNW0/uFa37xkLqcgZ6/TZ5xC7fDMBu4P7YKTz4=; b=o 82a1GFuLupdi2f3DTNtDSHpDK/z4t0s0WgGt/7mZI7mld2Jsm5n+VPZS15R6/CpI habdwW7aZtZHS4z8uWuHoqpMEsbA3lgXKFiV/soZ8FE9Caq8vcX77TPvTh2w+5Wm 1Qdx5OIJtrKXtVOQC7XDtFfErtcI97N4sqccZwSE4WWCQJ2uRstNvO1t3FcubTXC NLEjEjyuZkQE2IgP28TEmVLFwrEesg7y5xUTb2F5Nb54oRi5GBcQfGUcP8oDi8zH /ZcGDiQuoVNub+W1aQQITBQ0FPqOlp8pntCIUOZsOPM6sbfUHtOlxxL9PZS+rM5y Ql2A/2p+fAu2jK+mIZsMQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1765460262; x=1765546662; bh=z A5C5PNW0/uFa37xkLqcgZ6/TZ5xC7fDMBu4P7YKTz4=; b=ikPmmeRBuksPJ7t73 0XKq3myvQGmH9nND3o5Lwsq5d7q2jkBulKx/MA+aOLxWKdBudG1iHYnFqibJ9PA5 AD7bs5G5oQrZmRccokvhfEXPYaCd2NMnKGtPc+awUA5Q99qCd/mRcrRL24kaG41H 7ZcWjZHe3GtwXA+U5LuTXvsKo/PLUQXZGMhkSSB0ugColy78sahnydFJTMfBYIZR OyRbNmVNwnjIiJuXcqkI9Tq3KuPu/yFzGPDFllBn9VhD/S7+OWnyYdLZrxhV5DiH wJOFRsqdgUn7KoBlpVZjDwvFYRPNuslSim4FE0HTDuLwNBgNzjHDSfg9riRjgzXc r1fyQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvheeghecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeftvggsvggttggr ucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtohhmqeenucggtffrrghtthgvrh hnpeegffeuueelvdeggfdvvdfgtedvudfhfeekudekieektddukeefteetieefvdelfeen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrvggsvg gttggrsegsshguihhordgtohhmpdhnsggprhgtphhtthhopeduvddpmhhouggvpehsmhht phhouhhtpdhrtghpthhtoheprhhosghhsehkvghrnhgvlhdrohhrghdprhgtphhtthhope hkrhiikhdoughtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegtohhnohhrodguthes khgvrhhnvghlrdhorhhgpdhrtghpthhtohepjhhovghlsehjmhhsrdhiugdrrghupdhrtg hpthhtoheprghnughrvgifsegtohguvggtohhnshhtrhhutghtrdgtohhmrdgruhdprhgt phhtthhopeguvghvihgtvghtrhgvvgesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtph htthhopehlihhnuhigqdgrrhhmqdhkvghrnhgvlheslhhishhtshdrihhnfhhrrgguvggr ugdrohhrghdprhgtphhtthhopehlihhnuhigqdgrshhpvggvugeslhhishhtshdrohiilh grsghsrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgv rhhnvghlrdhorhhg X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 11 Dec 2025 08:37:40 -0500 (EST) From: Rebecca Cran To: 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 Cc: Rebecca Cran , Billy Tsai , Conor Dooley Subject: [PATCH v4 1/2] dt-bindings: arm: aspeed: add ASRock Rack ALTRAD8 board Date: Thu, 11 Dec 2025 06:37:18 -0700 Message-ID: <20251211133721.18269-2-rebecca@bsdio.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251211133721.18269-1-rebecca@bsdio.com> References: <20251211133721.18269-1-rebecca@bsdio.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Document ASRock Rack ALTRAD8 (ALTRAD8UD-1L2T and ALTRAD8UD2-1L2Q) compatibles. Signed-off-by: Rebecca Cran Acked-by: Conor Dooley --- Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml b/Doc= umentation/devicetree/bindings/arm/aspeed/aspeed.yaml index 9298c1a75dd1..aefad2d02993 100644 --- a/Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +++ b/Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml @@ -34,6 +34,7 @@ properties: - amd,ethanolx-bmc - ampere,mtjade-bmc - aspeed,ast2500-evb + - asrock,altrad8-bmc - asrock,e3c246d4i-bmc - asrock,e3c256d4i-bmc - asrock,romed8hm3-bmc --=20 2.47.3 From nobody Sun Feb 8 17:03:33 2026 Received: from fout-b4-smtp.messagingengine.com (fout-b4-smtp.messagingengine.com [202.12.124.147]) (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 DB1F53126A6; Thu, 11 Dec 2025 13:37:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.147 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765460267; cv=none; b=qxkY95d2ULbKWKJmT5MCMZXdUkj75mHnxJJeU51DSHsAaqQsEbwsJJ/j9RkYOcrvklYoRbuva8SEbLv1ZrHC+BgLAG7gudcZqd5OzRWleyJ7BF1aZiHeX4NfqbHvHxlhtThD6fsjr11UikhEH/6RTQ9PmjzNhSV1IJ610AbbNzk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765460267; c=relaxed/simple; bh=5hbIZlStF2IjAR/TJFuySEflhaJG3DenwO9lqVvzgh0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Pv2Y906K8ITvhOETSHfl/0KpvxyQLBNkmIMk6kU4sw7xKaaXJ2Zq2fvXDN0cCpAIPz97XWHWu/0vXP2QVun1oc8ZBEwkXVhXZeVtk1gbVe2X2yNURmW7CcUFJihsWCF8EhMVN4RQMijg+1i5z2QZI7qMrS4VI6r/946sNI3KX4M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bsdio.com; spf=fail smtp.mailfrom=bsdio.com; dkim=pass (2048-bit key) header.d=bsdio.com header.i=@bsdio.com header.b=rrpUVZIY; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=ZS66n9XF; arc=none smtp.client-ip=202.12.124.147 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bsdio.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=bsdio.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bsdio.com header.i=@bsdio.com header.b="rrpUVZIY"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="ZS66n9XF" Received: from phl-compute-07.internal (phl-compute-07.internal [10.202.2.47]) by mailfout.stl.internal (Postfix) with ESMTP id E58CA1D000D0; Thu, 11 Dec 2025 08:37:43 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-07.internal (MEProxy); Thu, 11 Dec 2025 08:37:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1765460263; x= 1765546663; bh=YDceBH4BViHEy/78S001Ju24tMF2FgRpdav14uUzDD4=; b=r rpUVZIY6ui6gWcdjeNDPklKyZfS+2Qk1qFYUslXhvDoLzVN9F+hlWqJKa1Z5wouO tJCcB7oOhEle/NXX2l/LhWN7doC26QGACbmz1P9yIoH/71ZbFmjISttbx77SevBU +dkA/ykm887L7XKiz+Z4x3CISWTgFaaHm6TkxMISkAmJd2Oc4i5beQdIMd0htrpQ datkB2J+AEqLuLltjy9omaAi8G3kyZo6NRVBeuXgI3Cksm+uLkXEIIAlZitUlq3F LLe4tEHaheaTWTlz8WVjW5+dka6NZaM+KEs8m8J64DmXPJpGYQ6wlsmFafJ3oswB C4tmaSXXaV0nIeqmcQP3w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1765460263; x=1765546663; bh=Y DceBH4BViHEy/78S001Ju24tMF2FgRpdav14uUzDD4=; b=ZS66n9XFKkVoZZTa0 DGvLdueOYiwcuFjNKsSxvGcLeHHH2yVr1Ac4QaPeBo5zez6F9F68icO1j/6Q1urA uLM8kmB9mOrAi6pZal+4GUFXCXpAgRUk4UewGQU/EHLc9cuds87vLQGuo3lCSll/ 2ss3VqRrLjgUIpvWgtIKIb0MwzDqoy97dqt88zHyYD+NYgak3n7muM9qbPVYQU6G AEnrri1WeXrx3IEApEWyYW0mKoS1ES+h+Mak/6zD9rRhxBb5jvUvy94pS7eKixmi HSjNnUeJP4WG6Iuddm3ILrx1Sv/1zCeJdTm1Fe4LyDeemdE9LSrOxocNoyCZShNH Vz4tA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvheeghecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeftvggsvggttggr ucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtohhmqeenucggtffrrghtthgvrh hnpeegffeuueelvdeggfdvvdfgtedvudfhfeekudekieektddukeefteetieefvdelfeen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrvggsvg gttggrsegsshguihhordgtohhmpdhnsggprhgtphhtthhopeduuddpmhhouggvpehsmhht phhouhhtpdhrtghpthhtoheprhhosghhsehkvghrnhgvlhdrohhrghdprhgtphhtthhope hkrhiikhdoughtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegtohhnohhrodguthes khgvrhhnvghlrdhorhhgpdhrtghpthhtohepjhhovghlsehjmhhsrdhiugdrrghupdhrtg hpthhtoheprghnughrvgifsegtohguvggtohhnshhtrhhutghtrdgtohhmrdgruhdprhgt phhtthhopeguvghvihgtvghtrhgvvgesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtph htthhopehlihhnuhigqdgrrhhmqdhkvghrnhgvlheslhhishhtshdrihhnfhhrrgguvggr ugdrohhrghdprhgtphhtthhopehlihhnuhigqdgrshhpvggvugeslhhishhtshdrohiilh grsghsrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgv rhhnvghlrdhorhhg X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 11 Dec 2025 08:37:42 -0500 (EST) From: Rebecca Cran To: 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 Cc: Rebecca Cran , Billy Tsai Subject: [PATCH v4 2/2] ARM: dts: aspeed: add device tree for ASRock Rack ALTRAD8 BMC Date: Thu, 11 Dec 2025 06:37:19 -0700 Message-ID: <20251211133721.18269-3-rebecca@bsdio.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251211133721.18269-1-rebecca@bsdio.com> References: <20251211133721.18269-1-rebecca@bsdio.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The ALTRAD8 BMC is an Aspeed AST2500-based BMC for the ASRock Rack ALTRAD8UD-1L2T and ALTRAD8UD2-1L2Q boards. Signed-off-by: Rebecca Cran --- arch/arm/boot/dts/aspeed/Makefile | 1 + arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-altrad8.dts | 625 +++++++++++++= +++++++ 2 files changed, 626 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/Makefile b/arch/arm/boot/dts/aspeed/M= akefile index 9adf9278dc94..f073f126ddac 100644 --- a/arch/arm/boot/dts/aspeed/Makefile +++ b/arch/arm/boot/dts/aspeed/Makefile @@ -9,6 +9,7 @@ dtb-$(CONFIG_ARCH_ASPEED) +=3D \ aspeed-bmc-ampere-mtjefferson.dtb \ aspeed-bmc-ampere-mtmitchell.dtb \ aspeed-bmc-arm-stardragon4800-rep2.dtb \ + aspeed-bmc-asrock-altrad8.dtb \ aspeed-bmc-asrock-e3c246d4i.dtb \ aspeed-bmc-asrock-e3c256d4i.dtb \ aspeed-bmc-asrock-romed8hm3.dtb \ diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-altrad8.dts b/arch/= arm/boot/dts/aspeed/aspeed-bmc-asrock-altrad8.dts new file mode 100644 index 000000000000..b60046fd214b --- /dev/null +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-altrad8.dts @@ -0,0 +1,625 @@ +// SPDX-License-Identifier: GPL-2.0+ +/dts-v1/; + +#include "aspeed-g5.dtsi" +#include +#include +#include + +/ { + model =3D "ASRock ALTRAD8 BMC"; + compatible =3D "asrock,altrad8-bmc", "aspeed,ast2500"; + + aliases { + serial4 =3D &uart5; + i2c50 =3D &nvme1; + i2c51 =3D &pcie4; + i2c52 =3D &pcie5; + i2c53 =3D &pcie6; + i2c54 =3D &pcie7; + i2c55 =3D &nvme3; + i2c56 =3D &nvme2; + i2c57 =3D &nvme0; + i2c58 =3D &nvme4; + i2c59 =3D &nvme5; + i2c60 =3D &nvme6; + i2c61 =3D &nvme7; + i2c62 =3D &nvme8; + i2c63 =3D &nvme9; + i2c64 =3D &nvme10; + i2c65 =3D &nvme11; + }; + + chosen { + stdout-path =3D "uart5:115200n8"; + }; + + iio-hwmon { + compatible =3D "iio-hwmon"; + io-channels =3D <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, + <&adc 4> ,<&adc 5>, <&adc 6>, <&adc 7>, + <&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>, + <&adc 12>, <&adc 13>, <&adc 14>, <&adc 15>; + }; + + leds { + compatible =3D "gpio-leds"; + + led-system-fault { + gpios =3D <&gpio ASPEED_GPIO(G,3) GPIO_ACTIVE_LOW>; + label =3D "platform:red:fault"; + color =3D ; + function =3D LED_FUNCTION_FAULT; + }; + + led-heartbeat { + gpios =3D <&gpio ASPEED_GPIO(G,0) GPIO_ACTIVE_LOW>; + label =3D "platform:green:heartbeat"; + color =3D ; + function =3D LED_FUNCTION_INDICATOR; + linux,default-trigger =3D "timer"; + }; + + led-fan1-fault { + retain-state-shutdown; + default-state =3D "off"; + gpios =3D <&io_expander0 0 GPIO_ACTIVE_LOW>; + label =3D "fan1:red:fault"; + color =3D ; + function =3D LED_FUNCTION_FAULT; + }; + + led-fan2-fault { + retain-state-shutdown; + default-state =3D "off"; + gpios =3D <&io_expander0 1 GPIO_ACTIVE_LOW>; + label =3D "fan2:red:fault"; + color =3D ; + function =3D LED_FUNCTION_FAULT; + }; + + led-fan3-fault { + retain-state-shutdown; + default-state =3D "off"; + gpios =3D <&io_expander0 2 GPIO_ACTIVE_LOW>; + label =3D "fan3:red:fault"; + color =3D ; + function =3D LED_FUNCTION_FAULT; + }; + + led-fan4-fault { + retain-state-shutdown; + default-state =3D "off"; + gpios =3D <&io_expander0 3 GPIO_ACTIVE_LOW>; + label =3D "fan4:red:fault"; + color =3D ; + function =3D LED_FUNCTION_FAULT; + }; + + led-fan5-fault { + retain-state-shutdown; + default-state =3D "off"; + gpios =3D <&io_expander0 4 GPIO_ACTIVE_LOW>; + label =3D "fan5:red:fault"; + color =3D ; + function =3D LED_FUNCTION_FAULT; + }; + }; + + memory@80000000 { + reg =3D <0x80000000 0x20000000>; + }; + + reserved-memory { + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges; + + gfx_memory: framebuffer { + compatible =3D "shared-dma-pool"; + size =3D <0x01000000>; + alignment =3D <0x01000000>; + reusable; + }; + + vga_memory: framebuffer@9f000000 { + no-map; + reg =3D <0x9f000000 0x01000000>; /* 16M */ + }; + + video_engine_memory: jpegbuffer { + compatible =3D "shared-dma-pool"; + size =3D <0x02000000>; /* 32M */ + alignment =3D <0x01000000>; + reusable; + }; + }; +}; + +&adc { + status =3D "okay"; +}; + +&fmc { + status =3D "okay"; + + flash@0 { + label =3D "bmc"; + m25p,fast-read; + spi-max-frequency =3D <50000000>; + status =3D "okay"; +#include "openbmc-flash-layout-64.dtsi" + }; +}; + +&gfx { + memory-region =3D <&gfx_memory>; + status =3D "okay"; +}; + +&gpio { + gpio-line-names =3D + /*A0-A7*/ "","","","bmc-ready","","","","", + /*B0-B7*/ "i2c-backup-sel","","","","","","","host0-shd-ack-n", + /*C0-C7*/ "","","","","","","","", + /*D0-D7*/ "power-button-n","control-power-n","button-reset-n", + "host0-sysreset-n","","","power-chassis-good","", + /*E0-E7*/ "","s0-vrd1-vddq0123-fault-n", + "s0-vrd1-vddq4567-fault-n","s0-vrd0-vddc-fault-n", + "s0-vrd3-p0v75-fault-n","","","", + /*F0-F7*/ "","","ps-atx-on-n","","","","","", + /*G0-G7*/ "led-bmc-heartbeat-n","button-identify-n","",\ + "led-system-fault-n","uboot-ready","bmc-salt2-n","","", + /*H0-H7*/ "ps-pwr-ok","uart1-mode1","uart2-mode1","uart3-mode1", + "uart4-mode1","","led-bmc-heartbeat","", + /*I0-I7*/ "","","","","","","","", + /*J0-J7*/ "s0-hightemp-n","","","","","","","", + /*K0-K7*/ "","","","","","","","", + /*L0-L7*/ "","","","","","","","", + /*M0-M7*/ "cpld-disable-bmc-n","","","","","s0-spi-auth-fail-n","","", + /*N0-N7*/ "","","","","","","","", + /*O0-O7*/ "","","","","","","","", + /*P0-P7*/ "","","","","","","","", + /*Q0-Q7*/ "","","","","","","led-identify-n", + "chassis-intrusion-n", + /*R0-R7*/ "","","ext-hightemp-n","spi0-program-sel","", + "output-hwm-bat-en","","", + /*S0-S7*/ "s0-vr-hot-n","","input-salt2-n","bmc-sysreset-n","","","","", + /*T0-T7*/ "","","","","","","","", + /*U0-U7*/ "","","","","","","","", + /*V0-V7*/ "","","","","","","","", + /*W0-W7*/ "","","","","","","","", + /*X0-X7*/ "","","","","","","","", + /*Y0-Y7*/ "","","","","","","","", + /*Z0-Z7*/ "","","","s0-rtc-lock","","","","", + /*AA0-AA7*/ "s0-rtc-int-n","","","","","pmbus-sel-n","","", + /*AB0-AB7*/ "host0-reboot-ack-n","s0-sys-auth-failure-n", + "","","","","","", + /*AC0-AC7*/ "s0-fault-alert","host0-ready","s0-overtemp-n", + "","bmc-ok","host0-special-boot","presence-cpu0", + "host0-shd-req-n"; + + status =3D "okay"; +}; + +&i2c0 { + status =3D "okay"; + + ipmb@10 { + compatible =3D "ipmb-dev"; + reg =3D <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; + i2c-protocol; + }; + +}; + +&i2c1 { + status =3D "okay"; + + i2c-mux1@73 { + compatible =3D "nxp,pca9548"; + reg =3D <0x73>; + #address-cells =3D <1>; + #size-cells =3D <0>; + i2c-mux-idle-disconnect; + + nvme1: i2c@0 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <0>; + }; + + pcie4: i2c@1 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <1>; + }; + + pcie5: i2c@2 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <2>; + }; + + pcie6: i2c@3 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <3>; + }; + + pcie7: i2c@4 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <4>; + }; + + nvme3: i2c@5 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <5>; + }; + + nvme2: i2c@6 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <6>; + }; + + nvme0: i2c@7 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <7>; + }; + }; + + i2c-mux2@75 { + compatible =3D "nxp,pca9548"; + reg =3D <0x75>; + #address-cells =3D <1>; + #size-cells =3D <0>; + i2c-mux-idle-disconnect; + + nvme4: i2c@0 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <0>; + }; + + nvme5: i2c@1 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <1>; + }; + + nvme6: i2c@2 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <2>; + }; + + nvme7: i2c@3 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <3>; + }; + + nvme8: i2c@4 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <4>; + }; + + nvme9: i2c@5 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <5>; + }; + + nvme10: i2c@6 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <6>; + }; + + nvme11: i2c@7 { + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <7>; + }; + }; +}; + +&i2c2 { + status =3D "okay"; + + smpro@4f { + compatible =3D "ampere,smpro"; + reg =3D <0x4f>; + }; +}; + +&i2c3 { + status =3D "okay"; + + // PSU FRU + eeprom@38 { + compatible =3D "atmel,24c02"; + reg =3D <0x38>; + }; +}; + +&i2c4 { + status =3D "okay"; + + temperature-sensor@29 { + compatible =3D "nuvoton,nct7802"; + reg =3D <0x29>; + + #address-cells =3D <1>; + #size-cells =3D <0>; + + channel@0 { /* LTD */ + reg =3D <0>; + status =3D "okay"; + }; + + channel@1 { /* RTD1 */ + reg =3D <1>; + sensor-type =3D "temperature"; + temperature-mode =3D "thermistor"; + }; + + channel@2 { /* RTD2 */ + reg =3D <2>; + sensor-type =3D "temperature"; + temperature-mode =3D "thermal-diode"; + }; + }; + + temperature-sensor@4c { + compatible =3D "nuvoton,w83773g"; + reg =3D <0x4c>; + }; +}; + +&i2c5 { + status =3D "okay"; +}; + +&i2c6 { + status =3D "okay"; + + rtc@6f { + compatible =3D "isil,isl1208"; + reg =3D <0x6f>; + }; +}; + +&i2c7 { + status =3D "okay"; + + // BMC FRU + eeprom@57 { + compatible =3D "atmel,24c128"; + reg =3D <0x57>; + + nvmem-layout { + compatible =3D "fixed-layout"; + #address-cells =3D <1>; + #size-cells =3D <1>; + + eth1_macaddress: macaddress@3f80 { + reg =3D <0x3f80 6>; + }; + + // The offset for eth0 really is at 0x3f88. + // eth0 and eth1 are swapped from what might be + // expected. + eth0_macaddress: macaddress@3f88 { + reg =3D <0x3f88 6>; + }; + }; + }; +}; + +&i2c8 { + status =3D "okay"; + + io_expander0: gpio@1c { + compatible =3D "nxp,pca9557"; + reg =3D <0x1c>; + gpio-controller; + #gpio-cells =3D <2>; + }; +}; + +&i2c9 { + status =3D "okay"; +}; + +&i2c10 { + status =3D "okay"; +}; + +&i2c11 { + status =3D "okay"; +}; + +// Bus for accessing the SCP EEPROM +&i2c12 { + status =3D "okay"; +}; + +&i2c13 { + status =3D "okay"; + + ssif-bmc@10 { + compatible =3D "ssif-bmc"; + reg =3D <0x10>; + }; +}; + +// Connected to host Intel X550 (ALTRAD8UD-1L2T) or +// Broadcom BCM57414 (ALTRAD8UD2-1L2Q) interface. +// Unconnected on ALTRAD8UD-1L +&mac0 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_rmii1_default>; + clocks =3D <&syscon ASPEED_CLK_GATE_MAC1CLK>, + <&syscon ASPEED_CLK_MAC1RCLK>; + clock-names =3D "MACCLK", "RCLK"; + use-ncsi; + nvmem-cells =3D <ð0_macaddress>; + nvmem-cell-names =3D "mac-address"; + + status =3D "okay"; +}; + +// Connected to Realtek RTL8211E +&mac1 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; + + nvmem-cells =3D <ð1_macaddress>; + nvmem-cell-names =3D "mac-address"; + + status =3D "okay"; +}; + +&pinctrl { + aspeed,external-nodes =3D <&gfx &lhc>; +}; + +&pwm_tacho { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_pwm0_default + &pinctrl_pwm1_default + &pinctrl_pwm2_default + &pinctrl_pwm3_default + &pinctrl_pwm4_default + &pinctrl_pwm5_default + &pinctrl_pwm6_default + &pinctrl_pwm7_default>; + + status =3D "okay"; + + fan@0 { + reg =3D <0x00>; + aspeed,fan-tach-ch =3D /bits/ 8 <0x00 0x08>; + }; + + fan@1 { + reg =3D <0x01>; + aspeed,fan-tach-ch =3D /bits/ 8 <0x01 0x09>; + }; + + fan@2 { + reg =3D <0x02>; + aspeed,fan-tach-ch =3D /bits/ 8 <0x02 0x0a>; + }; + + fan@3 { + reg =3D <0x03>; + aspeed,fan-tach-ch =3D /bits/ 8 <0x03 0x0b>; + }; + + fan@4 { + reg =3D <0x04>; + aspeed,fan-tach-ch =3D /bits/ 8 <0x04 0x0c>; + }; + + fan@5 { + reg =3D <0x05>; + aspeed,fan-tach-ch =3D /bits/ 8 <0x05 0x0d>; + }; + + fan@6 { + reg =3D <0x06>; + aspeed,fan-tach-ch =3D /bits/ 8 <0x06 0x0e>; + }; + + fan@7 { + reg =3D <0x07>; + aspeed,fan-tach-ch =3D /bits/ 8 <0x07 0x0f>; + }; +}; + +&spi1 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_spi1_default>; + + status =3D "okay"; + + // Host BIOS/UEFI EEPROM + flash@0 { + m25p,fast-read; + label =3D "pnor"; + spi-max-frequency =3D <100000000>; + status =3D "okay"; + + partitions { + compatible =3D "fixed-partitions"; + #address-cells =3D <1>; + #size-cells =3D <1>; + + tfa@400000 { + reg =3D <0x400000 0x200000>; + label =3D "pnor-tfa"; + }; + + uefi@600000 { + reg =3D <0x600000 0x1A00000>; + label =3D "pnor-uefi"; + }; + }; + }; +}; + +&uart1 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_txd1_default + &pinctrl_rxd1_default + &pinctrl_ncts1_default + &pinctrl_nrts1_default>; + + status =3D "okay"; +}; + +&uart2 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_txd2_default + &pinctrl_rxd2_default>; + + status =3D "okay"; +}; + +&uart3 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_txd3_default + &pinctrl_rxd3_default>; + + status =3D "okay"; +}; + +&uart4 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_txd4_default + &pinctrl_rxd4_default>; + + status =3D "okay"; +}; + +// The BMC's uart +&uart5 { + status =3D "okay"; +}; + +&vhub { + status =3D "okay"; +}; + +&video { + memory-region =3D <&video_engine_memory>; + + status =3D "okay"; +}; --=20 2.47.3