From patchwork Wed Jan 31 08:41:16 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: 13539019 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 16A81C48285 for ; Wed, 31 Jan 2024 09:46:46 +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=HqClp3+HgNlXHK DxFQANbAlnku2OImgGSECxOrgaDYab9lOVzFHajQYCHP6cu84Eloqy24zCAiFWkyE1IkUPA6SV21Y NNT57Wd5RlmMXAv7gKy0WXhH19pSv6wTHLgyzhxWkqmPD9FZVJLs5tLSP4lXmNPcVb3ZTlei9b9WT 8RufpkF/KXKZ9gptgn+wfodL7pqjegju3kjYXaEQfXalXmB/fzMBzuUyrWQVzpg5pMvBQVAlT8LD+ 9yqd+Eqv0Gqg7U5ZWqLLliBt3yvjv7FR+rYmYoByKnstgva04rGlXniaRw+RLN98c1F05T4Vc0zIm 7TyR32xsE6UKZ7Vk7JyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV7Ay-00000002YOj-09Qm; Wed, 31 Jan 2024 09:46:36 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6Ab-00000002BTY-0tTz for linux-arm-kernel@bombadil.infradead.org; Wed, 31 Jan 2024 08:42:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=Y+rCbKa980zvtFSL+aiZSLIdHmQc5ZtQwhUuhOWMtss=; b=bO/ZobnkVoKTadUgsUd7E6R1fg RTuppfQlHuX6FIt2lRukEuOKBB298wA/Gi3z1vAu6qN9/dZd0FRTXREP3gAmf5B7iPMW2DXWNGaXW orISiA7wc8SPys6gWL7wpORlJjTnf6Ui47pVES0Bw988hG/3AFqjQZIQD+hLgbSLJ/zQNueToLWZN S0ZeUcv1GKWDP/oVeK4fIIHvAefJjMfvf2rvBjNIFSKoIcEvSEFiXk19yBwGA2+lBQSS7lvnzIe4h DMt8kEtE8ZTkfWGadWwiK6yocyHhVC6NX1/270kdaPTORLYc2ny2hPqJ1QMHhO5XqOf+Y8enuQ5h2 eI+naFzQ==; Received: from mail-tyzapc01on20600.outbound.protection.outlook.com ([2a01:111:f403:2011::600] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6AY-00000008ppA-0z1e for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:42:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iZ4x6QZ7+nTbXS/DGo6YP42LIglwSUS1SRt7b3fWGDvNLSgD1XmEIq2Ixqc+0M/GEQSvWnnKNkmKJF/Nd44tiPZYqKCIk0n5/tjzjPUJSI5xHM75x481N8ZLIKhXaOmd3I6qhp45UOYshMGbQCNsWB0pVW09iyyOej7uNy8lShlnCjGuK0oe/zlRu+/JRejvW4HLqKZdIfAy104MMAC5vT8frxME2cAb+wAtn4JJRowrlAzndl1fvLMOI+nSLS57b3xPcXGWVuBVbk26PMWo3yNTmSlta3QFBUu1+kkm0fqJ6hpLtufVcWeRSbm/FKKGhAu1W2gN9tHyeFfA+HLE2w== 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=abGlQkj8nLh0UlLkCmG+tkOyIF42pnyV9/J48eFpHc7quNGypT7CxmTSyoE3CL/yqy5feJHr8WVO7M/vmyYxaHtG2ghSmFfd5sO6Gdl23tDJ4msA5VaJIh1DwsiVSFIAFcfwrwZDl4xHRm36WROj4PBCoD8Z43rSOV7ZI4YGcPI0Hq1TXKXQF0JLAe491y90LuAnAOE3jMCWL6AR3fTnap32zYZ+oCVtJYBB6wkb/13yjIYIQdKRHPp5xXT0coq0vfr+39NJnCJoxeUw7a9ALojPZ4XfWrKVm62YvWbRQQYNwtvsdD1q/lPxSYEADXTk+E+n4rkYxkax8x7KPTp7lQ== 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=bdB2jLYt1dSJvDREDBG1uXbXfLGFRUMvMGHAh+XzdSH5mz3MWlyAMIYnU+uYf+p07VLBi+a5+QMhPbpZMrmSUFIPqvAAUwW/GdO+MV6Y/+bb7Tsop/Z2FPzSXRdrqKUdc+POXXH0EG8cxqvGFgK0KtjTF4amKGeSfYLuoESyQlt0SlT4vhjW/kD/Gyt/F13PyVNDgVYJDStK5vSTNw93nY8mFEyHZLMAxT8YQ5sKQ27OHSnZd2ekUNk2x/4Nt07UG3JgCj79jgQtnvi/DbonHrvUpsyE9p8l0QCYY/IwIjfS3s1d4ieStZ3LkEEcRH9IgE5j5NpZpu2e/i4WB1f0aw== Received: from SG2P153CA0019.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::6) by SEYPR04MB7332.apcprd04.prod.outlook.com (2603:1096:101:1b3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 08:41:59 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::9) by SG2P153CA0019.outlook.office365.com (2603:1096:4:c7::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:41:59 +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 HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:41:57 +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 v5 05/21] ARM: dts: aspeed: yosemite4: Revise quad mode to dual mode Date: Wed, 31 Jan 2024 16:41:16 +0800 Message-Id: <20240131084134.328307-6-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|SEYPR04MB7332:EE_ X-MS-Office365-Filtering-Correlation-Id: 6dc2d661-3bd0-447d-25d1-08dc22387d0d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1pZwwgVIOYP3R1ptU0tG/XtbSZ4sE9ec+JEkkTj/b3SjDWB5JEuwm7rWY5Ru9uPLNW73oenDD1wILRXqFBoYpYktXsoATa3kvHk5IaMwXoP/JWgSq+Zbs3kcHWu/3JoL9kwUlv8mLWn4RL/l37HEWwfxoXi9RTX1WZdGi3Vz6M+JRnCh3pJUut5pObMubikPrVFUSCIIxCb/xNJtYptBGD0LD1fZqStYVLYBmPOCa/y2qjRXWnN47pkiaF1R+8ScFexh6ZTQa57xL8M7vHD+dn3vSJTkOvgXBVRhCrB6t6yVOB5RjK2I5AOgQIt3LHnHh5jLPWiquYYUJF5tEd1eCG8lhJKOus9g66myGrvDf6491F5C3Lwj2nPFKxuhoh6MfIXmghmSklRKpzWMywNbzyf3UCDxyOfn1yxAbHzDFkK9Rw2MuZtk1Qti3a78EjrtfRatCuJ+X6k5awnH68RUpSTSpkAY1HMVyuzNtov1p+wDVNmlTzq9ftigccMbi0Azwg6kkyGyBiXklMJX4TFmgodP3JVf2McDaHypjHnQsXHFZ3kugs0q80TdNrzJdRn6K3wRpwzzhP0ziWSkqixHlZC9IC8s/CWGBO3KruEzojB7ihmIrfaUuJGgmfyotReMzHMcD92KqKp3MY10anNlSKZNBJFvZELniHXJWbblTEJLJeY8tpEskpWmePVusIfdJMF8LsfF4Qe4XHV2S8uPCg== 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)(6069001)(4636009)(39860400002)(136003)(396003)(376002)(346002)(230922051799003)(64100799003)(186009)(82310400011)(1800799012)(451199024)(36840700001)(46966006)(9316004)(83380400001)(1076003)(6512007)(82740400003)(336012)(956004)(6506007)(26005)(2616005)(36860700001)(5660300002)(4326008)(356005)(8936002)(7416002)(478600001)(8676002)(6486002)(2906002)(6666004)(81166007)(70586007)(36736006)(316002)(110136005)(70206006)(86362001)(41300700001)(47076005)(36756003)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:41:57.9887 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6dc2d661-3bd0-447d-25d1-08dc22387d0d 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB7332 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_084206_383501_8AB4B1F2 X-CRM114-Status: UNSURE ( 9.54 ) 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>; }; };