From patchwork Fri Aug 16 09:23:52 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: 13765820 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 DC441C531DC for ; Fri, 16 Aug 2024 09:28:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding: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=wTnjvURfXlo53+eVxwkhIqzweQBqIwx6vFyYMB4uolA=; b=gBZnYyrjpGawtkOTpO8wkBVl7C G3D9nDRrDTTGVxl7ltUvW9xiOpC11tV46IBznM0r6/fz/lQXoTYVkRvwvGsCoR1pgJUPPUUk7tFtT seh3grzfGpTRgWTdc3MNGmG3x6BXRjEIm0pRW6ENK2/C6SKdOcO2ok4ObAV1BtZgU38napJUB7UY7 ASs88jXX9WfzLN1Rhm9ogNb7xs8GbwAuEAklY9TrnyaHi47GzIGmKnv9zKSCoJBAc5sSxmar3o/cA 9TVfcvCdScVUXCaqlvD3qRW73j0Ap1Mg4sAERQGoyaURtqIrWTsSA6pqOrJks/iCGwgF/mOE25FbU Zrd3+Ctg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1setGG-0000000CPuK-3wGy; Fri, 16 Aug 2024 09:28:44 +0000 Received: from mail-eastasiaazlp170100000.outbound.protection.outlook.com ([2a01:111:f403:c400::] helo=HK2PR02CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1setCc-0000000COju-3Njq for linux-arm-kernel@lists.infradead.org; Fri, 16 Aug 2024 09:25:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=RZAJ7ZgjBNxnhj3rAvgFhrEoVeadsEyZ1SuvK1OPmZ3mGDAqCV8fai6LHlaCuzz1SH4xJI4FMc3XACe7BQs5tcznaZsSw92WDBq7VTmC2CvxgMDSztXEQ3C991E89EqTwlQ8ajIfAT+dudJuH6slNuKyQdUN4O1TERLJS5KCNk+NaoDG19plo5Fn3V19MnOo24ZVKP885ryzMDBP0YtRWxfu9xM5IPX0RajyKR5uCElu6dbyAB6UxuhHiggOGyQjNxO53Do06gGINTC0aKy9OeBxg5CWjlbJptRJeL3nYzhiiDDbf3YmgMm4gc+1WeKhbWWSshxfp2wgKVM3Ho94vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=wTnjvURfXlo53+eVxwkhIqzweQBqIwx6vFyYMB4uolA=; b=gSINZVCxx9HKhuKMb1UNcpY+I8ZWgu0PZSDsMKIpkgZcqhAku6t+Xoxb5dIk75/xd1P+GwLvekXz4sx6zPuT9zhCKIM0yaJdhs7U0mQVQcFEeioavn5M20/NrsMCl8PuSMpHOol1O95ttZTlZqd07fT/k1VJhjulkp1dvfvmqnqw0x6RtCUrfPb6BQatJInw3ieQOQW+Q+OB41Yhb3oJBnrc52/uKd7TAUaIHbTIwzAXtWEiYf3Cy5IHpCCitxIQAV3ogneA44J/hf+gciHNmSeksEjfD/QnhVJZrifaYTMnZZpINtgIVlx14cIHlWDXtCJc8B+xhauS+ZZAYLYr+Q== 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=wTnjvURfXlo53+eVxwkhIqzweQBqIwx6vFyYMB4uolA=; b=hYAxSIgE9tHDv0JPwYgROXQ+oskfpqgcw0go/6LA5qvUnGgmaeCZF90iUUR/mmcxEsBgwzRco3vEc5n43eVrSoyqgxyfYaWo00DReR7jO+LVQ273uXDU7hnBfUeUsj0n4Dl0WkOkumshScAvgyG6FP3iPgBeluCMHFvLWBstscMcbnAVVYUIvUI6fIg/4y5pM6j9wDCEIN63h/VRZX+Xom4v+1CbcdEzRSvqtEwcz8vD/vPV2EIQEZulehB0jrtSKEKc260WSzYn0d4uEG8HxL+ie06m/3DY+yJXGh4f1R517OvPeF+Nc7eHlNSaK/S5UQcd5ro/3aOcz2tts+sDrA== Received: from SI2PR01CA0040.apcprd01.prod.exchangelabs.com (2603:1096:4:193::14) by KL1PR04MB7583.apcprd04.prod.outlook.com (2603:1096:820:127::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.18; Fri, 16 Aug 2024 09:24:51 +0000 Received: from HK3PEPF0000021D.apcprd03.prod.outlook.com (2603:1096:4:193:cafe::57) by SI2PR01CA0040.outlook.office365.com (2603:1096:4:193::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.19 via Frontend Transport; Fri, 16 Aug 2024 09:24:51 +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 HK3PEPF0000021D.mail.protection.outlook.com (10.167.8.39) with Microsoft SMTP Server id 15.20.7849.8 via Frontend Transport; Fri, 16 Aug 2024 09:24:50 +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 v12 05/28] ARM: dts: aspeed: yosemite4: Revise quad mode to dual mode Date: Fri, 16 Aug 2024 17:23:52 +0800 Message-Id: <20240816092417.3651434-6-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240816092417.3651434-1-Delphine_CC_Chiu@wiwynn.com> References: <20240816092417.3651434-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021D:EE_|KL1PR04MB7583:EE_ X-MS-Office365-Filtering-Correlation-Id: abc74ecd-bfc6-4c91-2411-08dcbdd547e8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|7416014|376014|1800799024|36860700013; X-Microsoft-Antispam-Message-Info: 01OTJbXas7UQt1kOJvnQzOCrwd80GpIQCJwbGh2oGrqqfA3gttqD9tzGTqqd19L949Ehn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qib//EImk0O59jUHdlJrh1fvArx3rxuIQNW07PvStjPbk1MhK8WkGE2IqxBoZKvzjOhjF0MJ+YDMTKkl4gP1HSHj9kUePj3ZRr3hOSJCLb9HUgGClZs/1p+ipyFzsL2Z0h5RjEYQ9j5zJLmocDg7vJrD0LFJUb03Fn8Mb6KX+T3YJmj1S+S9TiYyJUzw1MBJLqwaiSPdWL1qaymtZFB1Gjxf5NmyF2J4/dDzXMIoIYSmTnXRW319GSYyThx8QZFFYlUY8St7G4jQnX+pLg3jynSjvAiXPvldi9e7sYID53QejZSse8r 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:(13230040)(82310400026)(7416014)(376014)(1800799024)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2024 09:24:50.9659 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: abc74ecd-bfc6-4c91-2411-08dcbdd547e8 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: HK3PEPF0000021D.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB7583 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240816_022458_974469_566C6FC3 X-CRM114-Status: UNSURE ( 7.93 ) 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 51b4e9ae13cc..e5354efbb903 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>; }; };