From patchwork Tue Aug 6 07:18:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 1969349 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=COpMedOc; 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=openbmc-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 4WdPsr0N5Mz1yXs for ; Tue, 6 Aug 2024 17:23:12 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=COpMedOc; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WdPsq6QR5z3dDT for ; Tue, 6 Aug 2024 17:23:11 +1000 (AEST) X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=os.amperecomputing.com Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=COpMedOc; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=os.amperecomputing.com (client-ip=2a01:111:f403:c000::1; helo=byapr05cu005.outbound.protection.outlook.com; envelope-from=chanh@os.amperecomputing.com; receiver=lists.ozlabs.org) Received: from BYAPR05CU005.outbound.protection.outlook.com (mail-westusazlp170100001.outbound.protection.outlook.com [IPv6:2a01:111:f403:c000::1]) (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 4WdPnB319rz3dBq; Tue, 6 Aug 2024 17:19:10 +1000 (AEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nA9dDy3TXEiNrmhON9JBw0P+FJj9IQjBCLUNJ08MT0MHI4oRJ1s5bDKnSNkgUac11dxgIO4XV613KiXs0Q128YteuJAlWO/htpk7inysGx+drvYqCAHQ+lY06a/0yWmW1fttAbe6KQ76K11wGUe8jkA+vXXTsjVREtJi6zMj4FF76iTf7EWuJ4cYE81DnGxUYyA69MmrpM0VJyaCUIDBkxbaYE+I3UqZB77Srsm9RuxOdR0WAcZBo2tiZcec6T3Y51eIdSwNd1kcbsUWM0EM2M+jVMgNOGwJIIg37YoWwdJNIMAL+8lLfo7wf0wPdxVlwE0USwzBjGWEuXidSBGyeA== 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=ACeujd4hVsAXohzRwGgsWDFhkxGWEIWPCVCXbd8fTso=; b=LORi2iE9Jm7DtqIAPl0gfhp3ouKXIkmvNf5esEaAAjRlpP24FrrC+d7aBcAsArIXiD7uN0u6tLDGvM/MgbWkFGC7N0Ong51HBjAh0VJEYksJwBzdmBuDsQbGOHhKRtnrOTo3rTM4c95lwEofyExUtqYM9SwqdSIiiQIlAJlzqSVpSuoIa/UydtUV8AVcgjYfoEPOTLHH8gDlkmtW+iFbIV6fpzXtFHPxAJ6Phj0PcIjUXhZqYBYd4LkGxOdM3mWaPmdGiV3ORd9MOlFGLNjHv/TWwxeU6xV3chMJzfKamVVYK5+fwUjlDAR3PP8GFYPc0RZe1I0v8feqED2Efzc+6g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ACeujd4hVsAXohzRwGgsWDFhkxGWEIWPCVCXbd8fTso=; b=COpMedOcU2zN4LJypnm8rtFEIC5YJTh0ZdALrh4kzCpB83aD8M8M/vEXcrYkYxPQShp+CEoKNyffQcIfuG/9MZyQJPdgAE3kV9XRycf1hszGR1eBIKAj3FBWjOh//uTayRstJUtQaOozpAbYq2t3aZulpZG03cTcfQrt7aYa0Nw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) by BL1PR01MB7770.prod.exchangelabs.com (2603:10b6:208:399::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.25; Tue, 6 Aug 2024 07:19:07 +0000 Received: from BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09]) by BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09%4]) with mapi id 15.20.7828.023; Tue, 6 Aug 2024 07:19:07 +0000 From: Chanh Nguyen To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, OpenBMC Maillist , Open Source Submission Subject: [PATCH v2 4/5] ARM: dts: aspeed: mtmitchell: Enable i2c10 and i2c15 Date: Tue, 6 Aug 2024 07:18:05 +0000 Message-ID: <20240806071806.1666550-5-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240806071806.1666550-1-chanh@os.amperecomputing.com> References: <20240806071806.1666550-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SG2P153CA0026.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::13) To BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR01MB7057:EE_|BL1PR01MB7770:EE_ X-MS-Office365-Filtering-Correlation-Id: 98c14a19-69dc-4642-5bfc-08dcb5e80f1a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|7416014|376014|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: 0SLAvVDvGqUVFUBDbpLBecHIh/5IMc/RxsuXZfOO5OfM2f24sm9c8mQZi0vx3BHnT5r4ag5sqk8hmDzezG4gMVnJSWemkjtK+NS2TDoCBQUy0ZAY6nfv09nuQ5Wloyh1nyszai0VtOxvzyZHULYYJmgh9Ccw0oVCKQwbtFvSqhbc/Iz7IWmeMbSBMDWWSkt0ULQSjK07WLjS4I60isv/9jOBurYCSBWrtfWLMP4uGd7jfnobQdQYtMT4+RBvpE7q3/HZQ6xToOYuAh5Cs1e4cfXtVSp/ID/VquISDfbC5UtNKr0ueNUA2bJ55PegDKNbjIq4DJB2ICwmiwgWbyOv67MVnYqXaJh4JrCUzmQiqnPq/d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dreMsBxNTs= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL3PR01MB7057.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(7416014)(376014)(52116014)(921020)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Lfy/nQlrQHVnmoppfjNNfr+s0drZ1yU661NB3t9FnYy0dC/jJE74BVtB0kho/dwa2Msm4WvtL724aEka51cQY8x0S9oxaA7NKuUuaAbu5FaCy+zCIGupvpf4sVm5xGWn8b22I7dvVHZDm0kW9vGiMfzSPK6Q7VySfCQjj6OEvBT6VKioBdA7ZQA9SR/nOpymm/j/gRln4PFAnYhoq0eTVZpHZAT40Vust4EeWGxexzvVhrxZN0ooLsa+0rMlitiRVcVDLxhHvT6OOOj/SPCp6QMDDclElclcitQ+lYLy/6NFDWLkm3R8n3x22X3tAqlVwzY+nmM4oVWGO9/GJNa3SL8/YQEPbYRzTHJol2EtjEU1VV+vt8BaGAe0BK7Ox2JNVGfgpVjS2VVicdkbvoR/4LNOhhaeM2st8yIgF7rN1IrzU1Z4zkdKWAgP4WihlYDhmQtL/eNpH5TYmKTn1HTCML7aVbLlbE13IpQquMDJtMxvWHr04hPgakpp2mdr/PVCp4bErKultxYDA5V3M0pyJIkoFNZbJsRRh8734ORFDc3FwBmjyXmo4fzbxC3eGnLM9nus5CJcU/Duucr2WEhABYf/3YI2x4lheRjQbWMwdxOisaJUXetF1blgiGwp5lM/KaR70xvgpXuzYG51xvbxKu1lBHk3HeprfOQ/z3xvccZVJxYyjpCSYw7QNBZzkCs94xo1vYe/SZjf5THOzZJ1iGFaYZSOJeJrHgLzxLQLNF2M/J9FJcea/kdAtfghX6oJPcsW9NHJpi2NmgBaq3S5Lr/Hdal+3K2VcsUHo1K13hqjbGLa4DOgOV27DQwBv8miMzBYKHtI58SJzb2fRkqDBNAxxWWQnzEkBPc6je4mqiXvtSEFOlp8vghYfQe3USc8aO1jBbdZn8ZS8kW5V66/If29b9YZzr+x4tN+piNWWyd+gYx92YX+D8fPhbSCB8sOhOIbmaoaSPPk/db/YAKP2U8MOyCQ/q/2Zky/mNEpwQFNz62ay3AkJuMHtguOmICyf4sBAo86/CiP10AhJtdT2C75CEL8SW4RISLw7MW99cOt+L9yZ60dEGIrmow1ODKA6UnY53qPbjMV218/TprWX7+4mmfX0P2VCQQI/U834NWtU/jAF1rHyDhb6icEycLKVJ2eSQXeVhrHqcxIiyRlMxayhOra0cz2K3URag2ry/wPV44wFBS5NiL6E19JusZGjQ0TF70oIS/Ve5k14H/qGTqldkTWJlknn4vAcMep3XLuSls6DP3LfnOexlsUubhTB1ERrc4mPzQeh8QaFkDIP/Ibh8EAVEfG8ZEHJnrY/5vsPAlSuMnxpdlcsnESwccs56I2Ilt1Xf4sCH76Cwhp/pJyPWw3k00b7BR/GCogmh+dXFAEfw/56FHm1o06MZVKTcKgFAWBBvJLvj6F1kSjdPJ3cz6P48NqsrMTOpnuV445jrxhGKBdWSgJtftH9IEEnAcboUcyWKdObFGQcH5Z/lNngPnBPXOGEnzjD5Bctt2q10iQsEi+zwgyemrVLOVnYYcWLvj3gKZ9I5V9ucflSFRV7MeZtV4YuNwchuiYkIS1IzJFFfCiEjIMHIDBxwrWJ2e2ysE5nfx5HJBTF39LMiUJjP7usqNSCL0mu5nhJKE= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 98c14a19-69dc-4642-5bfc-08dcb5e80f1a X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2024 07:19:07.5043 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5BERRhw9VebnYFErJcJ6SfRg97JGopepM4BxBW0HCJD3tZYJVj+WftpxZKPg1RlYMdcDWkuoDd76iYgNfvV0pHHVjQ92TGH4oHSctwov/UcEa1prLJG7rTCUrAHPTluJ X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7770 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chanh Nguyen , Thang Nguyen , Phong Vo , Quan Nguyen Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" Enable the BMC I2C10. Enable the BMC I2C15 and add the GPIO Expander as a child node. Signed-off-by: Chanh Nguyen --- Changes in v2: - None --- .../aspeed/aspeed-bmc-ampere-mtmitchell.dts | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts index 4d2f6e5348ce..3111f23e56dc 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -890,6 +890,10 @@ nvme_m2_1: i2c@1 { }; }; +&i2c10 { + status = "okay"; +}; + &i2c11 { status = "okay"; ssif-bmc@10 { @@ -912,6 +916,25 @@ bmc_ast2600_cpu: temperature-sensor@35 { }; }; +&i2c15 { + status = "okay"; + gpio_expander1: gpio-expander@22 { + compatible = "nxp,pca9535"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = + "fan-fault","psu-fault", + "","", + "","", + "","", + "","", + "","", + "","", + "",""; + }; +}; + &adc0 { status = "okay";