From patchwork Tue Oct 22 02:15:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5b6Q5YKR55Sf?= X-Patchwork-Id: 13845006 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 97271D17157 for ; Tue, 22 Oct 2024 02:23:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=unl0Nii+eAAEgvAHbej2wxzaLvXCEqrnRixry6vtoNA=; b=Bs8XiN76qIaIiShJJrpSp73R8A x8rFuu1a0yIsyF3nNTSFdWBMR9NUlSU6/c6Qz74NXON9OrGYyn9mlSMwnlxvAi2IQ7u3x7KI6Sj5v hkCVYz9VB9MvIhXfcMBr0PJyu3NiH3w7ER5pvQsMvdSND/un4vAXncbR6hrExDPN4Wx9eAi0JzYmG GClbKWWZRj5+oYHgUxaDZvZ4W2PmDEcE3qkZo8gxbB9Rm0jIf+IjNa9H/x7K3BU0A7rq4WsXgYTmS vm9xHtPqKGK+L3OR28gB52SARLunPnH41/WsVvzoPYFI1CmW43MRXM4ZdwQZyb2bCSwOUfQ8+k0xc R9dpR/uQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t34Y3-00000009JrO-3X9R; Tue, 22 Oct 2024 02:23:03 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t34Sa-00000009J8E-22Nw for linux-arm-kernel@bombadil.infradead.org; Tue, 22 Oct 2024 02:17:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=unl0Nii+eAAEgvAHbej2wxzaLvXCEqrnRixry6vtoNA=; b=S6VSh36db+MfVHXxzir3S7/8Uf s3Jxcr7f8qtUGpGH92U6QGIQBRVZcmzvFIzXaPwgMNc6uzzaBNe6N7TLGNTBWC1jWgK+K4Ku/e+lE m9RmoaAfSdiC5fGQAnD2pkaUQZPh+QuUxK3RzzTxwE74QRM/8HwjtPGqB+IQIC2eHsMMW3g3ysH9g WTrLjt4shZhgpHgzWdQfGPlfSln6wp5s+XIyr70oeeADh6Af4Emdve8bJeqVm8BlW4BEfTHH5aCJX 6J2yd7s+lOj0Z2fe6c07MB6iiUgNdpvP9fSMiOBPDNW0Mf5W9INj5qjctJGRGziu5o/S28Li+4m16 q78C934g==; Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t34SW-000000085so-20X0 for linux-arm-kernel@lists.infradead.org; Tue, 22 Oct 2024 02:17:22 +0000 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-71ec12160f6so1350484b3a.3 for ; Mon, 21 Oct 2024 19:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729563437; x=1730168237; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=unl0Nii+eAAEgvAHbej2wxzaLvXCEqrnRixry6vtoNA=; b=H01O0vYgqZeTkewNrZ5XQU1CY9POwq/3QJdvmWuo2L6qa7nxOXLxfaXQKb1QaooZ3P q2oBFSi03d9B4qgjqRk1tSVYud11nH4UblkNtJ2Wt1dBW7cbB5LizThz2pmoYds0VFPa aH/KStg+yC0oKARn5Lw+WXaYOEQ8d+6cg0f2aOPB94aZiWDK3DdvapRt5hSvjsDMFaZw l/FHWGhZU6P+O7QlitoR+i52szZQ7C9cjwnz9l0mwmBKsNhvzKqqAm58Xjmfgqnumxqr 2Ut+PLZfHNa3M0aexsQ92jgDNTP6Puv5zBI10LKTcN2m5Cvv7CeXdQBcXGIxwAMNY7YM 5apQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729563437; x=1730168237; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=unl0Nii+eAAEgvAHbej2wxzaLvXCEqrnRixry6vtoNA=; b=dd2mtselP5SRAamvdxBueF/Lrb+/KEoArYXmkeYFtVy+wbS/UCT2wX6QW73qhJcnCI U1ITm97D26E9GJKOLJF8xbyDNqJpccY0twFt3Sa6fAliHKw27Yh5qyRx4dqqCUWgIagp eI7fjt0GmqT9EEQAcbmb4CDi+G1nE/+5xK/ELUbV4MW9g8OfwgCUpEgl7iGnSN6FIJo1 +x1stmd66fFGP8t+XS+rLFGPQoJAW9Vdn4cq/SVZxAx7CisKxvVa0Ux91IKzDhqcvLwx sl5qy7GiXMCFTDxSgjN448HpiL0/rwDiUWt7UXw6wrecMVMBDo3Ovki4ZjhM/tSYHRle +/1g== X-Forwarded-Encrypted: i=1; AJvYcCV5ljo5hBXZ6OBUgJvm+mNfoaaXkvHlCtCd4kR/LUxq55VJl8fui9FL2FWu4PNbXXCymDH2gDx90goYmnVYi44/@lists.infradead.org X-Gm-Message-State: AOJu0YwCdLnQo2V5tUqrm8UBoypixBFwWBf9phVyuM+bKxyGhZguYj+x SvnpPdqnQ6PE6K5ZqPz17xj92R9MFBGexpPb7YseSsQtc8M2JiW/ X-Google-Smtp-Source: AGHT+IH24Wjpa7mWhYCtLnIwnpS4VpShU13ixMjcSAsq2LSlny5LqHchOyGbpuSSaPnjBSYW8C5o6w== X-Received: by 2002:a05:6a00:2292:b0:71e:5d1d:1aa7 with SMTP id d2e1a72fcca58-71ea33761e2mr18554041b3a.17.1729563437379; Mon, 21 Oct 2024 19:17:17 -0700 (PDT) Received: from jason-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ec13ea1d1sm3595592b3a.165.2024.10.21.19.17.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2024 19:17:16 -0700 (PDT) From: Jason-Hsu To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: yang.chen@quantatw.com, jerry.lin@quantatw.com, Jason-Hsu Subject: [PATCH 1/2] dt-bindings: arm: aspeed: add Meta Ventura board Date: Tue, 22 Oct 2024 10:15:11 +0800 Message-Id: <20241022021511.2322303-1-jasonhell19@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241022_031720_983936_95B948C9 X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document the new compatibles used on Meta Ventura. Add subject prefix for the patch. Signed-off-by: Jason-Hsu 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/Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml index 2f92b8ab08fa..98ea2b3e0eb1 100644 --- a/Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +++ b/Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml @@ -86,6 +86,7 @@ properties: - facebook,greatlakes-bmc - facebook,harma-bmc - facebook,minerva-cmc + - facebook,ventura-rmc - facebook,yosemite4-bmc - ibm,blueridge-bmc - ibm,everest-bmc From patchwork Tue Oct 22 02:17:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5b6Q5YKR55Sf?= X-Patchwork-Id: 13845007 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A8466D17157 for ; Tue, 22 Oct 2024 02:26:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=H4s9p0kyIDzKeex4RBoSuFAMtZz5FWzRSpakW/k2NZ8=; b=ekxmWnPNfHB8aW84rv858y8rs0 /TdNws7dKqNTBuuWvlVsSry1NJwpjw2CyfGmpCqNzkzJcrj/wW2/kw37f2rGrPf9DXC0XtKgXXMrC b3Jy5WafJZ89gHu08S4MzXEfnPdOc9uWsL8M1+lBZ3pUaOqElO7xEKcil7hww8alalkXjVgt9yPKf QoOBU4obTd6QlPtn4mX2Z22eo3wR2Hcm71mUVYWn56A/ntq4bgMZoX254auk4MXzl/QCYKhcKtvbh s475OGLNySDyrbF7U6QYpSrEfcyYrz1ZhyqApQFzrwgGHErs1Pn/B6PGZ9C0zGz9R6YFe456NupSW xStai1gw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t34ay-00000009KA7-3zHH; Tue, 22 Oct 2024 02:26:04 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t34Uq-00000009JM6-3v56 for linux-arm-kernel@bombadil.infradead.org; Tue, 22 Oct 2024 02:19:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=H4s9p0kyIDzKeex4RBoSuFAMtZz5FWzRSpakW/k2NZ8=; b=X5jkmJGZqaaavYvMP2Y1OKJ6mb NkiyA72uxw995rWFUZFZQbavDm0awW2DDNPXdO1WdZxpbBERODLF7m5SKdrDFWktkVFsr9TI68ohj xXwKP60Io8/dhHVQy4BychbkHdfY+mRMy4nTLNWJsir54GHu6+FMvymWB3I2pPrmjEoR5+07KUd6U 6VaEv8O39MUZMFWCjCVO83K9jNNW70mOYxPFMJH5Cg6BcG3GlphZDsw7EW9rrKFYo0PZFkxmnhLVp TszVapO8wM2fX0Yb6v9YFqW2kMwMy9WhOlIj4yTtvNiwivRxyy0L9s/l3LnTITN+5GjG/n83Kp9PE PB3w1+NA==; Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t34Ug-00000008616-3lpp for linux-arm-kernel@lists.infradead.org; Tue, 22 Oct 2024 02:19:39 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-71e953f4e7cso3393438b3a.3 for ; Mon, 21 Oct 2024 19:19:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729563570; x=1730168370; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=H4s9p0kyIDzKeex4RBoSuFAMtZz5FWzRSpakW/k2NZ8=; b=DCyG0OyiH0FrXjRfslcAqGay1/w4wghsN/x7L0bDG5K5dsmPdERBytMVPX1plobOpx mY3xgVI8/shRzgUz2QMKcXYm/iB5FuOlpAVFYAouILlUZ//mo/M8iKiS9/i0bNYXSUXS knnhgzR8ZkUVVFt8XX/eCUb/VydAfh+FcDs2Xn5v3/vz0tZOhQLciTO3kTe3ffXe3R9/ 41m9tn1y8xJhcsk0HAxxq4i/4A06gz7D0bKpvfIgE2J4U9lY7AEJXfoMgVnuEeEYzbcp 9OmMBV7TNtZdm36aF42yajhG0ONhO4rl7qTjzffCB3pLSCK8vCRhYFFzuFPn6X7Yicb/ Ks+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729563570; x=1730168370; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=H4s9p0kyIDzKeex4RBoSuFAMtZz5FWzRSpakW/k2NZ8=; b=gWKBDUCnNGlPwsPTVU58Hz8+bVjrTww70QiBZUgHSqPQGGy+UYmtIrTcBDB/sr/LoP zN+gekndSTk62IK8Iy1svljlLsv0bqb3rhOgDBAiHx6YToavQl+7fXD8Pxl7WH/CtqWq McPBFXdtSsBI0YCq8FSwhomjCdUJoQjUgfhPiTEOgrf1iwoyhQesi5xSCS2YWHnzxmN5 Thdzm4S+rCr7YRDC11A6pkkUlp/qQytHIfVCNF5GUp6cwu3M3mo+s5fmsAkza7XabjF5 Al0qZQaQGRuAlf2kIKCHJ0mL8BwUxQOsA7CsYSdoTZQyEeh7eF19YCzZI8TWLJec43dx RlGg== X-Forwarded-Encrypted: i=1; AJvYcCVZvHL1ZtRsWUgtokFAxxnMDA07apHURUNFySQCZPzLvrnHlTq/oS4vdoTpUazIh+4fu2cekcYC7iF2CE1SOAkT@lists.infradead.org X-Gm-Message-State: AOJu0Yx69A4Aetxq1jFHH3is3psu7Yg40uCTX2UqRygeJ7gLVqWMz8X5 eC6xj8FVSz3jhftQ+JovppS/pbIyJogmaRIf6N48PmtjLZjcIMLqfb34ctgW X-Google-Smtp-Source: AGHT+IFIp3EwTWhKUSyi+rllTgwANBJESrmMFoLlxiL0wG1OaPJVqV0fSIdxm1NozJZm2zSXATaasA== X-Received: by 2002:a05:6a20:4b30:b0:1d9:3957:8c24 with SMTP id adf61e73a8af0-1d939578c79mr11946499637.21.1729563569807; Mon, 21 Oct 2024 19:19:29 -0700 (PDT) Received: from jason-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ec13eab57sm3721461b3a.176.2024.10.21.19.19.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2024 19:19:29 -0700 (PDT) From: Jason-Hsu To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: yang.chen@quantatw.com, jerry.lin@quantatw.com, Jason-Hsu Subject: [PATCH 2/2] ARM: dts: aspeed: ventura: add Meta Ventura BMC Date: Tue, 22 Oct 2024 10:17:24 +0800 Message-Id: <20241022021724.2322506-1-jasonhell19@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241022_031935_520431_C9BB0C93 X-CRM114-Status: GOOD ( 14.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add Linux device tree related to Meta(Facebook) Ventura specific devices connected to BMC(AST2600) SoC. Add subject prefix for the patch. Signed-off-by: Jason-Hsu --- arch/arm/boot/dts/aspeed/Makefile | 1 + .../aspeed/aspeed-bmc-facebook-ventura.dts | 884 ++++++++++++++++++ 2 files changed, 885 insertions(+) create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts diff --git a/arch/arm/boot/dts/aspeed/Makefile b/arch/arm/boot/dts/aspeed/Makefile index c4f064e4b073..5ed6042eea97 100644 --- a/arch/arm/boot/dts/aspeed/Makefile +++ b/arch/arm/boot/dts/aspeed/Makefile @@ -27,6 +27,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ aspeed-bmc-facebook-minerva.dtb \ aspeed-bmc-facebook-minipack.dtb \ aspeed-bmc-facebook-tiogapass.dtb \ + aspeed-bmc-facebook-ventura.dtb \ aspeed-bmc-facebook-wedge40.dtb \ aspeed-bmc-facebook-wedge100.dtb \ aspeed-bmc-facebook-wedge400.dtb \ diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts new file mode 100644 index 000000000000..678b9bbf9e63 --- /dev/null +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts @@ -0,0 +1,884 @@ +// SPDX-License-Identifier: GPL-2.0+ +// Copyright (c) 2023 Facebook Inc. +/dts-v1/; + +#include "aspeed-g6.dtsi" +#include +#include + +/ { + model = "Facebook ventura RMC"; + compatible = "facebook,ventura-rmc", "aspeed,ast2600"; + + aliases { + serial4 = &uart5; + i2c16 = &i2c3mux0ch3; + i2c17 = &i2c3mux0ch4; + i2c18 = &i2c3mux0ch5; + i2c19 = &i2c3mux0ch6; + i2c20 = &i2c3mux0ch0; + i2c21 = &i2c3mux0ch1; + i2c22 = &i2c3mux0ch2; + i2c23 = &i2c3mux0ch7; + i2c24 = &i2c0mux0ch0; + i2c25 = &i2c0mux0ch1; + i2c26 = &i2c0mux0ch2; + i2c27 = &i2c0mux0ch3; + i2c28 = &i2c0mux0ch4; + i2c29 = &i2c0mux0ch5; + i2c30 = &i2c0mux0ch6; + i2c31 = &i2c0mux0ch7; + i2c32 = &i2c1mux0ch0; + i2c33 = &i2c1mux0ch1; + i2c34 = &i2c1mux0ch2; + i2c35 = &i2c1mux0ch3; + i2c36 = &i2c1mux0ch4; + i2c37 = &i2c1mux0ch5; + i2c38 = &i2c1mux0ch6; + i2c39 = &i2c1mux0ch7; + i2c40 = &i2c2mux0ch0; + i2c41 = &i2c2mux0ch1; + i2c42 = &i2c2mux0ch2; + i2c43 = &i2c2mux0ch3; + i2c44 = &i2c2mux0ch4; + i2c45 = &i2c2mux0ch5; + i2c46 = &i2c2mux0ch6; + i2c47 = &i2c2mux0ch7; + }; + + chosen { + stdout-path = "serial4:57600n8"; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x80000000>; + }; + + iio-hwmon { + compatible = "iio-hwmon"; + io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>, + <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>, + <&adc1 2>; + }; + + spi1_gpio: spi { + compatible = "spi-gpio"; + #address-cells = <1>; + #size-cells = <0>; + + sck-gpios = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; + mosi-gpios = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>; + miso-gpios = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>; + cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; + num-chipselects = <1>; + + tpm@0 { + compatible = "infineon,slb9670", "tcg,tpm_tis-spi"; + spi-max-frequency = <33000000>; + reg = <0>; + }; + }; + + leds { + compatible = "gpio-leds"; + + led-0 { + label = "bmc_heartbeat_amber"; + gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>; + linux,default-trigger = "heartbeat"; + }; + + led-1 { + label = "fp_id_amber"; + default-state = "off"; + gpios = <&gpio0 ASPEED_GPIO(B, 5) GPIO_ACTIVE_HIGH>; + }; + + led-2 { + label = "bmc_ready_noled"; + default-state = "on"; + gpios = <&gpio0 ASPEED_GPIO(B, 3) (GPIO_ACTIVE_HIGH|GPIO_TRANSITORY)>; + }; + + led-3 { + label = "power_blue"; + default-state = "off"; + gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_HIGH>; + }; + }; + + p1v8_bmc_aux: regulator-p1v8-bmc-aux { + compatible = "regulator-fixed"; + regulator-name = "p1v8_bmc_aux"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + p2v5_bmc_aux: regulator-p2v5-bmc-aux { + compatible = "regulator-fixed"; + regulator-name = "p2v5_bmc_aux"; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + regulator-always-on; + }; +}; + +&wdt1 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wdtrst1_default>; + aspeed,reset-type = "soc"; + aspeed,external-signal; + aspeed,ext-push-pull; + aspeed,ext-active-high; + aspeed,ext-pulse-duration = <256>; +}; + +&mdio0 { + status = "okay"; +}; + +&mac3 { + status = "okay"; + phy-mode = "rmii"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rmii4_default>; + fixed-link { + speed = <100>; + full-duplex; + }; +}; + +&fmc { + status = "okay"; + flash@0 { + status = "okay"; + m25p,fast-read; + label = "bmc"; + spi-max-frequency = <50000000>; +#include "openbmc-flash-layout-128.dtsi" + }; + flash@1 { + status = "okay"; + m25p,fast-read; + label = "alt-bmc"; + spi-max-frequency = <50000000>; + }; +}; + +&i2c0 { + status = "okay"; + + i2c-mux@77 { + compatible = "nxp,pca9548"; + reg = <0x77>; + #address-cells = <1>; + #size-cells = <0>; + + i2c0mux0ch0: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + status = "okay"; + }; + + i2c0mux0ch1: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + status = "okay"; + }; + + i2c0mux0ch2: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + status = "okay"; + }; + + i2c0mux0ch3: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + status = "okay"; + }; + + i2c0mux0ch4: i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <4>; + status = "okay"; + }; + + i2c0mux0ch5: i2c@5 { + #address-cells = <1>; + #size-cells = <0>; + reg = <5>; + status = "okay"; + }; + + i2c0mux0ch6: i2c@6 { + #address-cells = <1>; + #size-cells = <0>; + reg = <6>; + status = "okay"; + }; + + i2c0mux0ch7: i2c@7 { + #address-cells = <1>; + #size-cells = <0>; + reg = <7>; + status = "okay"; + }; + }; +}; + +&i2c1 { + status = "okay"; + + i2c-mux@77 { + compatible = "nxp,pca9548"; + reg = <0x77>; + #address-cells = <1>; + #size-cells = <0>; + + i2c1mux0ch0: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + status = "okay"; + }; + + i2c1mux0ch1: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + status = "okay"; + }; + + i2c1mux0ch2: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + status = "okay"; + }; + + i2c1mux0ch3: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + status = "okay"; + }; + + i2c1mux0ch4: i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <4>; + status = "okay"; + }; + + i2c1mux0ch5: i2c@5 { + #address-cells = <1>; + #size-cells = <0>; + reg = <5>; + status = "okay"; + }; + + i2c1mux0ch6: i2c@6 { + #address-cells = <1>; + #size-cells = <0>; + reg = <6>; + status = "okay"; + }; + + i2c1mux0ch7: i2c@7 { + #address-cells = <1>; + #size-cells = <0>; + reg = <7>; + status = "okay"; + }; + }; +}; + +&i2c2 { + status = "okay"; + + i2c-mux@77 { + compatible = "nxp,pca9548"; + reg = <0x77>; + #address-cells = <1>; + #size-cells = <0>; + + i2c2mux0ch0: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + status = "okay"; + }; + + i2c2mux0ch1: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + status = "okay"; + }; + + i2c2mux0ch2: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + status = "okay"; + }; + + i2c2mux0ch3: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + status = "okay"; + }; + + i2c2mux0ch4: i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <4>; + status = "okay"; + }; + + i2c2mux0ch5: i2c@5 { + #address-cells = <1>; + #size-cells = <0>; + reg = <5>; + status = "okay"; + }; + + i2c2mux0ch6: i2c@6 { + #address-cells = <1>; + #size-cells = <0>; + reg = <6>; + status = "okay"; + }; + + i2c2mux0ch7: i2c@7 { + #address-cells = <1>; + #size-cells = <0>; + reg = <7>; + status = "okay"; + }; + }; +}; + +&i2c3 { + status = "okay"; + + i2c-mux@77 { + compatible = "nxp,pca9548"; + reg = <0x77>; + #address-cells = <1>; + #size-cells = <0>; + + i2c3mux0ch0: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + status = "okay"; + }; + + i2c3mux0ch1: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + status = "okay"; + }; + + i2c3mux0ch2: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + status = "okay"; + }; + + i2c3mux0ch3: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + + // Fan Borad 0 FRU + eeprom@56 { + compatible = "atmel,24c128"; + reg = <0x56>; + }; + + gpio@21 { + compatible = "nxp,pca9555"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + adc@1f { + compatible = "ti,adc128d818"; + reg = <0x1f>; + ti,mode = /bits/ 8 <1>; + }; + }; + + i2c3mux0ch4: i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <4>; + + // Fan Borad 1 FRU + eeprom@56 { + compatible = "atmel,24c128"; + reg = <0x56>; + }; + + gpio@21 { + compatible = "nxp,pca9555"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + adc@1f { + compatible = "ti,adc128d818"; + reg = <0x1f>; + ti,mode = /bits/ 8 <1>; + }; + }; + + i2c3mux0ch5: i2c@5 { + #address-cells = <1>; + #size-cells = <0>; + reg = <5>; + + pwm@20 { + compatible = "max31790"; + reg = <0x20>; + #address-cells = <1>; + #size-cells = <0>; + channel@2 { + reg = <2>; + sensor-type = "TACH"; + }; + channel@5 { + reg = <5>; + sensor-type = "TACH"; + }; + }; + }; + + i2c3mux0ch6: i2c@6 { + #address-cells = <1>; + #size-cells = <0>; + reg = <6>; + // REAR-IO Board FRU + eeprom@56 { + compatible = "atmel,24c128"; + reg = <0x56>; + }; + }; + + i2c3mux0ch7: i2c@7 { + #address-cells = <1>; + #size-cells = <0>; + reg = <7>; + status = "okay"; + }; + }; +}; + +&i2c4 { + status = "okay"; +}; + +&i2c5 { + status = "okay"; + + temperature-sensor@4f { + compatible = "ti,tmp75"; + reg = <0x4f>; + }; + // RMC FRU + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; +}; + +&i2c6 { + status = "okay"; + + gpio@20 { + compatible = "nxp,pca9555"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9555"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9555"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + // 88E6393X CONFIG FRU + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; + + rtc@51 { + compatible = "nxp,pcf8563"; + reg = <0x51>; + }; +}; + +&i2c7 { + status = "okay"; +}; + +&i2c9 { + status = "okay"; + + // SCM TEMP SENSOR + temperature-sensor@4b { + compatible = "ti,tmp75"; + reg = <0x4b>; + }; + + // SCM FRU EEPROM + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + // BSM FRU EEPROM + eeprom@56 { + compatible = "atmel,24c64"; + reg = <0x56>; + }; +}; + +&i2c10 { + status = "okay"; + + adc@35 { + compatible = "maxim,max11617"; + reg = <0x35>; + }; + + power-monitor@40 { + compatible = "ti,ina230"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + + power-sensor@41 { + compatible = "ti,ina238"; + reg = <0x41>; + shunt-resistor = <20000>; /* 0.02 R */ + }; + + power-sensor@43 { + compatible = "ti,ina238"; + reg = <0x43>; + shunt-resistor = <20000>; /* 0.02 R */ + }; + + power-monitor@44 { + compatible = "lltc,ltc4286"; + reg = <0x44>; + }; + + power-monitor@45 { + compatible = "ti,ina230"; + reg = <0x45>; + shunt-resistor = <1000>; + }; + + power-monitor@69 { + compatible = "pmbus"; + reg = <0x69>; + }; +}; + +&i2c14 { + status = "okay"; +}; + +&i2c15 { + status = "okay"; + + gpio@20 { + compatible = "nxp,pca9555"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9555"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9555"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9555"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@25 { + compatible = "nxp,pca9555"; + reg = <0x25>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@26 { + compatible = "nxp,pca9555"; + reg = <0x26>; + gpio-controller; + #gpio-cells = <2>; + }; + + // LED Board FRU + eeprom@56 { + compatible = "atmel,24c128"; + reg = <0x56>; + }; +}; + +&adc0 { + vref-supply = <&p1v8_bmc_aux>; + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default + &pinctrl_adc2_default &pinctrl_adc3_default + &pinctrl_adc4_default &pinctrl_adc5_default + &pinctrl_adc6_default &pinctrl_adc7_default>; + +}; + +&adc1 { + vref-supply = <&p2v5_bmc_aux>; + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_adc10_default>; +}; + +&ehci0 { + status = "okay"; +}; + +&ehci1 { + status = "okay"; +}; + +&gpio0 { + gpio-line-names = + /*A0-A7*/ "","","","","","","","", + /*B0-B7*/ "","","","BMC_READY","","","","", + /*C0-C7*/ "","","","","","","","", + /*D0-D7*/ "","","","","","","","", + /*E0-E7*/ "","","","","","","","", + /*F0-F7*/ "","","","","","","","", + /*G0-G7*/ "","","","","","","","", + /*H0-H7*/ "","","","","","","","", + /*I0-I7*/ "","","","","","","","", + /*J0-J7*/ "","","","","","","","", + /*K0-K7*/ "","","","","","","","", + /*L0-L7*/ "","","","","","","","", + /*M0-M7*/ "","","","","","","","", + /*N0-N7*/ "","","","","","","","", + /*O0-O7*/ "","","","","","","","USBDBG_IPMI_EN_L", + /*P0-P7*/ "","","","","","","","", + /*Q0-Q7*/ "","","","","","FM_MDIO_SW_SEL","","", + /*R0-R7*/ "","","","","","","","", + /*S0-S7*/ "","","","","","","","", + /*T0-T7*/ "","","","","","","","", + /*U0-U7*/ "","","","","","","","", + /*V0-V7*/ "","","","","","","","", + /*W0-W7*/ "","","","","","","","", + /*X0-X7*/ "","","","","","","","", + /*Y0-Y7*/ "","","","","","","","", + /*Z0-Z7*/ "","","","","","","",""; +}; + +&sgpiom0 { + status = "okay"; + ngpios = <128>; + bus-frequency = <2000000>; +}; + +&sgpiom0 { + gpio-line-names = + /*"input pin","output pin"*/ + /*A0 - A7*/ + "power-chassis-good","power-chassis-control", + "host0-ready","WATER_VALVE_CLOSED_N", + "","FM_MDIO_SW_SEL_PLD", + "","FM_88E6393X_BIN_UPDATE_EN_N", + "","", + "","", + "","", + "","", + /*B0 - B7*/ + "IT_STOP_PUMP_SPARE_2","", + "IT_STOP_PUMP_2","", + "IT_STOP_PUMP_SPARE","", + "IT_STOP_PUMP","", + "RPU_2_READY_SPARE_PLD_R","", + "RPU_2_READY_PLD_R","", + "RPU_READY_SPARE_PLD_R","", + "RPU_READY_PLD_R","", + /*C0 - C7*/ + "wAALC_RPU_READY","", + "LEAK0_DETECT","", + "LEAK1_DETECT","", + "LEAK2_DETECT","", + "PRSNT_COMPUTE_TRAY1_N","", + "PRSNT_COMPUTE_TRAY2_N","", + "PRSNT_COMPUTE_TRAY3_N","", + "PRSNT_COMPUTE_TRAY4_N","", + /*D0 - D7*/ + "PRSNT_COMPUTE_TRAY5_N","", + "PRSNT_COMPUTE_TRAY6_N","", + "PRSNT_COMPUTE_TRAY7_N","", + "PRSNT_COMPUTE_TRAY8_N","", + "PRSNT_NVS_TRAY1_N","", + "PRSNT_NVS_TRAY2_N","", + "PRSNT_COMPUTE_TRAY11_N","", + "PRSNT_COMPUTE_TRAY12_N","", + /*E0 - E7*/ + "PRSNT_COMPUTE_TRAY13_N","", + "PRSNT_COMPUTE_TRAY14_N","", + "PRSNT_COMPUTE_TRAY15_N","", + "PRSNT_COMPUTE_TRAY16_N","", + "PRSNT_COMPUTE_TRAY17_N","", + "PRSNT_COMPUTE_TRAY18_N","", + "PRSNT_NVS_TRAY3_N","", + "PRSNT_NVS_TRAY4_N","", + /*F0 - F7*/ + "PRSNT_NVS_TRAY5_N","", + "PRSNT_NVS_TRAY6_N","", + "PRSNT_NVS_TRAY7_N","", + "PRSNT_NVS_TRAY8_N","", + "PRSNT_NVS_TRAY9_N","", + "PRSNT_COMPUTE_TRAY9_N","", + "PRSNT_COMPUTE_TRAY10_N","", + "SMALL_LEAK_COMPUTE_TRAY1_N","", + /*G0 - G7*/ + "SMALL_LEAK_COMPUTE_TRAY2_N","", + "SMALL_LEAK_COMPUTE_TRAY3_N","", + "SMALL_LEAK_COMPUTE_TRAY4_N","", + "SMALL_LEAK_COMPUTE_TRAY5_N","", + "SMALL_LEAK_COMPUTE_TRAY6_N","", + "SMALL_LEAK_COMPUTE_TRAY7_N","", + "SMALL_LEAK_COMPUTE_TRAY8_N","", + "SMALL_LEAK_NVS_TRAY1_N","", + /*H0 - H7*/ + "SMALL_LEAK_NVS_TRAY2_N","", + "SMALL_LEAK_COMPUTE_TRAY11_N","", + "SMALL_LEAK_COMPUTE_TRAY12_N","", + "SMALL_LEAK_COMPUTE_TRAY13_N","", + "SMALL_LEAK_COMPUTE_TRAY14_N","", + "SMALL_LEAK_COMPUTE_TRAY15_N","", + "SMALL_LEAK_COMPUTE_TRAY16_N","", + "SMALL_LEAK_COMPUTE_TRAY17_N","", + /*I0 - I7*/ + "SMALL_LEAK_COMPUTE_TRAY18_N","", + "SMALL_LEAK_NVS_TRAY3_N","", + "SMALL_LEAK_NVS_TRAY4_N","", + "SMALL_LEAK_NVS_TRAY5_N","", + "SMALL_LEAK_NVS_TRAY6_N","", + "SMALL_LEAK_NVS_TRAY7_N","", + "SMALL_LEAK_NVS_TRAY8_N","", + "SMALL_LEAK_NVS_TRAY9_N","", + /*J0 - J7*/ + "SMALL_LEAK_COMPUTE_TRAY9_N","", + "SMALL_LEAK_COMPUTE_TRAY10_N","", + "PWRGD_COMPUTE_TRAY1_N","", + "PWRGD_COMPUTE_TRAY2_N","", + "PWRGD_COMPUTE_TRAY3_N","", + "PWRGD_COMPUTE_TRAY4_N","", + "PWRGD_COMPUTE_TRAY5_N","", + "PWRGD_COMPUTE_TRAY6_N","", + /*K0 - K7*/ + "PWRGD_COMPUTE_TRAY7_N","", + "PWRGD_COMPUTE_TRAY8_N","", + "PWRGD_NVS_TRAY1_PWROK_N","", + "PWRGD_NVS_TRAY2_PWROK_N","", + "PWRGD_COMPUTE_TRAY11_N","", + "PWRGD_COMPUTE_TRAY12_N","", + "PWRGD_COMPUTE_TRAY13_N","", + "PWRGD_COMPUTE_TRAY14_N","", + /*L0 - L7*/ + "PWRGD_COMPUTE_TRAY15_N","", + "PWRGD_COMPUTE_TRAY16_N","", + "PWRGD_COMPUTE_TRAY17_N","", + "PWRGD_COMPUTE_TRAY18_N","", + "PWRGD_NVS_TRAY3_PWROK_N","", + "PWRGD_NVS_TRAY4_PWROK_N","", + "PWRGD_NVS_TRAY5_PWROK_N","", + "PWRGD_NVS_TRAY6_PWROK_N","", + /*M0 - M7*/ + "PWRGD_NVS_TRAY7_PWROK_N","", + "PWRGD_NVS_TRAY8_PWROK_N","", + "PWRGD_NVS_TRAY9_PWROK_N","", + "PWRGD_COMPUTE_TRAY9_N","", + "PWRGD_COMPUTE_TRAY10_N","", + "LEAK_DETECT_COMPUTE_TRAY1_N","", + "LEAK_DETECT_COMPUTE_TRAY2_N","", + "LEAK_DETECT_COMPUTE_TRAY3_N","", + /*N0 - N7*/ + "LEAK_DETECT_COMPUTE_TRAY4_N","", + "LEAK_DETECT_COMPUTE_TRAY5_N","", + "LEAK_DETECT_COMPUTE_TRAY6_N","", + "LEAK_DETECT_COMPUTE_TRAY7_N","", + "LEAK_DETECT_COMPUTE_TRAY8_N","", + "LEAK_DETECT_NVS_TRAY1_N","", + "LEAK_DETECT_NVS_TRAY2_N","", + "LEAK_DETECT_COMPUTE_TRAY11_N","", + /*O0 - O7*/ + "LEAK_DETECT_COMPUTE_TRAY12_N","", + "LEAK_DETECT_COMPUTE_TRAY13_N","", + "LEAK_DETECT_COMPUTE_TRAY14_N","", + "LEAK_DETECT_COMPUTE_TRAY15_N","", + "LEAK_DETECT_COMPUTE_TRAY16_N","", + "LEAK_DETECT_COMPUTE_TRAY17_N","", + "LEAK_DETECT_COMPUTE_TRAY18_N","", + "LEAK_DETECT_NVS_TRAY3_N","", + /*P0 - P7*/ + "LEAK_DETECT_NVS_TRAY4_N","", + "LEAK_DETECT_NVS_TRAY5_N","", + "LEAK_DETECT_NVS_TRAY6_N","", + "LEAK_DETECT_NVS_TRAY7_N","", + "LEAK_DETECT_NVS_TRAY8_N","", + "LEAK_DETECT_NVS_TRAY9_N","", + "LEAK_DETECT_COMPUTE_TRAY9_N","", + "LEAK_DETECT_COMPUTE_TRAY10_N",""; +}; +