From patchwork Thu May 23 08:03:10 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: 13671386 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 BB55AC25B7E for ; Thu, 23 May 2024 08:04:48 +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=HVMdPWZyCITxPEVQ2QXiEkjl/m6q2rd1DiXcad6zi68=; b=OZNe5YhZSl6QbA 7yMX64aBF4Q7KecT9jlSUZo/pnqMvz5d6uc5zLjum1cXancj4gFfugbyQa0dU5a+9cOQ1v8rgLlKr UmonJBuKIZW4FH52/gdnjfat9bF7nUYfk+HyEQkqM6AoJNtJC6ug459zbtWH8n2zyMwCuKdDaJCa2 q8ZswjubgMqbcviB8dyd+vsDZFNX/WlcXhBhxuLyfMa0jBLtHOd0YHLa277HtKi4FuAKIfIGcdstz ONDrZ638pAWeJkypHoU0AOp81tgfivRbm723Qgzud7rZFfooitqji0corjDGFErBMhQyuM203d20N dTnDZfzdh4S19p8LsXfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3R6-00000005R36-41z0; Thu, 23 May 2024 08:04:28 +0000 Received: from mail-sgaapc01on20624.outbound.protection.outlook.com ([2a01:111:f400:feab::624] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3Qv-00000005Qta-2eCe for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:04:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E8d5oLGP/MGAe/cNg5zRhIxajQiAhertRhiABiQ4AZQ9wZvFAJgZd2p+M8tdPmhZfwDmEx5jdKyAU+lCHDlBg2VKB/sDbaiG2+FOxoWww/wY3pzR4sAiU7yx471VCvwRF749nVOtSRepAWov5zegVZEKg61U/GbNW+n52AJXRfIB+KcDZ4lbmpUJBfNKt1xFgAyi0l7E3i10DFcbXShiPbyn3ZqNzMd6iPIVLsiVaYiZhCKNhf32fEwsmvOv7YxqHMefKcKoq2Vrke9ZzZhPxAZEcSbmGAQIZYneHWjPy3ugkE8iaLAiSP2WJIWTjQ2kLZnZfy59hDRsgT5FMk7iZg== 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=I/dqJuii+ID5NkttuzvqI67JF2qX2ZPzbFRrGdWVquY=; b=oZKrGgwUljOefhLD0+IQx3OFdMPEUTN10Br1Y0rwMOzefnC7mZnD2pPFy/dowlC3EyT5i/jS5QZFaNeZIcx0ZY1TiQmiui9UJbvCM8Xwk5xLbBOAcb9OG8FlvShR/zboHP3zrhadVuuh04Vz0N4MEk4Wts1IEhGl3az/kvpbX+9sCKQ+35B5/BhLNAfAeN4IKZDWFI9ofqCtDPoMsnKdWS/sqIQ8swHP4h4Z4a3msyd5WRivpZWnfgO+vlyrSDpfbL+28A0tyOIr7lCawM4xmZFtYxZkW0WxTEpKb9UzEXhvqTanSDvC71qfUDr14wlr4tbJKEaCU8YzNKnMc4/XIg== 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=I/dqJuii+ID5NkttuzvqI67JF2qX2ZPzbFRrGdWVquY=; b=IJcKYRN98nVlgpzNtMwHcFJIvZNT2EhrECiCXh9xtFDZ5fKuwt6b5RHYGsCJJgrFrMoedmPM6FBMCzjYKGeRTqX4+zuG4qjQfW11t44pM6UVoLZuDWzlyV02s9ra+1rYlsAm69lyFXcwTrE0NjFU9UrsmpWaKlPXRiYU2/2hKomrWxbLutGVLBls7/MW1xIJ5KGnb2V7oqX+TaAGPFfevTGe2on81X56z5xWya8jZCeDo4LNj92pI2bTJJVsPcqNBEX9lw2KaicSIfkVa+SYvRuy7YlAZXkmmTy4oFWlH8qbBAAkrod4+T+bQUTMC9kLjjFK0zQk8Pn03b8/1JSBTw== Received: from SG2PR04CA0174.apcprd04.prod.outlook.com (2603:1096:4::36) by TY0PR04MB6422.apcprd04.prod.outlook.com (2603:1096:400:27a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22; Thu, 23 May 2024 08:04:09 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::fa) by SG2PR04CA0174.outlook.office365.com (2603:1096:4::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:04:09 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04:08 +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 v8 05/23] ARM: dts: aspeed: yosemite4: Revise quad mode to dual mode Date: Thu, 23 May 2024 16:03:10 +0800 Message-Id: <20240523080330.1860074-6-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|TY0PR04MB6422:EE_ X-MS-Office365-Filtering-Correlation-Id: 5138d813-e501-4dc0-5afe-08dc7afeece3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|82310400017|7416005|1800799015|376005|36860700004; X-Microsoft-Antispam-Message-Info: e86YnRC1odN7WJxVej2Vtr3KWvR3pD9HSRFjujQvDk8R3kzara6ocN8k/iqEALPCdiJSXTx2fDiToZvW/Vjm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bcEW39CsoP0/j1pvTLtHO8zsAgx3IJKqZzcIPpf85pOnbBosSwFJqww86+atVbGjIlAqAyaXwZzkI5dR/FITUU+YYx1lJgIXjXQ7ehkK8ovE2enQkhIGnCa+iYmwDB7teEm+v1/AUpeGyNJB/aogkS/WzXWLxwYv+39eDbCxaOlYszQTUJplZN2Wrnb7JFCk98N2dMAkRMWLQgpI3dUn5Zli0L3ISQgrBklguZFNwsrOzh+Ni/QSBYUEpiz0v 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)(82310400017)(7416005)(1800799015)(376005)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:04:08.7497 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5138d813-e501-4dc0-5afe-08dc7afeece3 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY0PR04MB6422 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010417_844255_AAD6635B X-CRM114-Status: UNSURE ( 8.30 ) 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 b0643e8aefee..a708e56b7ec3 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>; }; };