From patchwork Tue Mar 12 06:15:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13589545 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E90C6C54E49 for ; Tue, 12 Mar 2024 06:16:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IbMXs1aED2a42m0cNvF/IOtiUnbra5aDzxO2gCbx3YM=; b=f0Oim/N5nL+cSp 08cO+hCRolpoL+HHBnW3wvQmjLnJwzoQAHM9Haz8rSYjgJTWiqQUBVdhPyJDREhCHJJcf9meRL1K8 qIhjVyPgrK7CoiAcF720BCI5R3z04u2TZJFbRgoKnIHJ4qCgdZcjYsq2HgaMNrbXKpd4scBhjEHOD 2QGpaiQHI/7U/K4rBzvFKnX/9WXplhOQodTPb3RgGocJ/W69uqGMW32ni7htiEHfTHN/8gS4V86aL DZYpdm7QfGIHlP8LobluNXd4sWBJVTaAgsNFCaF9JFd19ODPJXe+Xk6hA4RX2tKrqETO8lgUhYIz7 FZ46JgJ+qr8wouTW4ItQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRD-00000004WZn-1xuT; Tue, 12 Mar 2024 06:16:35 +0000 Received: from mail-tyzapc01on20601.outbound.protection.outlook.com ([2a01:111:f403:2011::601] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvR6-00000004WVF-35ak for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:16:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CaUvVFroNsB37ZKwCLPe/PqXpFwXqg3BtRUuIeleXlcIZuLFKqH+1ATUiFp2XEI2X9Lskhp2VHDmG8GH8h7BQh0R4Da6jdn14YmDaAf+j/Xwl8GddHfEUxw9iDDs0Wzez/s0T1x9XfcsL2xt32DXPFsg7FPyxGfLNjKh5nLGdvD5oNLWMmgNPE4T07iwFWiS8B7n9CHyvUthzv0B37noz7wbWb/ZMC1u4LIE3DEgoGXDErdVVsK6Az1vY5bPH6LnYwngGy2SShNceseRngZlmYVnsZV33XimRtmjHKrN5OWBtaudTDXznpc1V76QueJpVshSz/PDIEAdLW65bTjMyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Y+rCbKa980zvtFSL+aiZSLIdHmQc5ZtQwhUuhOWMtss=; b=fCprGslSC5AHMREZ9SR1dZZYaFGd2wPSrU70ygaIO1gLr1FhXZr8cb08DVMKjqXa7MnLS8qdOihOzO57Mbh/Y6x920momnDZZh6u54scHyLZaF2DF9UfOejNQQFZII0KUq4p6dhBJ37dxvPU9jes/ijwqtth9PlMgBMV43mE8DJKdIivNCmtThrfQFk3pDJAE2D6gX1ADtZI9NYDuj5hj2dBXzhP51gQ95mGqopBgiTICQ2vOYvN0tkBfw9yiP307d8CnDEi/l4lVYncBabPBD50tG+VOxojLXuGIHIyIdcz6tHNABc3Cx3aajUMRPpYYtPkU1/4cNE0wMmQlbtt+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y+rCbKa980zvtFSL+aiZSLIdHmQc5ZtQwhUuhOWMtss=; b=BLZlWrYLH28LKcvxgQp2vfjdi8LgLH67AXu9BzAJJyhjC4qQtD9F1undTYfavX93lcxz23R9sW83ocinSbX4UBrns3ndFmKK/1jywSr5j/KqmliW/9QyMoHMynpCm/eSbIl02c7SXzuHXsd2mWCqH+QagC+JwIBEvfSV2uxStssK+Ar/vuHKeflKerKiHmMkdlxOWWBP9eNqG3dqylzWnA3ImNZ2dpNoRvOTWH+TS7vlOAUI/IW7ZIRJic16IQaOwUtBYSjSJUFTrJMFte6Mb6/73y2g7a1AR41tIT8TN0LRLx7iR6tP1dh/Y6beksZM1Qt+JbSZ759FAc9yIHbNxQ== Received: from PS1PR03CA0006.apcprd03.prod.outlook.com (2603:1096:803:3d::18) by TYZPR04MB6765.apcprd04.prod.outlook.com (2603:1096:400:343::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35; Tue, 12 Mar 2024 06:16:22 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:803:3d:cafe::18) by PS1PR03CA0006.outlook.office365.com (2603:1096:803:3d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.17 via Frontend Transport; Tue, 12 Mar 2024 06:16:21 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16:21 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 05/22] ARM: dts: aspeed: yosemite4: Revise quad mode to dual mode Date: Tue, 12 Mar 2024 14:15:37 +0800 Message-Id: <20240312061556.496605-6-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|TYZPR04MB6765:EE_ X-MS-Office365-Filtering-Correlation-Id: 07aa9906-3d95-415e-7303-08dc425bf02a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HQSnIAWriNUSql9Fehgv6M0tcaQLORFpzVEJn/LJRSLgf3anjmNNJrI3gn8f/h2/spwTTAqIzcDksT8im6Y6k6JG5fek9js9k6KH8niHSFZFjlhHX/U9Nx7/2zjhA+jy3Zrgvc0d0SrG/pBA9N5XymcwhVqShTM27yT3lPtJEy4YOGFfZPXPQXz7YTxqjDQDsqGRKJRL3c/NAB10wAWDfDjdeIZ5464NoKw9iooNqNupavmguXGcuL7PwfVmjC/TWEcycKp1W81fAd3Ygcqe/KCbsqV1aTU5EoxhldvLEo4V9JcrW2PbWiFRsjmCUMkfdAEHLL4hxX8I/rXwmp5YNNvrOvwx8xunVLgaA3vfvVKQaYzHHrNqBrLZPydXSiXik8PgkA3oaoqTAU1YnemPdrXpJCtIG8Jw5+SK8tHBxTzonFGksyT07JOqDOppXEznG02kzDoE8qSvpOSi1FTqluqHJDAAM1x9wm3HmSEC/EcYjXXWQKoALqbWjWWiGeBEraJtVOz/TPs8z4DaqqqXl0nnsyBtsv0cn+65yv8Rm/ovADy5ma+eMPQ7dgvYcOW8iihWPcDePXXyGF2DXggVoQVwZBT8ZxNZ9Gxd9a7h7dDJV45vlS/gGz0B/tTIm4sGkFlIOcQlQBhOCFNgGQ6foHGoUpxws3FVreoT0igwCYPNFnef8mVc64Q8z8XT/khyOxRUqDIuddzoZU2iDJIWpDl9XxOxMNt2rYyW1ZA2xTPS9a54BodA1SZyDcWZePk5 X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230031)(376005)(1800799015)(36860700004)(7416005)(82310400014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:21.6351 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 07aa9906-3d95-415e-7303-08dc425bf02a X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB6765 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231628_798545_05F6F08B X-CRM114-Status: UNSURE ( 8.34 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Revise quad mode to dual mode to avoid WP pin influnece the SPI Signed-off-by: Delphine CC Chiu --- .../arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index f8bfdefbefc6..23006dca5f26 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -149,15 +149,17 @@ flash@0 { status = "okay"; m25p,fast-read; label = "bmc"; - spi-rx-bus-width = <4>; + spi-tx-bus-width = <2>; + spi-rx-bus-width = <2>; spi-max-frequency = <50000000>; -#include "openbmc-flash-layout-64.dtsi" +#include "openbmc-flash-layout-128.dtsi" }; flash@1 { status = "okay"; m25p,fast-read; label = "bmc2"; - spi-rx-bus-width = <4>; + spi-tx-bus-width = <2>; + spi-rx-bus-width = <2>; spi-max-frequency = <50000000>; }; };