From patchwork Fri Feb 24 00:03:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zev Weiss X-Patchwork-Id: 657302 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08247C61DA4 for ; Fri, 24 Feb 2023 00:04:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229579AbjBXAEM (ORCPT ); Thu, 23 Feb 2023 19:04:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjBXAEL (ORCPT ); Thu, 23 Feb 2023 19:04:11 -0500 Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [IPv6:2605:2700:0:5::4713:9cab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92E2F1554C; Thu, 23 Feb 2023 16:04:10 -0800 (PST) Received: from hatter.bewilderbeest.net (174-21-161-58.tukw.qwest.net [174.21.161.58]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id E9E93CAE; Thu, 23 Feb 2023 16:04:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1677197050; bh=gRYaEWxrREgx6KMntMXBZr/EsJLOP16uAqC1L3sz4+s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ThWNEh0io/rycZB8xU355nc0MJ9fEg8QE54Km/9eZ+W68u+37ckbld77NE/kk1tYn tNnCNr73T/qtPwinjTfDJV+UGaar+xJdAGJmSNO8h1wLWzdqqU3S2tQyecRJ47XQFX ulAbi7QBHLGP7MZcU8ZBFZ9egK8Ljh3z80HjXTgA= From: Zev Weiss To: Andrew Jeffery , Joel Stanley Cc: Zev Weiss , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, stable@vger.kernel.org Subject: [PATCH v2 1/3] ARM: dts: aspeed: romed8hm3: Fix GPIO polarity of system-fault LED Date: Thu, 23 Feb 2023 16:03:58 -0800 Message-Id: <20230224000400.12226-2-zev@bewilderbeest.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230224000400.12226-1-zev@bewilderbeest.net> References: <20230224000400.12226-1-zev@bewilderbeest.net> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Turns out it's in fact not the same as the heartbeat LED. Signed-off-by: Zev Weiss Cc: stable@vger.kernel.org # v5.18+ Fixes: a9a3d60b937a ("ARM: dts: aspeed: Add ASRock ROMED8HM3 BMC") --- arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts b/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts index ff4c07c69af1..00efe1a93a69 100644 --- a/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts +++ b/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts @@ -31,7 +31,7 @@ heartbeat { }; system-fault { - gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>; + gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_HIGH>; panic-indicator; }; }; From patchwork Fri Feb 24 00:03:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zev Weiss X-Patchwork-Id: 657301 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EDD62C678D5 for ; Fri, 24 Feb 2023 00:04:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229441AbjBXAEN (ORCPT ); Thu, 23 Feb 2023 19:04:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229629AbjBXAEM (ORCPT ); Thu, 23 Feb 2023 19:04:12 -0500 Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [IPv6:2605:2700:0:5::4713:9cab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D20AE15885; Thu, 23 Feb 2023 16:04:10 -0800 (PST) Received: from hatter.bewilderbeest.net (174-21-161-58.tukw.qwest.net [174.21.161.58]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id 5556CCCC; Thu, 23 Feb 2023 16:04:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1677197050; bh=Pm1D4f7CsJnVG1XwxLLcPWyXDVyt19wuaKgTF7ZJED0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ARrzVnDhVHXeVJF9yaD5VqG9QQzEWYzjm04xwPhXc6QwSY04hk0sK2lFSgAvwQNDV NbYpjL0ixou95Ly7XB4+L9Llf7b0LPAWtm55GERYkolV00xfKOaMkpsb/2fid1iHGV JHeYLzSVRyYyH3T50UHiQYHDSjWzZLH/4fcvxX/A= From: Zev Weiss To: Andrew Jeffery , Joel Stanley Cc: Zev Weiss , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org Subject: [PATCH v2 2/3] ARM: dts: aspeed: e3c246d4i: Add PECI device Date: Thu, 23 Feb 2023 16:03:59 -0800 Message-Id: <20230224000400.12226-3-zev@bewilderbeest.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230224000400.12226-1-zev@bewilderbeest.net> References: <20230224000400.12226-1-zev@bewilderbeest.net> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Now that we've got driver support for it, we might as well enable and use it. Signed-off-by: Zev Weiss --- arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts b/arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts index 9b4cf5ebe6d5..67a75aeafc2b 100644 --- a/arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts +++ b/arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts @@ -202,3 +202,7 @@ &kcs3 { status = "okay"; aspeed,lpc-io-reg = <0xca2>; }; + +&peci0 { + status = "okay"; +}; From patchwork Fri Feb 24 00:04:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zev Weiss X-Patchwork-Id: 656075 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A0D1C64ED6 for ; Fri, 24 Feb 2023 00:04:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229670AbjBXAER (ORCPT ); Thu, 23 Feb 2023 19:04:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229661AbjBXAEQ (ORCPT ); Thu, 23 Feb 2023 19:04:16 -0500 Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [71.19.156.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BA691554C; Thu, 23 Feb 2023 16:04:12 -0800 (PST) Received: from hatter.bewilderbeest.net (174-21-161-58.tukw.qwest.net [174.21.161.58]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id ADB684228; Thu, 23 Feb 2023 16:04:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1677197051; bh=SVvuc4nE5AlFPl8sNCRV4mTme19ET0laznkxlRxM+Wc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QD9X4h7zNd8khM2nvt6c3AjBC/gs7VCbGTNIANnCs+IxnaVroeCZ9rd+6wrFR4vdm bfUg70n8UCqhVMJriV6k+6i7SCWHsQFqT7Cl6NdQ19a9aD6hM3vEv9SuEE4MZSrzsQ xbCNC4a3Puta97EcnRYnFSyAvj5rrAqKBl7AohjU= From: Zev Weiss To: Andrew Jeffery , Joel Stanley Cc: Zev Weiss , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, stable@vger.kernel.org Subject: [PATCH v2 3/3] ARM: dts: aspeed: asrock: Correct firmware flash SPI clocks Date: Thu, 23 Feb 2023 16:04:00 -0800 Message-Id: <20230224000400.12226-4-zev@bewilderbeest.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230224000400.12226-1-zev@bewilderbeest.net> References: <20230224000400.12226-1-zev@bewilderbeest.net> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org While I'm not aware of any problems that have occurred running these at 100 MHz, the official word from ASRock is that 50 MHz is the correct speed to use, so let's be safe and use that instead. Signed-off-by: Zev Weiss Cc: stable@vger.kernel.org Fixes: 2b81613ce417 ("ARM: dts: aspeed: Add ASRock E3C246D4I BMC") Fixes: a9a3d60b937a ("ARM: dts: aspeed: Add ASRock ROMED8HM3 BMC") --- arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts | 2 +- arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts b/arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts index 67a75aeafc2b..c4b2efbfdf56 100644 --- a/arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts +++ b/arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts @@ -63,7 +63,7 @@ flash@0 { status = "okay"; m25p,fast-read; label = "bmc"; - spi-max-frequency = <100000000>; /* 100 MHz */ + spi-max-frequency = <50000000>; /* 50 MHz */ #include "openbmc-flash-layout.dtsi" }; }; diff --git a/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts b/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts index 00efe1a93a69..4554abf0c7cd 100644 --- a/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts +++ b/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts @@ -51,7 +51,7 @@ flash@0 { status = "okay"; m25p,fast-read; label = "bmc"; - spi-max-frequency = <100000000>; /* 100 MHz */ + spi-max-frequency = <50000000>; /* 50 MHz */ #include "openbmc-flash-layout-64.dtsi" }; };