From patchwork Mon Dec 26 05:45:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Potin Lai X-Patchwork-Id: 36531 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp768397wrt; Sun, 25 Dec 2022 22:09:57 -0800 (PST) X-Google-Smtp-Source: AMrXdXuQEbe61du64tYaRNwfj5IMTegOw8JB/tuNLV6S+nuOV8yUmTxSDdOupjHtDAuDToQpHa+6 X-Received: by 2002:a17:902:c3c6:b0:18c:cee:b265 with SMTP id j6-20020a170902c3c600b0018c0ceeb265mr20189070plj.53.1672034997620; Sun, 25 Dec 2022 22:09:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672034997; cv=none; d=google.com; s=arc-20160816; b=zSnuoZDXozPm92h3skS0GMLrWSd1/oJukU9GwdUvdt4ZEYJ+YK4AhV4/imGVml1Vbi oTGM+8MUBkK8oKGaKkEn2F8FSS9B9ha8OIg0EqnYzoZLJtq7cy/Ah9dfYY4fizrrFrNI SozurYBwsCzVo3y6n4k+4Y1dgZ4kcenS+3XTnW2ZNHu2SBRpgyTI/t6dFUHzM5PoYFkg o6c9grixvk+6k9PswQuYWEEtRvOz3tP4c/FW/jNrce+169jeR1gFDqC1ScRG4Gip/QmE /qDw1Uur4P1WeOS9JaLRfFcH1zDxs7E1Tz+1z2eB8lgnnlMbNGcubP6lAL/Ws8T6YP8W NVkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=87f0TKfgjxiemevwHpQhVGmMoe8NuCN8KvjmmGoJcKg=; b=WFQSKrvVswQvzgNrQfBhkykjM4/2r0cx+eI9Skbitpq7BjUdfwGucbTH7WHAxgV/BE BwJVsYTchlbn5mwRRuUk3yENxjstx3nK1TVVIYwmQ2Z7inRETVAhwquxH3Sdo5XAxRfS 4Ep5aJ9nBWYuoFK77Osy0w4ovsiBQav2Az58EYH9Cx+NEiFxrBR3fJipcn6gFvVBMn7P F034rNwy85/IZj55agyxqbFQaLmgBWpkDUxvVQ1m8lIP/liDd5/lWWp7lQn/kMaDlsk+ eE26ImHTf7GPOFXpgSn6CcFb+7hbKcXnrzzmFIF8/qo29QEeLxIrMI/e8MqGpfDsMF7r RSIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Un99RLgo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b4-20020a170903228400b001914a7519besi10244208plh.234.2022.12.25.22.09.45; Sun, 25 Dec 2022 22:09:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Un99RLgo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231496AbiLZFrz (ORCPT + 99 others); Mon, 26 Dec 2022 00:47:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229741AbiLZFrv (ORCPT ); Mon, 26 Dec 2022 00:47:51 -0500 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE725260A; Sun, 25 Dec 2022 21:47:50 -0800 (PST) Received: by mail-pj1-x1033.google.com with SMTP id m7-20020a17090a730700b00225ebb9cd01so2059683pjk.3; Sun, 25 Dec 2022 21:47:50 -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=Un99RLgoUgD6VwGxVDiAWbe0ZBFbzdTF/PS3A/DVSjbwc9FYLekIr+QFeg923zh4Re 4mGJeCzpmHxuBho1xhQx6gjiOPVp9yWqOmj+K0ehgoufuCuRejM3yC5Hol9GNkenjeFk 0aWbXrX3/q51C6PMpQ7ZS1laJZZeH0At2w1hdsYBz7jh4Ty7sF7Y7jdywEaAyIUYtzVc 3dDJy46pRBwtaAVku9ulK6uli8QhpKEDw2saJVmvCc302hIoXpFZFvnPvy9IeNd2yU/t UgqwMj6jd0BCoZf5saDtgq9/A/g22o+NjTYSKxQW33sAZrCYN65L+YUfEsayWrWZgjZt G9cQ== 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=6xXaXtG1jYXQwED/JNyftc+beBiXZQIB4h7/z1mh6+boPxz6j00EnFDyot/zMOuM5N ILkFnq1PYhoqswek7/O5HAQwozRLjn9gp5tt2kYd+6nC9GiHBRjoRQKhVPqnlEmVGfQK FGQyrKiu54/0I8kcQG53QmoUlz+8zgRDf0RkiGHmzEqZ7m3qlDLZbGk0D1L6Yog8W1Kz 7RC78jIdsHNHngFE4qFyVIXHKXLE5TztGpKCbZIBZRl2q7SjduSIcXoc6/JWH8wjeFwF cHUQWbxNfed5LHk1Sw3fHU0N61HUTvPlXhHyrIOsiPRiX6QUA7Fbbe0KBi3JhXg3n1lj /9fg== X-Gm-Message-State: AFqh2krYiqaqM4exqn3mP4nhF7zmX4QCbrGx2TnGewG6pYJXdVnfMEaO rjXICfH5e4UHgek1vlCKkL0= X-Received: by 2002:a05:6a20:2d1e:b0:af:6f24:b154 with SMTP id g30-20020a056a202d1e00b000af6f24b154mr23355221pzl.60.1672033670203; Sun, 25 Dec 2022 21:47:50 -0800 (PST) Received: from localhost.localdomain (1-34-79-176.hinet-ip.hinet.net. [1.34.79.176]) by smtp.gmail.com with ESMTPSA id h35-20020a632123000000b004785d99321asm5618242pgh.86.2022.12.25.21.47.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Dec 2022 21:47:50 -0800 (PST) From: Potin Lai To: Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Patrick Williams , Potin Lai Subject: [PATCH 1/2] ARM: dts: aspeed: bletchley: rename flash1 label Date: Mon, 26 Dec 2022 13:45:34 +0800 Message-Id: <20221226054535.2836110-2-potin.lai.pt@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20221226054535.2836110-1-potin.lai.pt@gmail.com> References: <20221226054535.2836110-1-potin.lai.pt@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753255769295035087?= X-GMAIL-MSGID: =?utf-8?q?1753255769295035087?= 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:45:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Potin Lai X-Patchwork-Id: 36530 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp767290wrt; Sun, 25 Dec 2022 22:07:02 -0800 (PST) X-Google-Smtp-Source: AMrXdXsY+Ndc/sYT7clVlJQJhe0IfZipo+di4+VozSUTwOxDAtjgLzXEQjOzdBcN9ATnLwCge+QX X-Received: by 2002:a17:902:ab5a:b0:189:aedc:f6d6 with SMTP id ij26-20020a170902ab5a00b00189aedcf6d6mr18600201plb.28.1672034822564; Sun, 25 Dec 2022 22:07:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672034822; cv=none; d=google.com; s=arc-20160816; b=nmcDnRGl2aIvmNivu/8L5b8ga5jyH1iJZg/BTtd07u8PdfgEEpxQO9T93ygFm8ZkST YgmZvafy8fdW1PkjKki+QqwURYF04b/1jvDJG8vsC5xJun/4JaISX1J3igK6KkPWyJnS ilFQZUf1bxWde2Fcl/1zMBctONh4td0YP2oL7kolu2iUG1rflWMI4YLtWIzRbTYTfF/R wVMKvzYuOg/vJUHUT6CAQ/V4x7JbdB+EEew6lvkwcQ3lRhfWC9lpCtAZbJTkUl9GOql3 DH6fe5HJ28Qy/wRX3DAIdFryhgbgp7AbKbLR9HmvABM9VeeCJEvx6e2suYD1WqrEAQvy SX4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7wEGGRHRkx/TYRoHQuQncfk8iOkoqIh2z64vF46qnf0=; b=FFLqQaiqVI5nfhOpGgyRYZ945HpdZXDZbiJI3wG4aSsSs3t70yveJCgWlGjr/hFKIC 6N/e4QBa99orhDDqsbAEtpRBVYQI8fB7y81J9NE6IwReR1BT4ItPiVW9ZduKNyrNVffL zGebPQtNvT+2LibjwMhbDAnhQE9eBgFjRwk30t88Azh7mPoIQvGE+cmCjnW+kVeW34Jl r5JOiWNGGNq/hgWnKgKNGy0bIj9bhSBHuwlaDY2SwUqDKTbEBy3NR7dV6+SPtKWPXZ0s bgMYqfFrqVNTgnXY+iHVsgUHr1mi9vPmRuyrPy+DhiGnzi9JTTu8CKeNKCIqhg3dtjRV xtaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mvnKo8Dh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b4-20020a170903228400b001914a7519besi10244208plh.234.2022.12.25.22.06.45; Sun, 25 Dec 2022 22:07:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mvnKo8Dh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231488AbiLZFr6 (ORCPT + 99 others); Mon, 26 Dec 2022 00:47:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230003AbiLZFrx (ORCPT ); Mon, 26 Dec 2022 00:47:53 -0500 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A913F260E; Sun, 25 Dec 2022 21:47:52 -0800 (PST) Received: by mail-pl1-x630.google.com with SMTP id u7so9940281plq.11; Sun, 25 Dec 2022 21:47:52 -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=mvnKo8Dht5BCyRbWOJ6vL4yn9X6VUG0JbqB3eNm8lm8pZuRyXvqPTdmHGWLb7j5yzB oLpOeYvyxk48FOQ4mbwf68Yvj57sUDZqE2FVmvyftvQsO7AeAyHcMigDWwm2zqLFCWeF /zmcTYHXXUopTq4fnuZBTTi4pt6PXjOAtWARo6FRbtykNX3a9YNZJriT9Hfbeiee8SsX heRXfpRv9rgMp2Lg5FtuyzvPoce3WVxILoi0VPVfISPPm+Nk5J58ldCo+bsV1O8LTEHm WKBzPon997+hnqDbNOXjY54l8/Bez+EF2k1Bb5sMAoZ5vPRBANnKu61nBzgMSzc1Dmrd XBjA== 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=tuxQMq5Pk5ZR7O1WjVJc9AF7bjv/LNI8Ybuqhqr1+bS7K6KvSQAYaJ0kUVb+QrPiAQ BLyyawHJGOPLx9GAk77Zq2H+cOvJu6dUIg3GIzQhzLwtzptmYjV1yESWyUy3f+5uVKlF 45O46rpL7DQjUexW9x0Ulv0N/XSBUvqWGNj63NzjjMg2tkpcsmWxPm/gvq65YpKW4/Ru ruTTnoDLQjCTlKIiH3mGSqsxXMECimJhxw+YEyUqYeQ1ZKfjIpc15RUr+l6z+qVfW1CH uhpOJgrCc5gZpaTbi1so1PCXB7sx5bw/YwcxIueDXyN9FQ3KmOHSLPtR9H0QmVwovGE+ Wnng== X-Gm-Message-State: AFqh2kp8fybvw4GPCxHvlm6Iw3cUbm7w/fYJ2+2+3dhM5KL/PNaQv2v6 aNs7yQawnXG2RLp8zAm5Cvg= X-Received: by 2002:a05:6a21:169b:b0:aa:7346:2d94 with SMTP id np27-20020a056a21169b00b000aa73462d94mr22372940pzb.25.1672033672186; Sun, 25 Dec 2022 21:47:52 -0800 (PST) Received: from localhost.localdomain (1-34-79-176.hinet-ip.hinet.net. [1.34.79.176]) by smtp.gmail.com with ESMTPSA id h35-20020a632123000000b004785d99321asm5618242pgh.86.2022.12.25.21.47.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Dec 2022 21:47:51 -0800 (PST) From: Potin Lai To: Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Patrick Williams , Potin Lai Subject: [PATCH 2/2] ARM: dts: aspeed: bletchley: enable wdtrst1 Date: Mon, 26 Dec 2022 13:45:35 +0800 Message-Id: <20221226054535.2836110-3-potin.lai.pt@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20221226054535.2836110-1-potin.lai.pt@gmail.com> References: <20221226054535.2836110-1-potin.lai.pt@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753255585701683434?= X-GMAIL-MSGID: =?utf-8?q?1753255585701683434?= 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>; +};