From patchwork Thu Feb 29 09:09:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kelly Hung X-Patchwork-Id: 208272 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp266763dyb; Thu, 29 Feb 2024 01:09:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUULlzQvNosUXHKUEf+y7nkJzDrY4nvWJIxglK05xveD0Wo77bU/OxCQc7Tpg0oGjChEEGmCMwq0SUG6/1GP8EZfvRKVQ== X-Google-Smtp-Source: AGHT+IFZv5v86cncAub9HaU/EDrir9A5vVfvrFCr8XFHZPmzJT9hRCzNjxFASXv9XsaBJGNJxQmx X-Received: by 2002:a17:906:6946:b0:a43:bf12:e8a0 with SMTP id c6-20020a170906694600b00a43bf12e8a0mr958660ejs.15.1709197777482; Thu, 29 Feb 2024 01:09:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709197777; cv=pass; d=google.com; s=arc-20160816; b=q7I1QwyDeAj0XOxWoHr19/pnSY4xCeG0gTgiXtTE/wQuHPDeDQ8yux++CfE+5CCSus 0MkhbsJy/9+JT1iHXDt/u62n4Xjv+DnAeIHv9h9EWj07XjzGXoVdQxCzf7v0R3BdrWjv ro8iFTwHgCqVeDb2cg6M3j9KlHP2hXFlTvm9dkQ4W4mgEj+APNPuGsNYM6GcXlFfMGKC vkaB9oXfZcO6Erz6TfXj8UTwuRfCpXA6QJgK+dy8xMUe6K7AynXABWDCXetgMuFzboSK xddsjvc9isDKYEfMSuGFmtoujNfrx0iOHKAOEPjLtJtvezAfTawhbUzCtDv+aoQfh847 9kTw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=R3EH79m2zjg+0l2Fo/85HOfKEzKcJTEn64bTAoTpEgA=; fh=2KFXDED4gw3xGzhKThOcwi5apL1K44LiHaV4Gmr2oi4=; b=ogW185jDnBSUxOqc/7Awag0bea/o+Kl03xzCU1Y9MyLocx0rEwi0Es82sKnsOWKhKz 1EiK9qaNGnW4C+isvT45JDfqBTcXOdeWbFG+urO2O48Uw4/P8j3QTIPq52tskOujSpwo pdTeeoQBvUiUn6xzP+bZV9U8GOH3M1nu6xfGTTh1QXKo7MeJUBFBmy9QXNMvDo5l/4zy 3juRX6obAmNO/O7tDBEOC4tjnQH26//gkXWFnoTbVVnBrPv0TXlwAn/hnYmyItHfLcXX TElN0X2sTJ3CoeKLkZIJ0JFRqqCtRCdrQDHb8WBNbeweAHJCJMzTokxDgsG+tgEI9VLB 5Lzg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OcR3IJE3; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-86369-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86369-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p15-20020a1709061b4f00b00a44526bcb07si145695ejg.268.2024.02.29.01.09.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 01:09:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86369-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OcR3IJE3; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-86369-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86369-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 211CA1F231C5 for ; Thu, 29 Feb 2024 09:09:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 949E357880; Thu, 29 Feb 2024 09:09:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OcR3IJE3" Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8CCB957304; Thu, 29 Feb 2024 09:09:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709197760; cv=none; b=XBUYErqXxUSljlbxFEx6dbGBLGiyfK1yiboPs5P+YgccgVHSOIVjGOABeh/iJ4Qw7IiwKXV95vPwzKxOpbIScq1r4GRJoxdS+XbH7I5C4HKz2rtJVpuHtswgWD5/5utTLYVMZVB75/M2WuGEETD6kQBNPzw0bvMT95KIVA5A+Xc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709197760; c=relaxed/simple; bh=pLcp/aPWuz6dVPZ0ClAp3zNEnHgyX8mxb9Yu5E5+fj8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=hKcfCF/8D4oRKHRjB+SCZo02LpcppidbLXkO7VyI7kBMhypKUJ/+2+5wR0YyX99ZsN6iYIBQuIETsuBEzCpPB1ztsc4w0BjS9MZa0bQ5cnp5wCFY2IrzsAdx/FCx+bhf84f52hW0LMSi/lPjjta4HV0/nbr1WRIpZjtBdQQ3tlw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=OcR3IJE3; arc=none smtp.client-ip=209.85.210.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-6e5760eeb7aso529745b3a.1; Thu, 29 Feb 2024 01:09:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709197759; x=1709802559; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=R3EH79m2zjg+0l2Fo/85HOfKEzKcJTEn64bTAoTpEgA=; b=OcR3IJE3um8/OOO2RWl6TleFQdf4A91KGNXZfxVi8RUiAdglP/lr9bH3iuks6feEFP AItnPTJ31grcGQ0rJ7LOgayi7KGGksTmxiBcVlKvexml+VTWhA1YK7JMW160eedRrU03 Z+w/L2nCZNLXYQrBmm9p/uv+IWAsz3L6QKcD4Jbr3SmLr5Pf4bdHn/hWZtVcXsCFqyTS ZZrMAc1VQqZ1i9SBft1F64vA0WDunDCNeiWB7LeNwkImHj40UFMUHkmyPmHo4+TsiWJj +z9t+yUrlV8F0BmWjhwj5/KLz5twk2YPdGjL42nHGS6V8xRMTHIUkWp7JXbtRhbLuiST 84+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709197759; x=1709802559; 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=R3EH79m2zjg+0l2Fo/85HOfKEzKcJTEn64bTAoTpEgA=; b=B9F9o2N+FJ6buEX3o9Zvn2kOFzMFl3ln1fpM6L41kfZJAwoeD1wAsPdQ3lIPI2BGNI dwI5XE8GyoSwCDJQTv3Y33TgttuJU75RI98d7JPs55/aommdbJyzyaBdq6ezUQo9mA+i wS1hgYXGk8iNoHSN9BflZHKdEn84y6uPEmLU9CEbe2baKuknjB1VO17ahH0NbloslNbU 6bmSr25VWpXNFZG8KuEKQY1otjky1Lmi5v6VCrL1IGQbNjAOE9n6bysYMivARm9yxF1i Udx0pCE0w2UJxTpyFcjWF2YH7KeO6UqOQLECpbqN8/GwrtGl+86+ALubd03e7ezHYnU1 peXQ== X-Forwarded-Encrypted: i=1; AJvYcCV09CfaQH1b6D0SW3PlxnDlc/aCy49tdEQ59MEl7P55XRhtxuKmBM6DcvyHeK49D5XrkUfN5400oTf/SFJ9/hcEeh50INDRqj6Au/is16Ci1bYwtFtkPurQ1cDa+8toEJ8mStIp75Mypg== X-Gm-Message-State: AOJu0Yzo5sA0TC575BsYyRH5WIl4TGbE5pTy4MvS+PmlkRw786KzNONp 099xj+ZfIt9gzYpb9sQP8WtqsUSMPDFSXvUb+eJ4XnhzrMPrkcU5aq4BYs9rMIc= X-Received: by 2002:a05:6a00:985:b0:6e5:584d:e511 with SMTP id u5-20020a056a00098500b006e5584de511mr1925870pfg.17.1709197758834; Thu, 29 Feb 2024 01:09:18 -0800 (PST) Received: from localhost.localdomain (125-229-150-10.hinet-ip.hinet.net. [125.229.150.10]) by smtp.gmail.com with ESMTPSA id e6-20020aa78c46000000b006e0447d48b0sm805883pfd.23.2024.02.29.01.09.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 01:09:18 -0800 (PST) From: Kelly Hung X-Google-Original-From: Kelly Hung To: robh+dt@kernel.org Cc: krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, kelly_hung@asus.com, Allenyy_Hsu@asus.com, Kelly Hung Subject: [PATCH v4 1/2] dt-bindings: arm: aspeed: add ASUS X4TF board Date: Thu, 29 Feb 2024 17:09:12 +0800 Message-Id: <20240229090913.1892215-1-Kelly_Hung@asus.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792223769091865899 X-GMAIL-MSGID: 1792223769091865899 Document the new compatibles used on ASUS X4TF. Signed-off-by: Kelly Hung --- Changes in v4: - The new compatible is a BMC for a ASUS X4TF server which use a ast2600-a3 chip, so correct string to asus,x4tf-bmc. --- 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 749ee54a3..0047eb4ab 100644 --- a/Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +++ b/Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml @@ -74,6 +74,7 @@ properties: - ampere,mtmitchell-bmc - aspeed,ast2600-evb - aspeed,ast2600-evb-a1 + - asus,x4tf-bmc - facebook,bletchley-bmc - facebook,cloudripper-bmc - facebook,elbert-bmc From patchwork Thu Feb 29 09:09:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kelly Hung X-Patchwork-Id: 208273 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp266850dyb; Thu, 29 Feb 2024 01:09:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWRE4P0klClNBEDdO+KkW1gyC+t86NMOP3uOantq9+hsF0y2eBKK2JJceLt/g+nKRzrs5fl3eGtRrhsXshAWHsJ5xMnIQ== X-Google-Smtp-Source: AGHT+IFQURfn867yRGFwbNn4Fv/PPER2CrGo98tDKQTUZwwXh5Z8d5H7WkTBSj5lBddFGZIIXWdJ X-Received: by 2002:a0c:ef4b:0:b0:68f:cd2c:ee9e with SMTP id t11-20020a0cef4b000000b0068fcd2cee9emr1858541qvs.11.1709197792089; Thu, 29 Feb 2024 01:09:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709197792; cv=pass; d=google.com; s=arc-20160816; b=aEgHxLFokM+xoEd19bHEQXW7mgXj8RB3PuHg2mn97Y6o1GC+QkLyIx5sPYwVWt3j+y N3/Zvsv7p7ZW0ArucTyK+SsG254snEcoJTy+R8m9STrLy/qYctO6sFqF0lg5IffyE/TC vXoUt70fdqDwuS1GRyRnRmE9QgnuyIbdVkxsL/5Z3V2GJ3KGoASiPpUafbQ2Z2HWdkP9 zqT9yMFEJQIdMnE4T2mjo/Xmy/4yR4T2Qg2rKNJqiLkLNyitsym3htrXa8cW27uXraje chmZ+2p3YxWkXsa7DqOR9I0RYD8uqqFhMaUST2Noy41Ii52KhKWTLhv6ej7AgsyOYLz2 yaiA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=JZ+4rZrWT2fcP4ZHSognWSfa0yHyvkYxudR5KcRejuM=; fh=m+DKP4wLXTqkTJ+m7Yd9YHuJQ9DhRdenzchzxXYH8oY=; b=WPNakdLAr7RvqRv+ku5m48QdwYYWAFGdHUFLHl7tlcBQ8E/HrwlsTVTjbe6Q9EcbkX s9WBURZ/tmN86Snh7eC2Eg05dpUV2JJieCymxO3/pSou4WK6AFFtGDLBJ+bGYwBGENTM RMmuK8GQsxgR45iT9ZKKS4h4VygT6qQIKoFLEEqM/hgia6RIb/4bTll4DrQqUdGFdFfM mN8et525jy9pf8xDdnWSCe8zzrikZ1sSR8huq9CdEUXMNJmcMPuqkL1DbDnszDbp3Rxa EQG8zjQXnQfTLRWVA1QSKIwbyMFLq9CnC8q37mxKiH5hOGcjlqELNZaBiXWGftbTI1Bm L3Xw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lpMRjaPa; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-86370-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86370-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id kf7-20020a056214524700b0068cab7f4d3bsi931735qvb.181.2024.02.29.01.09.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 01:09:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86370-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lpMRjaPa; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-86370-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86370-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id CF9A41C20CE6 for ; Thu, 29 Feb 2024 09:09:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C166757863; Thu, 29 Feb 2024 09:09:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lpMRjaPa" Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 697D756B9F; Thu, 29 Feb 2024 09:09:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709197767; cv=none; b=VW0TULQNpPhBzMRlvdXKcGOaKdnpsr7RyEofVhBPyUGVKRX/z9+UXv7sPtn4tzsrMpeSqOsseaqm82+CThkkrEDsT91OOUPiAYJg4lXpb5cSqEwdT9PinDOFrlw7CJitanc5Ers9eGRTQSrhiht/u0fX+b/FnxzhRtBneCkkTQQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709197767; c=relaxed/simple; bh=LW9GgN/WBNbqOZzzT9UkdEtgH7WzYLpH7V3fwJIx1zg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=p56mEH3RlhsrZx25P2kxYMoRcCw7W7rGWJGAW85MT3O4g7rWjxDb+qVjUVugLbW3j8O7nu0gN7v49vz1sqeOlJUf6QRBsxO+d5tso9yWl1sPWI0KrhbxtoDjSCpFcKsqYTt36/er4oRhIHmpfmmKZ/ZxbiyIX/5ZE+uU5LpKqd0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=lpMRjaPa; arc=none smtp.client-ip=209.85.210.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6da202aa138so416221b3a.2; Thu, 29 Feb 2024 01:09:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709197763; x=1709802563; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JZ+4rZrWT2fcP4ZHSognWSfa0yHyvkYxudR5KcRejuM=; b=lpMRjaPaKEq9PEqrSmCxb6PToBndUOa6AGBElMsdNcOErKOUPsIIeW4/46aDDceVrS /TzTIH2Dtgroecgrj8A5EwpBxQAOqVUoRJ1hFYW/BIXs7iDOQy6ekPRBUXJAarpn7oSk oID9Ke1szL/Nbxa1tfWfCd+i2TDGu8Ayi14Rt5vZtsXDhKcKMZnkp326KOZWknGF+2nz T54US716IpKsel16enV8yhk+AWojm07avzab4VzZIFDtTy34dQF8KLnLSSgrRQSowtqR YP2tttzJsxJEiiC4+mlQe1hG9T65Fy4HLWbG6dYXMGFEa7AnfpgTSEpDh5srZ7kTn3Yl FvRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709197763; x=1709802563; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JZ+4rZrWT2fcP4ZHSognWSfa0yHyvkYxudR5KcRejuM=; b=oZ3FpjEOUkqPFHg4qsGnCIuSVJsDZcxdCSSVyyxGSwC9ztdBp4biVrak88n3+Sz/6t ycuUGGrnxJjEYHAZX9LiI2zFmBTn5LIck22LubKbhGimZFRwXT2Al6JxfibzA4ZnpCTi 0/+Yhg+aJyXTYd7cV1Udbhx719CTY7SAd9UbkQM/3OokimkOgBfCiRiSwECrVk74uhZ7 xWfJWeICBo3oxwxWq8t7B6R0cXw6mepmM1yy/r/2DPwrE70jiSbYLDG0kiCuUB3OM4gP i3auXdFvAB8oldA5n837YhbzbJBizYYiUGj7GEfsxSGYXan56NC3g3GGbXDRmuFScC3Y AlKg== X-Forwarded-Encrypted: i=1; AJvYcCWwQkDn9+PNPRq5WFLovjQyPydRMcQCXRwyO9XD+TYMaYZcZoZkREpLy3avR1MxU7caPvU1oz01soHcgXkg1klFoMf8uceKGYBRRTKY9VMWKUawTU5DEWG9ZdH4LHQnrl3XOwYA/a2R6g== X-Gm-Message-State: AOJu0Yy5565JgdNf/KkYY8AS9NFGOwb1psyT+iRkZ7sVyl/KE2Pc3Llx +tGTI23ZzzjbZ1IDVDu0ECh+qV3P/6QrXRTBMqhxbaOkA9RrpRNy X-Received: by 2002:a62:f245:0:b0:6e5:41c8:a925 with SMTP id y5-20020a62f245000000b006e541c8a925mr1467650pfl.7.1709197762620; Thu, 29 Feb 2024 01:09:22 -0800 (PST) Received: from localhost.localdomain (125-229-150-10.hinet-ip.hinet.net. [125.229.150.10]) by smtp.gmail.com with ESMTPSA id e6-20020aa78c46000000b006e0447d48b0sm805883pfd.23.2024.02.29.01.09.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 01:09:22 -0800 (PST) From: Kelly Hung X-Google-Original-From: Kelly Hung To: robh+dt@kernel.org Cc: krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, kelly_hung@asus.com, Allenyy_Hsu@asus.com, Kelly Hung Subject: [PATCH v4 2/2] ARM: dts: aspeed: x4tf: Add dts for asus x4tf project Date: Thu, 29 Feb 2024 17:09:13 +0800 Message-Id: <20240229090913.1892215-2-Kelly_Hung@asus.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240229090913.1892215-1-Kelly_Hung@asus.com> References: <20240229090913.1892215-1-Kelly_Hung@asus.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792223784206284748 X-GMAIL-MSGID: 1792223784206284748 Base on aspeed-g6.dtsi and can boot into BMC console. Signed-off-by: Kelly Hung --- Changes in v3: - fmc lable change to bmc. - use 64M partition layout. - rename spi1 label to bios. - remove bios partition section. Changes in v4: - None --- arch/arm/boot/dts/aspeed/Makefile | 1 + .../boot/dts/aspeed/aspeed-bmc-asus-x4tf.dts | 581 ++++++++++++++++++ 2 files changed, 582 insertions(+) create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-asus-x4tf.dts diff --git a/arch/arm/boot/dts/aspeed/Makefile b/arch/arm/boot/dts/aspeed/Makefile index d3ac20e31..32c41f3d9 100644 --- a/arch/arm/boot/dts/aspeed/Makefile +++ b/arch/arm/boot/dts/aspeed/Makefile @@ -10,6 +10,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ aspeed-bmc-arm-stardragon4800-rep2.dtb \ aspeed-bmc-asrock-e3c246d4i.dtb \ aspeed-bmc-asrock-romed8hm3.dtb \ + aspeed-bmc-asus-x4tf.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-x4tf.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-asus-x4tf.dts new file mode 100644 index 000000000..64f4ed07c --- /dev/null +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-asus-x4tf.dts @@ -0,0 +1,581 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// Copyright 2024 ASUS Corp. + +/dts-v1/; + +#include "aspeed-g6.dtsi" +#include "aspeed-g6-pinctrl.dtsi" +#include +#include + +/ { + model = "ASUS-X4TF"; + compatible = "asus,x4tf-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; + }; + }; + + iio-hwmon { + compatible = "iio-hwmon"; + io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>, + <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>, + <&adc1 0>, <&adc1 1>, <&adc1 2>, <&adc1 3>, + <&adc1 4>, <&adc1 5>, <&adc1 6>, <&adc1 7>; + }; + + leds { + compatible = "gpio-leds"; + + led-heartbeat { + gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>; + linux,default-trigger = "heartbeat"; + }; + + led-uid { + gpios = <&gpio0 ASPEED_GPIO(P, 1) (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; + default-state = "off"; + }; + + led-status_Y { + gpios = <&gpio1 ASPEED_GPIO(B, 1) GPIO_ACTIVE_LOW>; + default-state = "off"; + }; + + led-sys_boot_status { + gpios = <&gpio1 ASPEED_GPIO(B, 0) GPIO_ACTIVE_LOW>; + default-state = "off"; + }; + }; +}; + +&adc0 { + vref = <2500>; + 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 = <2500>; + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default + &pinctrl_adc10_default &pinctrl_adc11_default + &pinctrl_adc12_default &pinctrl_adc13_default + &pinctrl_adc14_default &pinctrl_adc15_default>; +}; + +&peci0 { + status = "okay"; +}; + +&lpc_snoop { + snoop-ports = <0x80>; + status = "okay"; +}; + +&mac2 { + status = "okay"; + phy-mode = "rmii"; + use-ncsi; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rmii3_default>; +}; + +&mac3 { + status = "okay"; + phy-mode = "rmii"; + use-ncsi; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rmii4_default>; +}; + +&fmc { + status = "okay"; + + flash@0 { + status = "okay"; + m25p,fast-read; + label = "bmc"; + spi-max-frequency = <50000000>; +#include "openbmc-flash-layout-64.dtsi" + }; +}; + +&spi1 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_spi1_default>; + + flash@0 { + status = "okay"; + label = "bios"; + spi-max-frequency = <50000000>; + }; +}; + +&i2c0 { + status = "okay"; +}; + +&i2c1 { + status = "okay"; +}; + +&i2c2 { + status = "okay"; +}; + +&i2c3 { + status = "okay"; +}; + +&i2c4 { + status = "okay"; + + temperature-sensor@48 { + compatible = "ti,tmp75"; + reg = <0x48>; + }; + + temperature-sensor@49 { + compatible = "ti,tmp75"; + reg = <0x49>; + }; + + pca9555_4_20: gpio@20 { + compatible = "nxp,pca9555"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + pca9555_4_22: gpio@22 { + compatible = "nxp,pca9555"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + pca9555_4_24: gpio@24 { + compatible = "nxp,pca9555"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = + /*A0 - A3 0*/ "", "STRAP_BMC_BATTERY_GPIO1", "", "", + /*A4 - A7 4*/ "", "", "", "", + /*B0 - B7 8*/ "", "", "", "", "", "", "", ""; + }; + + pca9555_4_26: gpio@26 { + compatible = "nxp,pca9555"; + reg = <0x26>; + gpio-controller; + #gpio-cells = <2>; + }; + + i2c-mux@70 { + compatible = "nxp,pca9546"; + status = "okay"; + reg = <0x70>; + #address-cells = <1>; + #size-cells = <0>; + + channel_1: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + }; + + channel_2: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + }; + + channel_3: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + }; + + channel_4: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + }; + }; +}; + +&i2c5 { + status = "okay"; + + pca9555_5_24: gpio@24 { + compatible = "nxp,pca9555"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + + i2c-mux@70 { + compatible = "nxp,pca9546"; + status = "okay"; + reg = <0x70 >; + #address-cells = <1>; + #size-cells = <0>; + + channel_5: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + pca9555_5_5_20: gpio@20 { + compatible = "nxp,pca9555"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = + "", "", "", "", "", "", "", "", + "", "", "SYS_FAN6", "SYS_FAN5", + "SYS_FAN4", "SYS_FAN3", + "SYS_FAN2", "SYS_FAN1"; + }; + + pca9555_5_5_21: gpio@21 { + compatible = "nxp,pca9555"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + power-monitor@44 { + compatible = "ti,ina219"; + reg = <0x44>; + shunt-resistor = <2>; + }; + }; + + channel_6: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + }; + + channel_7: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + }; + + channel_8: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + }; + }; +}; + +&i2c6 { + status = "okay"; + + pca9555_6_27: gpio@27 { + compatible = "nxp,pca9555"; + reg = <0x27>; + gpio-controller; + #gpio-cells = <2>; + }; + + pca9555_6_20: gpio@20 { + compatible = "nxp,pca9555"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = + /*A0 0*/ "", "", "", "", "", "", "", "", + /*B0 8*/ "Drive_NVMe1", "Drive_NVMe2", "", "", + /*B4 12*/ "", "", "", ""; + }; + + pca9555_6_21: gpio@21 { + compatible = "nxp,pca9555"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; +}; + +&i2c7 { + status = "okay"; + + i2c-mux@70 { + compatible = "nxp,pca9546"; + status = "okay"; + reg = <0x70>; + #address-cells = <1>; + #size-cells = <0>; + idle-state = <1>; + + channel_9: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + temperature-sensor@48 { + compatible = "ti,tmp75"; + reg = <0x48>; + }; + + temperature-sensor@49 { + compatible = "ti,tmp75"; + reg = <0x49>; + }; + + power-monitor@40 { + compatible = "ti,ina219"; + reg = <0x40>; + shunt-resistor = <2>; + }; + + power-monitor@41 { + compatible = "ti,ina219"; + reg = <0x41>; + shunt-resistor = <5>; + }; + }; + + channel_10: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + }; + + channel_11: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + }; + + channel_12: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + }; + }; + + i2c-mux@71 { + compatible = "nxp,pca9546"; + status = "okay"; + reg = <0x71>; + #address-cells = <1>; + #size-cells = <0>; + i2c-mux-idle-disconnect; + + channel_13: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + }; + + channel_14: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + }; + + channel_15: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + }; + + channel_16: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + }; + }; +}; + +&i2c8 { + status = "okay"; + + i2c-mux@70 { + compatible = "nxp,pca9546"; + status = "okay"; + reg = <0x70>; + #address-cells = <1>; + #size-cells = <0>; + i2c-mux-idle-disconnect; + + channel_17: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + }; + + channel_18: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + + temperature-sensor@48 { + compatible = "ti,tmp75"; + reg = <0x48>; + }; + + power-monitor@41 { + compatible = "ti,ina219"; + reg = <0x41>; + shunt-resistor = <5>; + }; + }; + + channel_19: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + }; + + channel_20: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + }; + }; +}; + +&i2c9 { + status = "okay"; +}; + +&i2c10 { + status = "okay"; +}; + +&i2c11 { + status = "okay"; +}; + +&i2c14 { + status = "okay"; + multi-master; + + eeprom@50 { + compatible = "atmel,24c08"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c08"; + reg = <0x51>; + }; +}; + +&sgpiom0 { + status = "okay"; + ngpios = <128>; +}; + +&video { + status = "okay"; + memory-region = <&video_engine_memory>; +}; + +&sdc { + status = "okay"; +}; + +&lpc_snoop { + status = "okay"; + snoop-ports = <0x80>; +}; + +&kcs1 { + aspeed,lpc-io-reg = <0xca0>; + status = "okay"; +}; + +&kcs2 { + aspeed,lpc-io-reg = <0xca8>; + status = "okay"; +}; + +&kcs3 { + aspeed,lpc-io-reg = <0xca2>; + status = "okay"; +}; + +&uart3 { + status = "okay"; +}; + +&uart5 { + status = "okay"; +}; + +&uart_routing { + status = "okay"; +}; + +&vhub { + status = "okay"; +}; + +&gpio0 { + gpio-line-names = + /*A0 0*/ "", "", "", "", "", "", "", "", + /*B0 8*/ "", "", "", "", "", "", "PS_PWROK", "", + /*C0 16*/ "", "", "", "", "", "", "", "", + /*D0 24*/ "", "", "", "", "", "", "", "", + /*E0 32*/ "", "", "", "", "", "", "", "", + /*F0 40*/ "", "", "", "", "", "", "", "", + /*G0 48*/ "", "", "", "", "", "", "", "", + /*H0 56*/ "", "", "", "", "", "", "", "", + /*I0 64*/ "", "", "", "", "", "", "", "", + /*J0 72*/ "", "", "", "", "", "", "", "", + /*K0 80*/ "", "", "", "", "", "", "", "", + /*L0 88*/ "", "", "", "", "", "", "", "", + /*M0 96*/ "", "", "", "", "", "", "", "", + /*N0 104*/ "", "", "", "", + /*N4 108*/ "POST_COMPLETE", "ESR1_GPIO_AST_SPISEL", "", "", + /*O0 112*/ "", "", "", "", "", "", "", "", + /*P0 120*/ "ID_BUTTON", "ID_OUT", "POWER_BUTTON", "POWER_OUT", + /*P4 124*/ "RESET_BUTTON", "RESET_OUT", "", "HEARTBEAT", + /*Q0 128*/ "", "", "", "", "", "", "", "", + /*R0 136*/ "", "", "", "", "", "", "", "", + /*S0 144*/ "", "", "", "", "", "", "", "", + /*T0 152*/ "", "", "", "", "", "", "", "", + /*U0 160*/ "", "", "", "", "", "", "", "", + /*V0 168*/ "", "", "", "", "", "", "", "", + /*W0 176*/ "", "", "", "", "", "", "", "", + /*X0 184*/ "", "", "", "", "", "", "", "", + /*Y0 192*/ "", "", "", "", "", "", "", "", + /*Z0 200*/ "", "", "", "", "", "", "", ""; +};