From patchwork Tue Jan 2 04:44:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 1881529 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=mGOwXKxC; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4T40gq30Brz23dJ for ; Tue, 2 Jan 2024 15:47:03 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=mGOwXKxC; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4T40gp6v3Kz3btk for ; Tue, 2 Jan 2024 15:47:02 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=mGOwXKxC; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::102a; helo=mail-pj1-x102a.google.com; envelope-from=peteryin.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4T40fx6z4pz3bn7 for ; Tue, 2 Jan 2024 15:46:17 +1100 (AEDT) Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-28c467446f0so3884114a91.0 for ; Mon, 01 Jan 2024 20:46:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704170775; x=1704775575; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=cAxabFINcvVYO/q2LghOlxe+58oZ0L+QsCNCz6T1Lcg=; b=mGOwXKxCBZoQ26z2IMVCf04KaTHjsVpSnozgmxNkG4V6dZz49vG3FHpDrHw3H8rkSW VWgoobZ8rsOUgvnYeCONoK7PuUtfRPgvJ5QrKFFYyQj6JGmbxARBdf6p+sOtLF7ugM8q qnWaKeSuezsE3KIsb22D9DeQcTqUeDMO2HKGz1gwem1c7zaevuHSlYBIW01Pk4GPuCmT mNijIRj5RJaWG17xRY5wL005F/ky9EFdPztgkgICOhvkHfDde1vZRjRqSnQnbh0oZ890 j7pw2Gp9oqXAj3jpRh56jhJWC0hkVXFSYtsCdcNXAKkoKjLULDklUcrD2oFSKvWQX7Fi oJbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704170775; x=1704775575; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cAxabFINcvVYO/q2LghOlxe+58oZ0L+QsCNCz6T1Lcg=; b=bGlAAs6IurJSlflhDSirRUFW/t47RP9fjuAIZecVmVZxQoGHk0GJOxIfPrkQPb5A5m 53ScbtKva4QujDZOSGyj8L0UlXYpN/7//uaIb+svN+wKEgtJlyEHrd4PYMP0jtqDSqH3 F8DAwoXo16yse7ZpVAfVPrKYuDgNp8PDGUpSvkE/sYouoTNM6P/QzWuS/HBzQxOUg6GZ gp2n7vYyWEPBvMrMhVDbfL4hG8mIqXdFMFEw568NAUSazye5KOxXsfMQCKzi2pIa2DvC CPdkI9KnsPNEpjeTH0pLdMGDewWUS5wUirp44uxy7kMVI++/VY5Yoa3TgyhEvvwAdOmq sqow== X-Gm-Message-State: AOJu0YxMj8fK+NNbCL4vUFiixEQtieT4zGCsF7SwzxOClbgj7rC7lmO3 cI2KXREUu4Wq9S+gaoh/M8rv7K39TcU= X-Google-Smtp-Source: AGHT+IH9IqOgrvDHv0JBk46CuYwK0n0E7o0qckt63SLybfH3Rj3RdJ4BvjYWOLWs2BqYO1BI/Oun0g== X-Received: by 2002:a17:90a:8685:b0:28c:95fc:c322 with SMTP id p5-20020a17090a868500b0028c95fcc322mr10494576pjn.5.1704170775269; Mon, 01 Jan 2024 20:46:15 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id d21-20020a17090abf9500b0028c2b2b76c0sm17308392pjs.22.2024.01.01.20.46.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 20:46:15 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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: [PATCH v1 1/5] ARM: dts: aspeed: Harma: Revise SGPIO line name. Date: Tue, 2 Jan 2024 12:44:05 +0800 Message-Id: <20240102044409.3810873-2-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240102044409.3810873-1-peteryin.openbmc@gmail.com> References: <20240102044409.3810873-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" The same name as reset-control-smb-e1s change to reset-control-smb-e1s-0 and reset-control-smb-e1s-0. Signed-off-by: Peter Yin --- Revise linux device tree entry related to Meta(Facebook) Harma specific devices connected to BMC(AST2600) SoC. Base on : https://lore.kernel.org/all/CACPK8XePx+PvDKzPMjPRn_g9z8yrtAmLvP8Qbepm1AVjuCbaKw@mail.gmail.com/ Change log: v1 - Patch 0001 - Revise SGPIO line name. - Patch 0002 - Mapping ttyS2 to UART4. - Patch 0003 - Remove Vuart. - Patch 0004 - Add cpu power good line name. - Patch 0005 - Add spi-gpio. --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index 7db3f9eb0016..8a173863ef24 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -505,9 +505,9 @@ &sgpiom0 { "","reset-control-cpu0-p1-mux", "","reset-control-e1s-mux", "power-host-good","reset-control-mb-mux", - "","reset-control-smb-e1s", + "","reset-control-smb-e1s-0", /*E0-E3 line 64-71*/ - "","reset-control-smb-e1s", + "","reset-control-smb-e1s-1", "host-ready-n","reset-control-srst", "presence-e1s-0","reset-control-usb-hub", "","reset-control", From patchwork Tue Jan 2 04:44:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 1881531 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=W8VsNhox; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4T40j04l1Qz23dJ for ; Tue, 2 Jan 2024 15:48:04 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=W8VsNhox; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4T40j00Lgyz3bnc for ; Tue, 2 Jan 2024 15:48:04 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=W8VsNhox; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::102b; helo=mail-pj1-x102b.google.com; envelope-from=peteryin.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4T40g01bchz3bYQ for ; Tue, 2 Jan 2024 15:46:19 +1100 (AEDT) Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-28c93513462so1790976a91.2 for ; Mon, 01 Jan 2024 20:46:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704170777; x=1704775577; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=pegTGAgIl7701EaFNdsQSg89lpjeCGj36MeNrr3t5wk=; b=W8VsNhoxJolSPMqSuPYSdUXt/mz+g8tSTBna+FwMGktC/ZX2647atnQCxaPCQrbPtk Sj63C69P/qSf3ZuOiHirkv27oZpQuUD5Ij9AiMn63KkuZKeSm/8amQT0VKZ4jRH9j/VE xaKExfs0xWT458cOaBWUkYq1ypF/SWMXqcJnq2GLXMNigj60DD/xdR0pPyWuDjOflJHs rlnDAeZqGObv5h9ZoZB6RLE96Rd7R1ZZUNwo365+0SJD5M2EhDfBi9G8TldwSf6x5bt7 ynGZZAPU63kdTDp7hMbe0/OkfdJ6ap+rbdwsOlslOILuZFW18XhWss9/zyovlmoPT421 eVqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704170777; x=1704775577; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pegTGAgIl7701EaFNdsQSg89lpjeCGj36MeNrr3t5wk=; b=lLUTLBhvPR8ml+YV2W8IJLTD3yAw4nCz7h5ahytaG1cvlH4O7Yar23AjF+vqmwdLF0 lS2q7zqH3KPZLVfWz6KQ1jb/GunmM7i32iMMEq5mM0qe5S1sWXwcWbD2gWUXuXQIIUe3 SDLm1hKaUG1EX0lCvjjm/BiCqQgk8IUwigYfHWHNaF1vo6n8M7aNy5t70XTiVbCAFcd0 tdV8N1gXA1aI5AvFBSXd2JwGzj2ZXi1/78GxvCye6aqNLC7P0w8VtiF6XE1crkdHPBuo +XsI94/eG581t05V9nsAO+41u+1M5bdHgSWALP+Z8IZyYnBAh1GdcxMy45P5Setd9sqK BWSg== X-Gm-Message-State: AOJu0YyqT/RwM5PeZkMZswuRL0t3yN1SyJKQQUZAd6vJ6gverai+C682 6YkNlV7yUyj1Km6bQK/9MUhAKvl7QOA= X-Google-Smtp-Source: AGHT+IF3LqXMu5rUi/ayumGisrNXTGKX7bcbdyYwyFjHp54a4fVsRcuAeq2mGkGmVOteQsOtxFRFeA== X-Received: by 2002:a17:90a:f98d:b0:28c:843c:105b with SMTP id cq13-20020a17090af98d00b0028c843c105bmr3699238pjb.27.1704170777666; Mon, 01 Jan 2024 20:46:17 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id d21-20020a17090abf9500b0028c2b2b76c0sm17308392pjs.22.2024.01.01.20.46.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 20:46:17 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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: [PATCH v1 2/5] ARM: dts: aspeed: Harma: mapping ttyS2 to UART4. Date: Tue, 2 Jan 2024 12:44:06 +0800 Message-Id: <20240102044409.3810873-3-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240102044409.3810873-1-peteryin.openbmc@gmail.com> References: <20240102044409.3810873-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Change routing to match SOL(Serial Over LAN) settings. Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index 8a173863ef24..a0056d633eb1 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -12,8 +12,8 @@ / { aliases { serial0 = &uart1; - serial1 = &uart6; - serial2 = &uart2; + serial1 = &uart2; + serial2 = &uart4; serial4 = &uart5; i2c20 = &imux20; From patchwork Tue Jan 2 04:44:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 1881532 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=kmjQVvsx; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4T40j444tZz23dJ for ; Tue, 2 Jan 2024 15:48:08 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=kmjQVvsx; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4T40j41fVhz3bnc for ; Tue, 2 Jan 2024 15:48:08 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=kmjQVvsx; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::1031; helo=mail-pj1-x1031.google.com; envelope-from=peteryin.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4T40g23XZKz3bmb for ; Tue, 2 Jan 2024 15:46:22 +1100 (AEDT) Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-28bd623c631so7458121a91.3 for ; Mon, 01 Jan 2024 20:46:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704170780; x=1704775580; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=KHfABZko5E3OyVpk0Pm7Tx9/GwQM3X5Y0l7yapoWLPM=; b=kmjQVvsxKqPeQjV14Um7Oj3H0b6m7zfRFcIVJ5woFiKf0nv8CXQP+VLi3dIGexalth 7WHhCjsLoVB4jGmU1VV03tpQJRkXFRrRbJGw4Xzf8dyRUFKa/YhT2JKQW7ABFmm0w3jQ qX0hOyZrOdIKqKdZJIhOojKe7W5z70sLm4oSdMb4v154wxTTSOUz1QhY6EHbfmY1v5iJ 5ciHNlNEoZXRsyfCugGvnfGdIpvtpkD9W0rRWGpKVkeJfj+wddo1tTL1/QdWrp+9k2Xo iFIQ/nCBs7wHzKDEwLU/FY3nRxgpiri5IaO7JoC44wendBs6pztdz3SAov9TbFDvbFXA apBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704170780; x=1704775580; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KHfABZko5E3OyVpk0Pm7Tx9/GwQM3X5Y0l7yapoWLPM=; b=mf1DgBrVuGdrj56+TQ1agX8u3QbWa1GGpg1Td4Tt49r6O6SRlbLKEib+CaINtUP222 tc+bkDi64Z8tKJioqnOAxfxnz6AX9f3bskxb7XNBM10o/jRSNOmijyZeZvSW69jfRs7a D8ci0+glFGqjn+wQJmwcBCZRnroDnPGoP3ExFKAUqAag/8+noO70RHnna7ysrzx3VQZW 7Ef6oYO1MWsawWs/60NI+Vs2K6/YJ7qw8E/6Tr3M0w2SAqJy0nJoqkAQ2PhuE3nt7fil KzRDtVD7uLe5v1zvA4MFRAphrwd59JW8u980vEo2EBweb+wv4UmEXzkhWkE8vR2CB7bS jZeg== X-Gm-Message-State: AOJu0YwQ3dK+WjCWv7oFPeV7EZbkI29bIpbWiHkeGjiBcvZOFaPsG7b+ B3k1hlXNjFhAp9LY11eyJ9w= X-Google-Smtp-Source: AGHT+IEzzDEg3r0oZfdhsV1Nr6yrEvbWCtjZygtLmN2XYZpEq4qUatFFkmkI9O0r7Lsjjffya75KzA== X-Received: by 2002:a17:90a:8f03:b0:28b:904a:93f2 with SMTP id g3-20020a17090a8f0300b0028b904a93f2mr8478432pjo.32.1704170780021; Mon, 01 Jan 2024 20:46:20 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id d21-20020a17090abf9500b0028c2b2b76c0sm17308392pjs.22.2024.01.01.20.46.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 20:46:19 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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: [PATCH v1 3/5] ARM: dts: aspeed: Harma: Remove Vuart Date: Tue, 2 Jan 2024 12:44:07 +0800 Message-Id: <20240102044409.3810873-4-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240102044409.3810873-1-peteryin.openbmc@gmail.com> References: <20240102044409.3810873-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Remove vuart to avoid port conflict with uart2 Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index a0056d633eb1..5d692e9f541e 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -100,10 +100,6 @@ &uart_routing { status = "okay"; }; -&vuart1 { - status = "okay"; -}; - &wdt1 { status = "okay"; pinctrl-names = "default"; From patchwork Tue Jan 2 04:44:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 1881533 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Ic4MXuCd; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4T40j90zyqz23dJ for ; Tue, 2 Jan 2024 15:48:13 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Ic4MXuCd; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4T40j85dVdz3cM7 for ; Tue, 2 Jan 2024 15:48:12 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Ic4MXuCd; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::734; helo=mail-qk1-x734.google.com; envelope-from=peteryin.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4T40g56HLmz301f for ; Tue, 2 Jan 2024 15:46:25 +1100 (AEDT) Received: by mail-qk1-x734.google.com with SMTP id af79cd13be357-781599b8f3cso462157285a.0 for ; Mon, 01 Jan 2024 20:46:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704170782; x=1704775582; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=4mmt0UdSDV+w1BWZtmNFxfAxPy3KjCbVYZPCzBNdDlQ=; b=Ic4MXuCdL7da/AqG4NntLO6t0g11UHmwjP5A9ohRdq0tOc1OFjP7DTwD6ROre0dorH S+9xs6iHYtR5sTJcwz2kD5tRPRB+6a+RBlx97IY7WaEpcTlW/6D9pmOfAIj0tm35Ikdz EhpjzQDhpeyHINj+7DYpCQgCJIrVBO2EjJR3H5HAdrskSTRBhdf1bZHar7EF/nLEOaro JbB5/0uveFEkjCYEuchWzji7xwm7zxKB8LR4iwZZZoyJnbRyZuztFSpHTtR6aPwlmXhe 8kXwFSKRnpFGGzEm3oLA5oKH7wl7rtZdPNsHWsaEWDscnSIowQ4Cy5KTMz5woiqfm13y /RdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704170782; x=1704775582; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4mmt0UdSDV+w1BWZtmNFxfAxPy3KjCbVYZPCzBNdDlQ=; b=B6sjlVSVhEd68qHEZ+B2AqT869dnIwMEPDxYiEUhsnvqPlr/mWDgJ8j4s5O0GFe5Hf w8+6qThVzHuwQqC+iId8R1DHF1ok6QWmcLhml49pzbkoCbLftyX4RBjJv1co4Vi4c+FM m0sbPIAPiTfZIx4E0AEhHtNeAGs715TPcsuT3GupKurAmz21eWcdtCV/41ysHGURunZj nsqoPbIau+UZf9HwItSz43ONHYzSwL3rT6TSr5uamrZDra8FRHpGxTTGuCwCiDtI8fwW +mLNBCo+Bt899rTH9FzJDmz+/P95V4hJmqrbh1Bru2XrborZHtcDa3LBuVrbw0mmsfez DZYw== X-Gm-Message-State: AOJu0Yz0cuBtOg+lEWJnh5i0MHd3YjJRTJAeehtRXACh9EmOaJD/eERz bHqItIVnMTEqOt8sx2DUcfg= X-Google-Smtp-Source: AGHT+IFekV5ykuriyA0cyhHIsh3wYdvqjCWU5c4oxMfbMAa88xJi8Tq/V8wVvPx7CwejKkS8Ffl2Uw== X-Received: by 2002:a05:620a:4ace:b0:781:bac6:e252 with SMTP id sq14-20020a05620a4ace00b00781bac6e252mr3738109qkn.8.1704170782408; Mon, 01 Jan 2024 20:46:22 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id d21-20020a17090abf9500b0028c2b2b76c0sm17308392pjs.22.2024.01.01.20.46.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 20:46:22 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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: [PATCH v1 4/5] ARM: dts: aspeed: Harma: Add cpu power good line name Date: Tue, 2 Jan 2024 12:44:08 +0800 Message-Id: <20240102044409.3810873-5-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240102044409.3810873-1-peteryin.openbmc@gmail.com> References: <20240102044409.3810873-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Add a line name for cpu power good. Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index 5d692e9f541e..36aad01dda20 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -501,7 +501,7 @@ &sgpiom0 { "","reset-control-cpu0-p1-mux", "","reset-control-e1s-mux", "power-host-good","reset-control-mb-mux", - "","reset-control-smb-e1s-0", + "power-cpu-good","reset-control-smb-e1s-0", /*E0-E3 line 64-71*/ "","reset-control-smb-e1s-1", "host-ready-n","reset-control-srst", From patchwork Tue Jan 2 04:44:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 1881534 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=POzk4v+O; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4T40jF3Jq6z23dJ for ; Tue, 2 Jan 2024 15:48:17 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=POzk4v+O; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4T40jF0rykz3cSJ for ; Tue, 2 Jan 2024 15:48:17 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=POzk4v+O; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::102a; helo=mail-pj1-x102a.google.com; envelope-from=peteryin.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4T40g61K6Wz3bn8 for ; Tue, 2 Jan 2024 15:46:26 +1100 (AEDT) Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-28c075ad8e7so6445431a91.2 for ; Mon, 01 Jan 2024 20:46:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704170785; x=1704775585; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=tfJIsodrpZIIAMpybgAC7qz4iEokdxJ5UnhS1fS4za0=; b=POzk4v+OBAD6S5jjVL1tjZScU4AdgxPXwW8qwNtG3h4VpmGdpTc9+jDCnWl5mVvzy4 fvgKAC5d++tioq57XrsxukWwkSocuWrMpTijgKNf3lEk8Kr0bOo2H+U4fB46qum0HCpN RmCurBQNv5fuE73tWSaOjOf5wSInHbHuQKcLdZ7vhWmxSGKDRy8JlSwPTIqLLyYTCt7U 7t3yH+8rLDmcXZXfXl52ojM3GQ/gXWyr+kPLjB/34EWNHxsn1jraznCKQ1GZ93awKqSr uAyQnhnefN4+Tc9UMlO1JGFdXSBFoY+R00G0HwlSzp3KsW6JOctMwvc9WJseshQppXMl dpDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704170785; x=1704775585; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tfJIsodrpZIIAMpybgAC7qz4iEokdxJ5UnhS1fS4za0=; b=wKDOKrcW+HQKrl+V+tzVsZsLj3FS3kbw2ChNlzEGVKAMeaSE/jA+b6BRHgkQD9BjuX ImpJ1E867lLy8fjnW01VBfGUxy4kXU45rm4oKraBnfqpwx447QFXuPGfuXlUaKTzuWc8 oIqa8PPc7Rm3WrvxBtkvIR5j4fbUM7A3aFZuTO3bYubvzbm7N/SxSZdV+C7EZwV7m9hU 3qUZpaEYXvHmXvokDnqqT2wBKBTKPHP9B3XmIY8QC14mIDmY/lsW+A/2Km//CtWIk4Z4 +Tz+dS21HWi07HG49oNvtVbJVB2Y/XmCn2tdw5p40/AU57x0MLrgY/a0vc4MPyRUPKCD 1bZg== X-Gm-Message-State: AOJu0YyZarEQ6VrIthz3IL3lkL6pixmsy2fctV73Uk1SritLCggqAW1V couZ24k7MnUP7stiBNSREBI= X-Google-Smtp-Source: AGHT+IHqRXcCWjxv7N4EPqiNsAsagi/uGM9jN5nqeDXbh3ZChgvTzpXvqFuFgkHctP21eOphDhuWJQ== X-Received: by 2002:a17:90b:1b41:b0:28c:2e37:bd97 with SMTP id nv1-20020a17090b1b4100b0028c2e37bd97mr7354431pjb.80.1704170784753; Mon, 01 Jan 2024 20:46:24 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id d21-20020a17090abf9500b0028c2b2b76c0sm17308392pjs.22.2024.01.01.20.46.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 20:46:24 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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: [PATCH v1 5/5] ARM: dts: aspeed: Harma: Add spi-gpio Date: Tue, 2 Jan 2024 12:44:09 +0800 Message-Id: <20240102044409.3810873-6-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240102044409.3810873-1-peteryin.openbmc@gmail.com> References: <20240102044409.3810873-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Add spi-gpio for tpm device. Signed-off-by: Peter Yin --- .../dts/aspeed/aspeed-bmc-facebook-harma.dts | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index 36aad01dda20..25ae044cd176 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -28,6 +28,8 @@ aliases { i2c29 = &imux29; i2c30 = &imux30; i2c31 = &imux31; + + spi1 = &spi_gpio; }; chosen { @@ -67,6 +69,25 @@ led-2 { gpios = <&gpio0 124 GPIO_ACTIVE_HIGH>; }; }; + + spi_gpio: spi-gpio { + status = "okay"; + compatible = "spi-gpio"; + #address-cells = <1>; + #size-cells = <0>; + + gpio-sck = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; + gpio-mosi = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>; + gpio-miso = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>; + num-chipselects = <1>; + cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; + + tpmdev@0 { + compatible = "tcg,tpm_tis-spi"; + spi-max-frequency = <33000000>; + reg = <0>; + }; + }; }; // HOST BIOS Debug