Message ID | 20240723092310.3565410-4-Delphine_CC_Chiu@wiwynn.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=L8spurwJ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WSsCh3PMgz1yZw for <incoming@patchwork.ozlabs.org>; Tue, 23 Jul 2024 19:24:00 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=L8spurwJ; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WSsCh2Nsfz3cbg for <incoming@patchwork.ozlabs.org>; Tue, 23 Jul 2024 19:24:00 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=L8spurwJ; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=wiwynn.com (client-ip=2a01:111:f403:c400::; helo=hk2pr02cu002.outbound.protection.outlook.com; envelope-from=delphine_cc_chiu@wiwynn.com; receiver=lists.ozlabs.org) Received: from HK2PR02CU002.outbound.protection.outlook.com (mail-eastasiaazlp170100000.outbound.protection.outlook.com [IPv6:2a01:111:f403:c400::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4WSsCc1pDQz3d8K for <linux-aspeed@lists.ozlabs.org>; Tue, 23 Jul 2024 19:23:55 +1000 (AEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=PekgKxob06+7gsVFCZj7LmfsYa2BTMtCGw6YBJ4fBTuLCqj8cJhIcXBL8Z2BW8H8NdchZ0IGWjGELxxIThc4DiwXdImH0NUJ51EOXAzAq4//cbWolEWXNBenqccDPhIpqAPj7rbWZGykd2dvyeSlVpbw71AET1QYwLTQlHmP1tNFZ7LWbzrzaNH5+Pa4S3g71OWO+wLIOUG4o5GMoxpz/1wttn8hyFa8158umqgz08OAfBNTk7GxEXMGudFjacMo8Wc7bbdzU9dZPM61lJjyrAxqOj3ZqJx9a9mx+PCVNSpENYEKa8OhQCky6L3JoEpyyYgC9IoQXDJblvT1tGjBZQ== 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=dmHAwAuLtww6S7Kx24cCQt5tMxYWDkSMHxAXTvM1SXo=; b=JHMvTPB5aRjEEerWRLJ/SkSH9GBm7qczJnyutLI1kj+AVOq8pssS4yMO10BDmdzGzdchg6rF3A5nKtcQFYPwZlYQqCUMKmTSewK51uciIn1gZGzVU4T42rYOMXot84M+lDFhMAVdezi40vFjpxe6RKr/60XgoaplQbakLGrNIIm7uS++wXDhFRprQ8rUK6WvK0a9/0xDTONGCQMIcnhARRzoF51LUuez1Mxh4IoSH0hR98A2r6W5vKI+cbIcVDTUnNRPYwZaSOOxAX1oheFr3rGPv3TXDw33pI7r9Ab4WrzqZn9ZwXdtoD+zb+KWXpntX1fQMsSJPD+Z0ZTv5iktCw== 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=dmHAwAuLtww6S7Kx24cCQt5tMxYWDkSMHxAXTvM1SXo=; b=L8spurwJKa46KIdLDJ8CThPM8CXWzVjGm/xVk2eWk/BeDOWLZ9tdH5fqkNGTN7CokHKA2QYkZdlSzaEaSwUAhjS4Q2f2wDLFn2FpppyomMqhxoXaeSQCp5tQZddcezncPhGdjMhz+/UR8btKw6Kp+rCKgaElWJI6Og/K/nWoU1RGvujCCQ37tuJYhuqyTSqFXS4nKsj6y4l4JMvN1tVXDeSxp0bc0bc8gNbT4Z9cSa9tCe8aIDKik9L03CVoBYv3BX1sAKlVx5RHPfdjajkUtMG25tfntnbu6qGPWrmpf0AjzAtoCx0hUXHlzehpPWmFmGwsHZy6Dw8+pvOCCdmduw== Received: from PS1PR01CA0020.apcprd01.prod.exchangelabs.com (2603:1096:300:75::32) by KL1PR04MB8172.apcprd04.prod.outlook.com (2603:1096:820:13f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.19; Tue, 23 Jul 2024 09:23:30 +0000 Received: from HK3PEPF00000221.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::94) by PS1PR01CA0020.outlook.office365.com (2603:1096:300:75::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.18 via Frontend Transport; Tue, 23 Jul 2024 09:23:30 +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:29 +0000 From: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> To: patrick@stwcx.xyz, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Joel Stanley <joel@jms.id.au>, Andrew Jeffery <andrew@codeconstruct.com.au> Subject: [PATCH v11 03/27] ARM: dts: aspeed: yosemite4: Enable spi-gpio setting Date: Tue, 23 Jul 2024 17:22:44 +0800 Message-Id: <20240723092310.3565410-4-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 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000221:EE_|KL1PR04MB8172:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: b7a68b10-dfd5-40f1-7e1d-08dcaaf91d98 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|36860700013|1800799024|82310400026; X-Microsoft-Antispam-Message-Info: 8GGsPZQ4oqAIms5LderLoXiQ4dyXbh7FZdB3lYSN0icA964TCt7fWOYhshl4kk+oLzZQdDU76BpwyCAbpe0GMLtn/+fdmzASkUm6YklIdeo3Om2xJgdR4ZNSMG6gyAEW3DyGZOEjJnKydWp1POV6sdoEsFVYgte4emWKUy/ldOkFU+ECAzVAZwvWmKNMllLx3wmlhwDgGLdtus24RLd8qS2KUKAjG1WZUZAFUlzyvQvhiTYauE4c020UW5e9R9zkD5va69PmwCQr7rhtQzWg+pRxKbO9Ib//i1RfSJmw03mOsOk+tJHLmIr4wKGzMSi0+pc0dAde0B29x1PPgcipjEwqBM4KB5GvkBzAwZWSU/v4m96EmE72k5kHpMfmdD8jyrKL/xpjiUfUdkPNF6jEn39vK48un3kUPPNXMU1Lycr7eHHoiEGQz2FZbLeVnblZnh0ANm8hPE7eR93NSaOjiOys1UaUJHOVsY5FyZTMs0AxwhSzIFsob0N+rIRH5JhQruN2hBOy7mgxXC0LmWRvCS+k43Q3SEnPABcpbdHffUbumwOVoShOnEHONUBu7x/TeG5Ncu4Fln7dPuKc+9iya5zkXlNg2jB1UPKnxBEmROyA0sH3L2DasDtgO/xLPZbf1AgUXs9TRLjBVMto883kbGLUFB5SqQyWWiCDLxupeAE47oPElt2r4vK6jEZ1GOOuNCplcueMRETF6tqBjGIAi7f99U3BKFrGoOur7VzCVvXLtToKovagngurC97EA+QJShV1GLLJ5UaWajwy6yKAwBTUhzPzAw/PXV6kfyIjXFYokAU6gc5DQJHxwi5Jb6UDD9gTK2YcSCYA5n/VCCYzXozvGWg5IxYhMGZS3jCFk58qNc3Zvw4Zyqj5kJUIWh82+EAZSl0R9DXDEI8f+xyXln2m17LdG0jdpe+jbA8odDfIuy45roeESvztRh01t8VQjxw9IsJyRSa1xtAtMP87UPwVCeyQnwmQKxlojoI//Z8bOYPbUHxTA+KEs868TkDai2eNDxmu+CLBYbd1/q7B2uo/qjyI/+mPzF4h4nLIs0YeGPwhwRpCYNi2xcaRhJqYFsGBKaQl/xPPxePAersASfyyi7iq6HNceakP2glUYGsIIyI1gu2WoqG9pcMIElzyv86eYzpZeFW1J2pZFHpcG/QFYjV7+IkxzRJpw4tkQ8euvGgmdGgi/RI07QYD5H7XfPAlqWGbhp0YP5nJWT0EPcrE9ei+5+1HI50s3itH8rh0IMLFYdt/ztDZlRAjb5alkvLQ9GmLOLDIM8ydZ81WcRuugg9xhQNRScs9B/ZIirqJfIaQwnT/A4dB4DilSri4eRs1JWs5Soim5kk3KRniKyVjEfmUvW/MfyzGzPqrh51CQL/r/RfJA9E0urY3PrHhhR5n0yMvNj9xXcy4oLMjnSGCfhODBSrAeWFQwz12DhPwu5T0LRCg1TwKimsGRJmS 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)(376014)(7416014)(36860700013)(1800799024)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jul 2024 09:23:29.7691 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b7a68b10-dfd5-40f1-7e1d-08dcaaf91d98 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: KL1PR04MB8172 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development <linux-aspeed.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/linux-aspeed>, <mailto:linux-aspeed-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/linux-aspeed/> List-Post: <mailto:linux-aspeed@lists.ozlabs.org> List-Help: <mailto:linux-aspeed-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/linux-aspeed>, <mailto:linux-aspeed-request@lists.ozlabs.org?subject=subscribe> Cc: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>, linux-kernel@vger.kernel.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" <linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
Add i2c-mux and eeprom devices for Meta Yosemite 4
|
expand
|
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 0d659ee2bc19..575abdd530df 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -53,6 +53,24 @@ iio-hwmon { <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>, <&adc1 0>, <&adc1 1>, <&adc1 7>; }; + + spi_gpio: spi-gpio { + compatible = "spi-gpio"; + #address-cells = <1>; + #size-cells = <0>; + + gpio-sck = <&gpio0 ASPEED_GPIO(X, 3) GPIO_ACTIVE_HIGH>; + gpio-mosi = <&gpio0 ASPEED_GPIO(X, 4) GPIO_ACTIVE_HIGH>; + gpio-miso = <&gpio0 ASPEED_GPIO(X, 5) GPIO_ACTIVE_HIGH>; + num-chipselects = <1>; + cs-gpios = <&gpio0 ASPEED_GPIO(X, 0) GPIO_ACTIVE_LOW>; + + tpmdev@0 { + compatible = "tcg,tpm_tis-spi"; + spi-max-frequency = <33000000>; + reg = <0>; + }; + }; }; &uart1 {
enable spi-gpio setting for spi flash Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)