From patchwork Tue Jul 23 09:22:46 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: 13739767 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 6B6D8C3DA49 for ; Tue, 23 Jul 2024 09:25:55 +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=CzMIm7LiERF+8kjttEJmWngqLp 1gAGls4Iot+xB+D7pE90cq6SxaTy3UA562h7Cw2lvuzCLYlWjCWyCY1yKwGIaedewQtKrhvQhVvF0 +nAFI8R9FcL/vbD8m8u/lc9Ak7jpuMAN+d49DUGBE5q4tztFX1yjJFgYO31AnMeWIZN5m8Nds30zk 3p0U69fzDCKKBxWqMJzviKGY0K2V9qyOoVHS8vJGadAqATGH+CIRTopihseDUP55A1HDQS+dtsxRa QxEBJaHJgnNefbolVai54HEsNUzCJSJIndGVuk1zAf5oDdrmeL8uMKPPrbZpN/M/a98yh4jJqA+wn /XjAEg7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWBm7-0000000Bynb-1YDy; Tue, 23 Jul 2024 09:25:39 +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 1sWBkM-0000000By2t-16Cb for linux-arm-kernel@bombadil.infradead.org; Tue, 23 Jul 2024 09:23:50 +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=wTnjvURfXlo53+eVxwkhIqzweQBqIwx6vFyYMB4uolA=; b=OwGcKpyljd2LMGJU2VKolbUbM+ u/uEZSVOtenGgVcdgbQ0I7YH+0x0Ok7UKxE2g8ztmuCIsyDCUS3ZhBYX8bZklBnm4cLzXsyFUq3Ln r2yPnsjWHH6FRyCYuyEhz+F9rc8O6ypUSPN0ipo0/Xge+1DhWQqqHh3jJ/xmBqob9Lrr0Pdj6SFCt TevPaCPfRftc4xIFyGlZjo4D2nbR0JtzqANAVo3VF0cDdFNJdAaCNp1iJObrOwzgH3sfXdooNgV1n /EYhvT8dj52AGFFkHGvGqNt616CgtEhnblwa9YvOlpzeppQ0pHXeKLuAf/qU/MthsWyoQ4JZNu1Ge 52dnAetg==; Received: from mail-tyzapc01on20601.outbound.protection.outlook.com ([2a01:111:f403:2011::601] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWBkJ-00000003elP-0nyZ for linux-arm-kernel@lists.infradead.org; Tue, 23 Jul 2024 09:23:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gMk6wE10TvvqgbrkuS/mOlrtVDQ+d20lsCM/a3kShFmqoY0Cipliz+qTLIX018u7UG+v736sUs9ipfxFBC2egg8Atz1N5bKeS7wkbxKM681O6Cz7SIFQmvmshGBJgvlMJf9GIz8tZ0ggVTNKShj9LGIwc/Nxm/ACcjl0C93UCuk0Tu8Q3HGJEjJUU6Lg8ePW3blX8awrLDlgkxEaOankTrlVQ7+VQJ7pe3HnE9HD2xatYQTwIieD7GZJxbImu40SnA2DRr+2YQevilrt+90GdUMwP7An0Bw3CHy/KzIz6aDnx/FVUe7gO7u/r4dqIrth38oHse50TRC73cCcwGa1QQ== 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=Wk5034h/SQtLVBOPLmPzWc11u9UTn2IkDXLeHLOXyTXbGWgmgwjLqJzSg69r1qfcUm24k3dkN8skQDb4Sd7HVRHdrcf31s3zp10L2E3kS+7ju80ghWbv8QuzWhBItcll8LzpFMzcp24uTkMv0GFNow8ZulZtzpdBdQoWysFadB8OO1xu/q3z6B4QvSvv1v6bjEu+CB6hMgeFESDBP1odYOTjWnOC/xyTxcU2wD7SDLo9d3jG6Xh6g4rIw6esGMVgol2Iu4kPQO9tMwKzobA9D4XlokFf6pxa/M3a0+qRh646AnWdOO5dXJAAHnY5AO+qhKED+iTlfsJ3zIXv3D2VYQ== 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=Bj/MAxbiEsYVXzE6SRP0pvHP4dVxxcARyAwIYRUKGGddMFUJGdPdBQBFRolZpzMthrp8efeFfxmJEtjcuqXzUTw328PbnSnIAxtgLZqAfIa5badXgfxvoc9iK0naMC0IdcRdfwzWq5x1TMChxWLPKAVuv4O10uI98DR4q221NfUZpgu8rNG5t058DHod6CeOqJxK2R4hD7NuhByzGZEUduQOdHCEIF9K9Kiv+HgXnWqDBmXwZeigF0d5F2BTaCnHM01ECimAda9W2zGqfallRM/CpLuvzUSInPQmHsGyT7FMx4EhVypqwWbPJ6BDQN4n2iitgQpbYoOjUHBy8z0ibQ== Received: from PS1PR01CA0001.apcprd01.prod.exchangelabs.com (2603:1096:300:75::13) by PUZPR04MB6315.apcprd04.prod.outlook.com (2603:1096:301:fd::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.5; Tue, 23 Jul 2024 09:23:37 +0000 Received: from HK3PEPF00000221.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::7a) by PS1PR01CA0001.outlook.office365.com (2603:1096:300:75::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.20 via Frontend Transport; Tue, 23 Jul 2024 09:23:37 +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 HK3PEPF00000221.mail.protection.outlook.com (10.167.8.43) with Microsoft SMTP Server id 15.20.7784.11 via Frontend Transport; Tue, 23 Jul 2024 09:23:36 +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 v11 05/27] ARM: dts: aspeed: yosemite4: Revise quad mode to dual mode Date: Tue, 23 Jul 2024 17:22:46 +0800 Message-Id: <20240723092310.3565410-6-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240723092310.3565410-1-Delphine_CC_Chiu@wiwynn.com> References: <20240723092310.3565410-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000221:EE_|PUZPR04MB6315:EE_ X-MS-Office365-Filtering-Correlation-Id: d7582701-5735-44dc-62d4-08dcaaf921c9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|36860700013|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: Wld8ag0SODnuyCEs0h6rsx7yokHqJUcINKmJIbtFoD+tGlDnCOVPQAjrGL7A1HiiyhFihDELxj/nZ1/SNEw7Qdqexz9bDqqcLnCzhbexj2NjqKN6Zut06gBSLvKQUrOyNcK7PWz6zD3RUkUuas5LZbtMg4nErF1pyQ3IEfF+Dwi6uXaaKyT8H0CGn410ZfPKbaWaGG5R1yRAtNAl5qa0uuJnfTnE0d+bbispt7e1WuWfVx454OxKPoBdCBLj4GG2wXd3N2+Wo11MNNFoa44AHMl/SBVwOKEajv79HnKamZtRZecdaQMZ+fgxu+s9o98bZddPCp1gumAw16JNEhSiOX/6PpI7S7kG1Cj4P+7H2PToZaJNe7aWeqBQKpGTa99lo45gEaEGMXqR4CIMpRnABy0LkedSjAhFOwvaRQ6cV2H0TJMg0TiMVOKjhmB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SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230040)(7416014)(376014)(36860700013)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jul 2024 09:23:36.7848 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d7582701-5735-44dc-62d4-08dcaaf921c9 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: HK3PEPF00000221.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR04MB6315 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240723_102347_372713_71784484 X-CRM114-Status: UNSURE ( 7.63 ) 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>; }; };