From patchwork Mon Dec 26 05:51:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Potin Lai X-Patchwork-Id: 1721681 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=EGEYtIuT; dkim-atps=neutral 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 (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NndDF2TG8z23dq for ; Thu, 5 Jan 2023 18:20:45 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4NndDD2XhRz3bTc for ; Thu, 5 Jan 2023 18:20:44 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=EGEYtIuT; dkim-atps=neutral X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::635; helo=mail-pl1-x635.google.com; envelope-from=potin.lai.pt@gmail.com; receiver=) 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=20210112 header.b=EGEYtIuT; dkim-atps=neutral Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) (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 4NgRmJ4jzJz304m for ; Mon, 26 Dec 2022 16:53:35 +1100 (AEDT) Received: by mail-pl1-x635.google.com with SMTP id b2so9967085pld.7 for ; Sun, 25 Dec 2022 21:53:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=87f0TKfgjxiemevwHpQhVGmMoe8NuCN8KvjmmGoJcKg=; b=EGEYtIuTMn8MFU28uvs+0+x5aBW+TWVuZTJhFqlOf5QMLAQuv2KEi9SC8U7WGyOO7a BLebVLh7d7fuBw/ZV7jQUxrioLb90S5j/zBbpIL2YQ6eoKPTegrbrg/JthSma3ekt2a/ nzRJneDVnH0Rt0Sntmu0ugLenOVf+kU8B07GZieH1cn9lpOsqFOcoSA451Y/rCZEM5sW WKdQvKdCwjReAbIYK5DiyUHQL95VO69g768e+wMU6TBS63eruh5UObuzDe00tkkGJohv LvhPSPXz/wg2pChM3vVOUUQ/XviiPlse8rSQ8+N2yq10YEDP/eRVnc4dIX9o+DE6HXxE ihnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=87f0TKfgjxiemevwHpQhVGmMoe8NuCN8KvjmmGoJcKg=; b=R5lBAjiF37rI6kfmQYYN53SOeK62gdfGDHhPaWHUGncUHZnE/8AMpx1Ue6+Kj4ID+q oEi3fDPyn6HI8SjtmQYIUNge1LmiCFvh6aLZ4VHq7Q3Jda4Ca0OV+PUD6Rhls6lb9oBu pbChh+fKAulcCwFDkxstEqQVcixAsLXArxkB4tXn+g3FFKwOn3HbVzAA+9NkdN7Zefuo T/eTScid2wUM+99VagQXFR0KaGfzJLdFm99nXSPsMubShafRL3ZhgRfIjP77zCdHUblK R+dr8nB4/d9Gaw0/2DvCZou7WIsA/icSTmPmlPKhHZWGFJwedGK0N9QfJSLSSo93u6jS kH2Q== X-Gm-Message-State: AFqh2kpZrhjZbUeC4r7hTojTvltZPe1EU6YwuTj0pEyjvp1/123CWyxK CQVdBMVPmUZO1EgB2AiLTBoP9rPy7z0= X-Google-Smtp-Source: AMrXdXvaybKyiEjgf311hdV1duG2+nBypf+BuMKckZva39Fh4VmLrvmTpM72ekGMTKAdGLpRMr4UUQ== X-Received: by 2002:a17:90a:4dc2:b0:221:6310:a4f3 with SMTP id r2-20020a17090a4dc200b002216310a4f3mr19962824pjl.20.1672034013784; Sun, 25 Dec 2022 21:53:33 -0800 (PST) Received: from localhost.localdomain.dhcpserver.bu9bmc.local (1-34-79-176.hinet-ip.hinet.net. [1.34.79.176]) by smtp.gmail.com with ESMTPSA id mm2-20020a17090b358200b0021937b2118bsm8202726pjb.54.2022.12.25.21.53.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Dec 2022 21:53:33 -0800 (PST) From: Potin Lai To: openbmc@lists.ozlabs.org, Joel Stanley Subject: [PATCH linux dev-6.0 1/2] ARM: dts: aspeed: bletchley: rename flash1 label Date: Mon, 26 Dec 2022 13:51:17 +0800 Message-Id: <20221226055118.2836493-2-potin.lai.pt@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20221226055118.2836493-1-potin.lai.pt@gmail.com> References: <20221226055118.2836493-1-potin.lai.pt@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 05 Jan 2023 18:19:27 +1100 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Potin Lai , Potin Lai Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" In OpenBMC, phosphor-software-manager use "alt-bmc" for secondary falsh label. Rename flash1 label to "alt-bmc" to support dual image feature inOpenBMC. Signed-off-by: Potin Lai --- arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts index a619eec70633..791f83aaac50 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts @@ -307,7 +307,7 @@ flash@0 { flash@1 { status = "okay"; m25p,fast-read; - label = "flash1"; + label = "alt-bmc"; spi-max-frequency = <50000000>; }; }; From patchwork Mon Dec 26 05:51:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Potin Lai X-Patchwork-Id: 1721683 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=Na/CfB7b; dkim-atps=neutral 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 (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NndGK6XtDz23dq for ; Thu, 5 Jan 2023 18:22:33 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4NndGK5QsHz2yV5 for ; Thu, 5 Jan 2023 18:22:33 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=Na/CfB7b; dkim-atps=neutral X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::62c; helo=mail-pl1-x62c.google.com; envelope-from=potin.lai.pt@gmail.com; receiver=) 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=20210112 header.b=Na/CfB7b; dkim-atps=neutral Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) (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 4NgRmL1JlXz2ynx for ; Mon, 26 Dec 2022 16:53:37 +1100 (AEDT) Received: by mail-pl1-x62c.google.com with SMTP id u7so9948521plq.11 for ; Sun, 25 Dec 2022 21:53:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=7wEGGRHRkx/TYRoHQuQncfk8iOkoqIh2z64vF46qnf0=; b=Na/CfB7bF0mtwRe589mB/JyMsaPacOs9XImdIaNM9QGRi49fbuE/AkyoYBkxw7sp1Q 1f1AXauFlOPGyvb4Y/YLmk1Ek0fYzpAkqZy/xb2sS0lnpRhqN/VwJMnVyish/poPavWj KnroF2G/MMRYO/VNn5Ij9oyvBaQysZZ3270+kHNrn/a+2vif+8ECDbLWx/4uBVub93f+ YDRROxTWG7eqDbFMQ5bPbCDpbhwlU80XbPb07mr2ZPU8AQhU4gLjEQ40xHnLPbt32u99 z7Fej6x6EQoGAjWPVYMLviLhvtm5GX8MVdHYbZ5SwP1z+UpOIZOvB7fRrOj5wU6IthWA 3uRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=7wEGGRHRkx/TYRoHQuQncfk8iOkoqIh2z64vF46qnf0=; b=LfqedsRFo/8936ZSnXoe2Udb+fs87v9JJTZPtk7XaBEWHUa1/ywemuLyGgQQ6qAUs5 noS/z7oRuUTtsQlgODyTInf8/Y7l952hZlgBvwh78C/JLmOv/BLzLkS6OxaunlTJ6tCH iYA6xGvHVppFyBkYfe4X7Alz/CEfvLRggm47JY9N0kjbnYmHMV+1n4ODoevtAC3UgmsN riZSBqp4DCBdrA2drYh9odHBmlXvdPwS5JrPHLSMaXYfDFydXbhgvUPghd7PORX3etVR EQdVBn844v4mZrcjVTRa0b69agZ/ErNCKVxwf6RbbM6PCyAa26L9VEsVMH+6LXJZzt7Y SJlQ== X-Gm-Message-State: AFqh2kq9FAsvDOMuw+sviQZlws1BmRRgPW3EetnwHgxZIxApeOck6k99 Bp6VuVgeLA96C/Fb+Nj9KSUj4UtyXPI= X-Google-Smtp-Source: AMrXdXtSbPQOl0UB/NsFEMIOINUq2WHFY9///xRzu9pov7zFe7nZGj7GdcwY+DwAHrHDf7PXlwyPsA== X-Received: by 2002:a17:90a:1d3:b0:218:a9dc:4936 with SMTP id 19-20020a17090a01d300b00218a9dc4936mr34115089pjd.26.1672034015833; Sun, 25 Dec 2022 21:53:35 -0800 (PST) Received: from localhost.localdomain.dhcpserver.bu9bmc.local (1-34-79-176.hinet-ip.hinet.net. [1.34.79.176]) by smtp.gmail.com with ESMTPSA id mm2-20020a17090b358200b0021937b2118bsm8202726pjb.54.2022.12.25.21.53.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Dec 2022 21:53:35 -0800 (PST) From: Potin Lai To: openbmc@lists.ozlabs.org, Joel Stanley Subject: [PATCH linux dev-6.0 2/2] ARM: dts: aspeed: bletchley: enable wdtrst1 Date: Mon, 26 Dec 2022 13:51:18 +0800 Message-Id: <20221226055118.2836493-3-potin.lai.pt@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20221226055118.2836493-1-potin.lai.pt@gmail.com> References: <20221226055118.2836493-1-potin.lai.pt@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 05 Jan 2023 18:19:27 +1100 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Potin Lai , Potin Lai Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" Enable WDTRST1 external signal to send a reset pluse to peripherals while BMC reset. Signed-off-by: Potin Lai --- arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts index 791f83aaac50..050ed7e810fa 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts @@ -1064,3 +1064,14 @@ pinctrl_gpiov2_unbiased_default: gpiov2 { bias-disable; }; }; + +&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>; +};