From patchwork Sat Jun 11 09:58:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konstantin Aladyshev X-Patchwork-Id: 1642274 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.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=TC/HfOrV; dkim-atps=neutral Authentication-Results: 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=) 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 RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LKtb91qTXz9sFk for ; Sat, 11 Jun 2022 19:59:17 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4LKtb9100wz3bwX for ; Sat, 11 Jun 2022 19:59:17 +1000 (AEST) 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=TC/HfOrV; dkim-atps=neutral X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::12a; helo=mail-lf1-x12a.google.com; envelope-from=aladyshev22@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=TC/HfOrV; dkim-atps=neutral Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (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 4LKtZl6PRyz3cFB for ; Sat, 11 Jun 2022 19:58:54 +1000 (AEST) Received: by mail-lf1-x12a.google.com with SMTP id a2so1955193lfg.5 for ; Sat, 11 Jun 2022 02:58:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=C93TNgs3tEMkjRGIc4zQyQSLHKj4wajnsAJdSQ715T4=; b=TC/HfOrVTyr9dht911B6WyEVEETgffYiwjSdsWhhNbTnqcUq/GmMnj85tfMJpHKJ54 8lTzTeJR1UQqQbJHSYxhunhJ1eaaS7dnT1NbiiMzzsgRDBKSjyvDJyCX6OwXzmmhHmh7 OcdG1D00tvereTAB6g317kOi36zTyygl1wiNErlzuIMhO3Dj8DapgNDRihg/tNuI3ds2 GrQ00+6wMB5J3loW4lWEVflR1QmKYbb627zhLEwgST10z2U5Q2wGWPYmNUAoCZZUWUi2 9y+Up1t5iqr8N0GanPfJiV2q/pHD8+I2JKuuecwTYih4E2G0N2YBuALQMclz2s05+H4d c2+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=C93TNgs3tEMkjRGIc4zQyQSLHKj4wajnsAJdSQ715T4=; b=ZaNfYHpkz1JcE4dQdNHcOQjE7HR6Lji+VZhBeravCn0t2sXeytwrX2vDW9yrOi7BFr ZxHpK9+5i2l/a3eIywkRhbGtw/HwQPcDsokm8SKwIBWxXoC/sohVncENmRftltwQq6+G x6784iM1sOvE8p9xzyheNHDATpPzWiDZJhN8e+jn7tq8P+8NjK+uPVgBRi/qdxnPTmhQ vCssHHhXQ7GsL2q/4/c0QS87YrY37cQ1zLhD5Atu9HsN4j0KPm6bnQLDLWIM6FMHkgNG lVv6LRMS5Qc/ffMU21hgeD6MjpacXVmZ5RcoPTCPGAkHgg+izx7o2UP0t3N2MvVB/B/j 6blg== X-Gm-Message-State: AOAM5327oRTFYreSdCXo7nnf5iUobp8vVd02T2ZWoWjmrU3onBGcCVgF MMz+xvfp76DbHBFhHZHMhn0= X-Google-Smtp-Source: ABdhPJyW9Vpw8JSAMpHkEpi5Oft1TkEZC/FsxY6pbNdui2qL9dmT/mecCiJCFx6hLubZ/sI+6Y9bFg== X-Received: by 2002:ac2:4bd3:0:b0:479:3cfb:72e5 with SMTP id o19-20020ac24bd3000000b004793cfb72e5mr19651571lfq.516.1654941528155; Sat, 11 Jun 2022 02:58:48 -0700 (PDT) Received: from DESKTOP-GSFPEC9.localdomain (broadband-90-154-71-254.ip.moscow.rt.ru. [90.154.71.254]) by smtp.gmail.com with ESMTPSA id h18-20020a056512055200b004785060bad6sm200634lfl.201.2022.06.11.02.58.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Jun 2022 02:58:47 -0700 (PDT) From: Konstantin Aladyshev To: Subject: [PATCH 1/4] ARM: dts: aspeed: ethanolx: Add correct label to flash device Date: Sat, 11 Jun 2022 12:58:25 +0300 Message-Id: <20220611095828.1090-2-aladyshev22@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220611095828.1090-1-aladyshev22@gmail.com> References: <20220611095828.1090-1-aladyshev22@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: , Cc: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, aladyshev22@gmail.com, linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , supreeth.venkatesh@amd.com, linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" The OpenBMC code update infrastructure requires BMC firmware flash drive to have a label "bmc". Signed-off-by: Konstantin Aladyshev Acked-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts index 6406a0f080ee..889b2fdd19cf 100644 --- a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts +++ b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts @@ -58,6 +58,7 @@ &fmc { flash@0 { status = "okay"; m25p,fast-read; + label = "bmc"; #include "openbmc-flash-layout.dtsi" }; }; From patchwork Sat Jun 11 09:58:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konstantin Aladyshev X-Patchwork-Id: 1642276 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.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=KL2vg4UZ; dkim-atps=neutral Authentication-Results: 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=) 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 RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LKtbL4vDBz9sFk for ; Sat, 11 Jun 2022 19:59:26 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4LKtbL2B6Kz3cCp for ; Sat, 11 Jun 2022 19:59:26 +1000 (AEST) 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=KL2vg4UZ; dkim-atps=neutral X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::22e; helo=mail-lj1-x22e.google.com; envelope-from=aladyshev22@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=KL2vg4UZ; dkim-atps=neutral Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (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 4LKtZl6J4Bz3cF8 for ; Sat, 11 Jun 2022 19:58:54 +1000 (AEST) Received: by mail-lj1-x22e.google.com with SMTP id y15so1528539ljc.0 for ; Sat, 11 Jun 2022 02:58:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=EvmSxNb00VCJZUQ2SVU+l0KVfBWbEE6iTSA8RECXJz4=; b=KL2vg4UZuzy67obhWaTWJBuajSoYfhOQYAY5P4hRszmFJC8cUkSfFCIdFkfOxDwdNX z2p6kpn0otvnXicX9hx9BH+SlACWRNzctxinm8fmuus7jwQd5p04Hs7KxDjyKWO+6K+h swDNJsxEd1+4+QkaOCSTIV9EvW755XLs/QGVtQvzD/2aI1MmnEL5bFh7qmha+e6L6VG9 BB9jXUXjbNlOwgw3qAdoV+7NxKVlyiPe2ETe7XGUaq/LyjaqGu1j6J10EvaXGGAmz5ZR n/OqlkAMDkcglPYYBzs4QP3xNKgp/AnN/OidWIQFKYZpJkrUC++/ygZ6XpCt3v/y4b9+ 0MPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EvmSxNb00VCJZUQ2SVU+l0KVfBWbEE6iTSA8RECXJz4=; b=O97HGVrDQsfvfoT0zXGZ8Gl4koQfnq+phuZtQuIKbOyTIgKUBaDV1x0Wdsu/GGqBPG d9yxa/Tg2ajI30MEeVUTYRXXJ9uK/Ng7OdBG5QTOIc64ozWh1sp18yXNRlnKWUi+RWfV S2AQt+3bQildmo9StpLefMF9n8awRFfW5y2i5HI+u1dfEDgksJFTl5lL5oL2Dp0aEygP Nh4bhlQHJD2XVu/8251q7GA6nYiMnZTiecp0S7M5PqpNA3Y/elZO3lsuUBv2In0Pxb26 Al7YFk8Nxo9HB2X6voD7UxaExNeLNTGGbarwageoVmv5t7+MlCuGW8iNiF5kucjU3XYH vgBg== X-Gm-Message-State: AOAM531qO8Jyi4OXiwD2RGoK6IMlavBVJv216q9uXsxz7DJppTsCXvLP ITq2xmn5HC13b41cY/AMx5s= X-Google-Smtp-Source: ABdhPJzJ64OHPxj7ndZACeTnIHCmaj+7N9vf4CxAxpRkqiT63+cr41lK9Z7L4j4pQ8QHCZmQ/VIdpw== X-Received: by 2002:a2e:9587:0:b0:255:6e01:50d with SMTP id w7-20020a2e9587000000b002556e01050dmr26607779ljh.146.1654941529372; Sat, 11 Jun 2022 02:58:49 -0700 (PDT) Received: from DESKTOP-GSFPEC9.localdomain (broadband-90-154-71-254.ip.moscow.rt.ru. [90.154.71.254]) by smtp.gmail.com with ESMTPSA id h18-20020a056512055200b004785060bad6sm200634lfl.201.2022.06.11.02.58.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Jun 2022 02:58:49 -0700 (PDT) From: Konstantin Aladyshev To: Subject: [PATCH 2/4] ARM: dts: aspeed: ethanolx: Configure RTS/CTS for UART1 Date: Sat, 11 Jun 2022 12:58:26 +0300 Message-Id: <20220611095828.1090-3-aladyshev22@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220611095828.1090-1-aladyshev22@gmail.com> References: <20220611095828.1090-1-aladyshev22@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: , Cc: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, aladyshev22@gmail.com, linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , supreeth.venkatesh@amd.com, linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" UART1 is used for connection to the main EPYC CPU. Besides the main TX/RX signals this connection has flow control signals RTS/CTS, therefore configure this pins on the BMC side. Signed-off-by: Konstantin Aladyshev Acked-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts index 889b2fdd19cf..0354a7d8f9f5 100644 --- a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts +++ b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts @@ -79,7 +79,9 @@ &uart1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_txd1_default - &pinctrl_rxd1_default>; + &pinctrl_rxd1_default + &pinctrl_nrts1_default + &pinctrl_ncts1_default>; }; &uart5 { From patchwork Sat Jun 11 09:58:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konstantin Aladyshev X-Patchwork-Id: 1642275 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.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=I3jVrJeQ; dkim-atps=neutral Authentication-Results: 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=) 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 RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LKtbD2xvRz9sFk for ; Sat, 11 Jun 2022 19:59:20 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4LKtbD2Q73z3c28 for ; Sat, 11 Jun 2022 19:59:20 +1000 (AEST) 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=I3jVrJeQ; dkim-atps=neutral X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::233; helo=mail-lj1-x233.google.com; envelope-from=aladyshev22@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=I3jVrJeQ; dkim-atps=neutral Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) (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 4LKtZl6kz8z3cFF for ; Sat, 11 Jun 2022 19:58:54 +1000 (AEST) Received: by mail-lj1-x233.google.com with SMTP id y15so1528576ljc.0 for ; Sat, 11 Jun 2022 02:58:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qqG1jqR6TJ+ossn/Taa42wkdLkXZRIkBpKhqix1o0Nk=; b=I3jVrJeQfeeEUpRXX4j3bFLN0JDYjpr2/5CF5Ik1W8de2CQMNAm+DQ8l6O1LxRezCl GO7TAEVgwFdIyUxbkSZLBQQHjW5fbDzNuW6cGfVBRkFFOGXg1qUGscG1EiBXj/Wl3huE YuvsuRlKxsEPGE3Vt5q8+Sw42lqCnFmfeYGCZJFaa2PyufPGXbvbYxTPYy2C4WxHkRs7 Jw/k4KuQogmXlcH2SnSQC1wHD7JdEYymLagxxUuXNYWqzIR5LOOptL92cp1tO6Cg/I+1 R1+B+04LJC13sj0LyVR5KGxpSaD1k7M2iPIhk0tT2uLZgrQjWgzod6uPTCXPWAh3c1/P CZYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qqG1jqR6TJ+ossn/Taa42wkdLkXZRIkBpKhqix1o0Nk=; b=bCWmM9oeLjtswxDroatS9I2EW4LqsGUseA6m6VzTMI++Q1KuhUlgTrFsfcCFnuMLCs FbkGvzA/wmo34bzPESh+e+Eadh0Xr4a0iAR/kYqutap0AeFYpzXqndNC/A00RLVtyUx0 ADyPpZVazhGPD3LC+NrGqsRWznA3Te0tqD0I1rT/oDJiUcfxyMhTwqT1eyEyWBhf3a3g l8w1Xp+bBWH9YywiOjiWectB4Ah6cfU4VTx8htOhEFYxvjaAxn42coq3RRG8bsUvRi/O afYT35YqWj8DewJXvRUUq2JAP+JKjWGWqsxPUKAxTKGIFKWSHZFM8oFgpxmaz0hjga/q ensA== X-Gm-Message-State: AOAM533F5HRBWZxa/GExpiDW4cYG91Y4zywniRoHwoRVq5Kbmx2J/Fz8 5svhHqWsE5oXcw6qbs4Qhm0= X-Google-Smtp-Source: ABdhPJxbCZOKur9tOGLWFf7ulXImGftDF4a+Z/DYBqIigxmKroh1yds8o/DKWkS8ynJgTeWngkHLfg== X-Received: by 2002:a2e:3112:0:b0:24f:132a:fd71 with SMTP id x18-20020a2e3112000000b0024f132afd71mr64922689ljx.522.1654941531058; Sat, 11 Jun 2022 02:58:51 -0700 (PDT) Received: from DESKTOP-GSFPEC9.localdomain (broadband-90-154-71-254.ip.moscow.rt.ru. [90.154.71.254]) by smtp.gmail.com with ESMTPSA id h18-20020a056512055200b004785060bad6sm200634lfl.201.2022.06.11.02.58.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Jun 2022 02:58:50 -0700 (PDT) From: Konstantin Aladyshev To: Subject: [PATCH 3/4] ARM: dts: aspeed: ethanolx: Use correct driver for the FRU EEPROM Date: Sat, 11 Jun 2022 12:58:27 +0300 Message-Id: <20220611095828.1090-4-aladyshev22@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220611095828.1090-1-aladyshev22@gmail.com> References: <20220611095828.1090-1-aladyshev22@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: , Cc: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, aladyshev22@gmail.com, linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , supreeth.venkatesh@amd.com, linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" The AMD EthanolX CRB uses 24LC128 chip as FRU EEPROM. To bind correct driver for this device "24c128" compatible string should be used in DTS. Signed-off-by: Konstantin Aladyshev --- arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts index 0354a7d8f9f5..428fa9f673f9 100644 --- a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts +++ b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts @@ -163,7 +163,7 @@ &i2c2 { &i2c3 { status = "okay"; eeprom@50 { - compatible = "atmel,24c256"; + compatible = "atmel,24c128"; reg = <0x50>; pagesize = <64>; }; From patchwork Sat Jun 11 09:58:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konstantin Aladyshev X-Patchwork-Id: 1642277 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.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=doW1z+6h; dkim-atps=neutral Authentication-Results: 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=) 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 RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LKtbL5qcZz9sGC for ; Sat, 11 Jun 2022 19:59:26 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4LKtbH1dYlz3cCy for ; Sat, 11 Jun 2022 19:59:23 +1000 (AEST) 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=doW1z+6h; dkim-atps=neutral X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::12a; helo=mail-lf1-x12a.google.com; envelope-from=aladyshev22@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=doW1z+6h; dkim-atps=neutral Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (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 4LKtZl72BCz3cFJ for ; Sat, 11 Jun 2022 19:58:55 +1000 (AEST) Received: by mail-lf1-x12a.google.com with SMTP id c4so1919059lfj.12 for ; Sat, 11 Jun 2022 02:58:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GocDLkOsBawPMPs9zxnh8PppBX+pbvR6afOC4S31yoY=; b=doW1z+6hB6tGbJaAuf6+XaOYEYEK6Z4PL2eTxqpdP4QCs5ULJq/efSF+oyq3Kta73a RVY49pzTCOeqGp2LS6PbBst7Rm/T4MNaqJL8E3G3mZAAtkp5WzS530bJOiLOSArgenC8 gHV4237SNtmyRZ7b7r8cDqRJpLkrhoSahvX5QAIoCTISXslz3wYp76JIYw1R6ie3ktDe BaGh1hECtRYvyqmJ6kUoCAymsjbX0HnxzyBXrv8AZ7lOvN70LG1lfwzAyycdkyCdmQAS pUA9Yh80WnXbf2V/dDnvUiHsU2kkMQXyMVQV7bm+IvSR/YbbQmv3os2P/pnqg+oxjM5x 9/Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GocDLkOsBawPMPs9zxnh8PppBX+pbvR6afOC4S31yoY=; b=lrlJZA8s5VluGYsI6ZM7dHl6b+gagjd9NAgqC8qV4shrXj6vwUcOWgJlYF3W2YyMYp uXuiBuOqmAtBky0dGI4D5VUbs1sKSp38wqlnTPl+RpKDud9armU3aOw6coboydy1epzT GWpGZf1WxJGDNKrgwaw7j8+H6fv9GOly/0xk8FDZaqpmRlLQ5D10LoN6D54AN2WBsdh4 B8oqgIVITt0/s/gBBWscoN9MDmipQSwbF8kmTq+Josi1cA4m+mcujbLFhPtLHR/cLlN7 ikBckurx1TQWSHg9vCXjCTkYj06Ha829LXXGSYU1GFvl6e1Hk+IzexP0/UlhBGOvJ+JK Zfnw== X-Gm-Message-State: AOAM5315ORPgDNuQfe2ANHsJJsksa7b1mUNaOpiHoo3kuspC+rAHGnis n1dt0UQyfrtLfZZYM/8StwNkVIWgygc= X-Google-Smtp-Source: ABdhPJz7uF0meF9LfuCvFt6ei/jXgipBVoJLu6+lz1yX8HSTxLLS96KPAaoJdHDr0fQ15JO+Vjj15g== X-Received: by 2002:a05:6512:b95:b0:479:65bd:ac2f with SMTP id b21-20020a0565120b9500b0047965bdac2fmr13223105lfv.445.1654941532235; Sat, 11 Jun 2022 02:58:52 -0700 (PDT) Received: from DESKTOP-GSFPEC9.localdomain (broadband-90-154-71-254.ip.moscow.rt.ru. [90.154.71.254]) by smtp.gmail.com with ESMTPSA id h18-20020a056512055200b004785060bad6sm200634lfl.201.2022.06.11.02.58.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Jun 2022 02:58:51 -0700 (PDT) From: Konstantin Aladyshev To: Subject: [PATCH 4/4] ARM: dts: aspeed: ethanolx: Enable VUART Date: Sat, 11 Jun 2022 12:58:28 +0300 Message-Id: <20220611095828.1090-5-aladyshev22@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220611095828.1090-1-aladyshev22@gmail.com> References: <20220611095828.1090-1-aladyshev22@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: , Cc: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, aladyshev22@gmail.com, linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , supreeth.venkatesh@amd.com, linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Enable virtual UART for BMC<->Host communication. Signed-off-by: Konstantin Aladyshev Acked-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts index 428fa9f673f9..90feac5ec628 100644 --- a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts +++ b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts @@ -5,6 +5,7 @@ #include "aspeed-g5.dtsi" #include +#include / { model = "AMD EthanolX BMC"; @@ -264,6 +265,12 @@ &lpc_ctrl { status = "okay"; }; +&vuart { + status = "okay"; + aspeed,lpc-io-reg = <0x3f8>; + aspeed,lpc-interrupts = <4 IRQ_TYPE_LEVEL_HIGH>; +}; + &pwm_tacho { status = "okay"; pinctrl-names = "default";