From patchwork Tue Apr 25 06:57:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 1773216 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=) 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=ThLVmiPw; dkim-atps=neutral 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 (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Q5CXs1vXnz23v2 for ; Tue, 25 Apr 2023 16:59:25 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Q5CXs0J8Xz3cLX for ; Tue, 25 Apr 2023 16:59:25 +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=ThLVmiPw; dkim-atps=neutral X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=os.amperecomputing.com (client-ip=2a01:111:f400:fe5b::711; helo=nam12-bn8-obe.outbound.protection.outlook.com; envelope-from=chanh@os.amperecomputing.com; receiver=) 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=ThLVmiPw; dkim-atps=neutral Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on20711.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5b::711]) (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 4Q5CWS4Vvgz2xbC; Tue, 25 Apr 2023 16:58:12 +1000 (AEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C1YZbmqdf6yLMVMX5778GpMjpXlntZHnSgyh8Ch+SUSBblaFW9LdzUrTJiWakQ0HDlU2weQNLvNiZ5ldmGmmIoja96GTgsAJqptpWKAsCAF09dWmuuYg/Cx42AiVX3rWdS5rRI+cAG4Se9EAJSAUCJhw7eQ15B1ZAFeEIGBcTZaNaWYldaCYBFfQsxJr/03K/3Zv2hs7CVyT5Cm7JIZaAjwkpoKJZy33oYc/dpNz3fzbwGdL8QqyMMpnDnJJy9LaT57xFM2+O3XuYC03VkO4/HvQDCkn5gWmYgmOABn8wJCIHnyiuv1r69ziky9clQjrhtFFqgnnFe4b5m0wHySRFw== 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=+RLPGuJTd7oz7kuWloiYHv2YNQbVWTPsVdUNG9UXrlo=; b=TI8gQJ8oEHuqK6VwrCZ6RV1v1qwxlhMntCxrwT15W/hoF1Y7CD/0HNuI0KlWYMNuIRpOqNV1JdqJG6wHP5YgjCblumiWzZ3qli5TUd7pU6Ux0hEvLJSaTtThNWrYdRC9b0i8g0KyjugeFfP0LUc+hSZ7tuEdIK4J4CKqeAAlB76YeF7PZBBewmFpAsHGbQ2DXDbN+5rEbUmxRXatz7F5A6zPlA1+/YPmd9PgJiXN2joI3/JAhgm0YK2RcQ66xrYsd/clroWPuyrOOgHZx1Mc3mukXJwdrfwUJWdc1G3XS7uohF45YQ+4WYapUyweAwDy3TWtIebff+n3hO+tiBWuJQ== 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=+RLPGuJTd7oz7kuWloiYHv2YNQbVWTPsVdUNG9UXrlo=; b=ThLVmiPwTnU3PEVo4J3m68Icftmqrkr9wtiJYIwIGC4PzK/fWHCYqmd/PsLDocps5benDulMaAOI8KnWaeYfKTuMGu82n1hap8p4DsZMaumQjYeAPxPtewd1rFl8+u1T8Z3iQODhu9F2djhpZAmE+UDAiLKYK2A0O/oqradHr4M= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BYAPR01MB4966.prod.exchangelabs.com (2603:10b6:a03:7e::28) by PH0PR01MB6504.prod.exchangelabs.com (2603:10b6:510:b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.19; Tue, 25 Apr 2023 06:58:05 +0000 Received: from BYAPR01MB4966.prod.exchangelabs.com ([fe80::46c3:3b44:d2f8:4c3]) by BYAPR01MB4966.prod.exchangelabs.com ([fe80::46c3:3b44:d2f8:4c3%4]) with mapi id 15.20.6340.019; Tue, 25 Apr 2023 06:58:04 +0000 From: Chanh Nguyen To: OpenBMC Maillist , Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] ARM: dts: aspeed: mtmitchell: Enable the BMC UART8 and UART9 Date: Tue, 25 Apr 2023 13:57:12 +0700 Message-Id: <20230425065715.21871-2-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230425065715.21871-1-chanh@os.amperecomputing.com> References: <20230425065715.21871-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SG2PR02CA0051.apcprd02.prod.outlook.com (2603:1096:4:54::15) To BYAPR01MB4966.prod.exchangelabs.com (2603:10b6:a03:7e::28) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR01MB4966:EE_|PH0PR01MB6504:EE_ X-MS-Office365-Filtering-Correlation-Id: 72afd3ea-c790-4265-ec5e-08db455a6ae5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qBGVIUagN7fC1egMSLq8aRhNgqJOLrfFsiC6Dsd9nprFu0DJ+SbyO8SzwAEuIYi695acB0yRJIGLpbdkeLl02GWqdEkjfz90HFgY8Efc0soPDN+1mE5ucrdkex+BxUHMqXlpFgx9oqV5LDyP9Twq0jXzeEdK8dGdmcJDbk9YF4+IL6sygjQSUdL8/CMUtZp3czgXsnt5WHGi4Ffgtb/v3Ot5rVys03DBjzuRttPdAb3SQr84k7+DpGKscH57uQOkFDIIwLGnImHONlFjISIpm23Dw3mw7yLNqro+1YMcB3+zSW8X8HQxWZ/Lji1agoy0UnGBLJEUBnuj+N785GYvl88sjlSmwET6tMtmK6Bkv2HIRXauxPRBAcR2xg1sDoCEUXFHxljmrsWWVm8EuV2nx3D8yeveaBkLi4lKDnf5i0bInec0HZc3vwLkxa1XjCRrbu7+rWTmNZwgfv5cP1yJxbZpyUnlO0MKVdAtlJc95icrRzyVgE7KwzYlV6hhRUDD8NZCQZdlgmZpVQR7Uf/cwTzC6Re+XTUllhlF9dEJgIoS3Y2ucAu++fi89ktnxPkJE3OxJEl0D/QjDFS+D+ELT4LmvRTnuZUVbX9I0+rIrXOJBXJx+MkcOaLr+Q1RXC0N X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR01MB4966.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(366004)(396003)(346002)(39850400004)(376002)(136003)(451199021)(107886003)(6506007)(1076003)(26005)(6512007)(2616005)(186003)(38350700002)(38100700002)(66946007)(478600001)(86362001)(66556008)(66476007)(8676002)(8936002)(110136005)(5660300002)(52116002)(6486002)(41300700001)(2906002)(4744005)(4326008)(6666004)(316002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rtUo6mJi/MxQ1GPrbmjciyTgB0cHgj+gGZA+nSpwhnTco2TNeYqbkW2LH/uEtdrmRBxDAC76KVl5i6EdZNAw+AQbjxqiSF3G9+uVj0EIovUaELjDnTPigWd9r+0RIrQANRhK5nPc+lnwQq+KVGIj/G96AMSCtLXeYRpYtGhKutgxvf4eNzTb+BrPbugO0De7VCifDBMJSTAEBMCekvdxwQFV11EDsNlJrFzCa1WX+D5GANpZXOr0KRmpMUY2sCLRcVxCVbzGZZE1TYWEtrtfcnTAbEitT7tD9E/+opvSaTXjpw6G03dy4ghOFTCRdUzcSkraKKk9syz94K/WBPJWLoZiQZ+MriT7hmvzN3fsZIAdb9YTGeDrw47G1av8sgDcf6OCL6wNiU5u1DOvvbxn5Db9+t16xNYMThBmVZ8ChY0+yRchc7qDvuAeSiTF+X2feMeg7ZJS0ZedkSyOfJ5pktY3pdIG3rtZcUfy0mSzIUF0ND67qTxzLUUTDgn0+ZgAsZRvn6egGx6rm2CVAz/VWY51a5VqES5gFQCPFl5uQmJasqyx/c6SkBmgRIFDljWstdiH+KWhjAhsEPWRdgjWFHWMbSDhap/rYYAyrLVpmeZTHwje1QT/4IaRth5U3d6wwaxOIdtfW7pN/N4yUZMQroc2BxQvqGtOa3rWKDUlcTQiNnbxkqMNK/OKkGIREMW6KHQJNsV2E3NfgG2T81FrY5B55wNDc9DWW+LGYkaLGHS5XHmGxMRU/v9jC/JOSNPSgnxCYiouvSY47Ml5Br0BkkSDYNg2muoRjfBD6joEvYLc3ilPwIB1zt5gHX+B3WRnunElFjxQBdiCpiUM7cxcjN3EagmBzAW//k+arPsxKZ9Iu2Hz5jaHvTHDPbafjbiYymTZE7iaC/cfdgGOIrtknEm3HQgWLJQzKdD4QFeoY3U4zA8JhZH23eKlnq5ceornR2e8rmwzDMZA++CjDSHeYIwfmEA0QRsQhH/9pehbTNpYO6Fo5Nxap/6klMngGmIPydty4Rn6EHbKcqzRilb6+/Gp7xBpzm5n+UCUed+JANSVHZZTke9NssQv1IZ4Ocv4FrawohYW2WUjqNJ7W6vlEhQP1LA6MbdB36Ky6UYNbKmVwUFdemGunbGcToWJYlRddytbITXmb3/0MfmRedexKuvPSNTKfvXxGKbiMl1+HacU0FUTH8ZiPxAtTc6DSXbsFPnbn6pVZZghN17MiS+NcE54hM7K6dD49ssKKNmidYEHtDgzx98+i3H8u7HNAytAQ42uXkU6KdreUfNgI97+bKPc0BYk1hsngDkQuf8qFnhtbtmUVn4T+W3DZP4k9QQx5vKWHn/pSRUouYJpVpPglg1J+ov1o6v/yhc3JsyWoR+jWUSyc0e8ZXMC79ANa6q5gaKW8umtpTS5Tt+wPb7elu7U3XfBYiVr4NWCB37cheYAlw3XCK4C4cQGPFt8trlr9V7oTsF1rk7pHJqcxDU2YmcCnFXLiqRtABOGKrHdGzDx9UI6u2hCRuWn+veKUG7pdlPooK2mVtxZy4Q+idlvU0cfHUBiUQ+2IoT1NZO2YqOMsKTLahyCEpVIz9RKSMocFOyZ25BLUxcHc8hA7mJfSvIEapmSB2RyhM5Z6ybDhfg= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 72afd3ea-c790-4265-ec5e-08db455a6ae5 X-MS-Exchange-CrossTenant-AuthSource: BYAPR01MB4966.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2023 06:58:04.9441 (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: 8qLrKO+vYQu11Bdv/h9KmCaGA+z93OAwl78qQoxlmuvPQDiEsbDSW0ihw0xdyOxJwrhY7FpGZRnrnNaE8Me1E8C7KOL9ggmHWvBy+CEyg38jSDMWK7vsHN0f+CxSmkp0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR01MB6504 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 Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" The BMC UART8 and UART9 were connected to the Secpro and Mpro console of socket S1 on the Mt.Mitchell system. Signed-off-by: Chanh Nguyen --- arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts index 1e0e88465254..e79f56208b89 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts @@ -9,6 +9,10 @@ / { model = "Ampere Mt.Mitchell BMC"; compatible = "ampere,mtmitchell-bmc", "aspeed,ast2600"; + aliases { + serial7 = &uart8; + serial8 = &uart9; + }; chosen { stdout-path = &uart5; @@ -307,6 +311,14 @@ status = "okay"; }; +&uart8 { + status = "okay"; +}; + +&uart9 { + status = "okay"; +}; + &i2c0 { status = "okay"; From patchwork Tue Apr 25 06:57:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 1773217 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=) 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=WMtkWWXY; dkim-atps=neutral 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 (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Q5CYs1Z66z23td for ; Tue, 25 Apr 2023 17:00:17 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Q5CYs0gKzz2xbC for ; Tue, 25 Apr 2023 17:00:17 +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=WMtkWWXY; dkim-atps=neutral X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=os.amperecomputing.com (client-ip=2a01:111:f400:fe5b::726; helo=nam12-bn8-obe.outbound.protection.outlook.com; envelope-from=chanh@os.amperecomputing.com; receiver=) 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=WMtkWWXY; dkim-atps=neutral Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on20726.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5b::726]) (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 4Q5CWW3Vqtz2xbC; Tue, 25 Apr 2023 16:58:15 +1000 (AEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AFXeVE0fqh7P2Dr4GEMVw/ezJ75Rr47Cwa6NS32Z/qwkQQfJOh1zl29hne9aMTEsXFnp6/+K+UaH4jF0J02UfNmUDdbHDUsyjswrK6O+lS/FesBwFRbGc0G7F7Wk/T/72rQcLNySGYXKXqvPTsK+Hv98snNmrZcnR11/tyXlJFNOPdwQdoPk9zpWFH7GZEc4oG6txc9a9tOWXEb/6sXE3DzHW8RkFOkEsrQjLZG/EATrjE3rMRc/eBWpTTUxWpayTYw7cevcxiGyMLckL1lanXrM1Rq+kmtMcEWIlrh+70xSKTBPxQ8cQJS6g2VoUMQKr22I5SpCRE4SbHDhaJITRA== 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=rg+cMoirJ2FrVqpGHaVNOdkm/zS+vXiFXl3xcs9AUMc=; b=LDpY0h0ygzA00JLJFcGj686BXkMkMu90qS4I5ayO3ZiRFeRPy1nXI9t0twKiu93FwTn7mYL4lzA68YlbvbMUL9xB2xe2WkRpYzOwN7GVNAgt5uotBI/0bFAW19sTnP/gtatJiCHMckr5Pv1QAr5fu4NgMe9slbHd2AVUpanwWeDHNDkr+gZc1KLq2mrYKS/xnOoKryx6kMKO0waljRhAbF+G7Vd5oXtcsYGKSisoXX2hkZYSOLZbYuxJH3E0JtA49N1pRF9OzUNwS1cnQP5iUygez1VdJOELGSckl124wh40k27p0bObypzKmZXOYnOJVB0r3Bda+QbaNIKpI3LjrQ== 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=rg+cMoirJ2FrVqpGHaVNOdkm/zS+vXiFXl3xcs9AUMc=; b=WMtkWWXYO/SNAlweBTtVcvZHo+IOC9XWQv3592ICOOJx+SJ6x5OcxYHypOCHPEaFf4M9FhVSTy29eayDW0iFOGB0t7hFjXgSNd1mtRhXpQ6QHodzdysUIQPXRPn15LEDP8r2fIVGzfQAoCXzTflGdrX6wgDG0IxUX5TeYZUV9JU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BYAPR01MB4966.prod.exchangelabs.com (2603:10b6:a03:7e::28) by PH0PR01MB6504.prod.exchangelabs.com (2603:10b6:510:b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.19; Tue, 25 Apr 2023 06:58:12 +0000 Received: from BYAPR01MB4966.prod.exchangelabs.com ([fe80::46c3:3b44:d2f8:4c3]) by BYAPR01MB4966.prod.exchangelabs.com ([fe80::46c3:3b44:d2f8:4c3%4]) with mapi id 15.20.6340.019; Tue, 25 Apr 2023 06:58:12 +0000 From: Chanh Nguyen To: OpenBMC Maillist , Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] ARM: dts: aspeed: mtmitchell: Add I2C Fan Date: Tue, 25 Apr 2023 13:57:13 +0700 Message-Id: <20230425065715.21871-3-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230425065715.21871-1-chanh@os.amperecomputing.com> References: <20230425065715.21871-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SG2PR02CA0051.apcprd02.prod.outlook.com (2603:1096:4:54::15) To BYAPR01MB4966.prod.exchangelabs.com (2603:10b6:a03:7e::28) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR01MB4966:EE_|PH0PR01MB6504:EE_ X-MS-Office365-Filtering-Correlation-Id: 57ef7d1b-cdf7-45aa-c6d4-08db455a6f86 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MFUnOfrwP+ZxdqXfZdnuG8wmnGkYv6A4d4gFIC9M4IVH/L+K3Mql0msGjv9Inv1nJi6MDRrHMjy16Bgk2r1zFO68rLIrhmUGTTpTX1yycqENuWHherHERUgSH4EASgrDeKeTKx04efCQNQJw6xalSahjjh+Vu4OkZ8Uedkrd4P4i+/kFePAqOt71Yzdrzn6NXpb8Zsb9GD7L1r7dvjr+sKiChfPqZRvh8nucW79+yyTh/7ujRQ/0Dq5AGS3NAn4vrJKYWmO1i4/s30u1qSrqqWkosmhHvokpzKmCav/70f/K7djUv9rK7y2nfuPpBXRGyi35j53JlS50+mgm5cZnuKc+f+2JpWG7v8P6cvtvHjKwRzzaefyQFPlVGsOzD+Uo3K9kGoJWUrwV/zvYz2qVymmNrl9X/k5lTne0jnLaaeCKHM3+qzhyemBuZRzBhaCgPqX/+cOCeXIT7mQLzLhW8zsBVNtdw1VaDR9sepfMflG9fjg8th/+hLoQ4h3frc7Obg5eJfNA5ojTVXTibO3Y3naNw3sZRe3sb+NjEFpvNl4PeZg6WA2bgC3LrXLppE6Pfnz1QKaaO/J1pNM24M6hl3a2j8wG63kCv/CAW/Y8wpfb1dZIUJV47qqO9fs8JeW9 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR01MB4966.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(366004)(396003)(346002)(39850400004)(376002)(136003)(451199021)(107886003)(6506007)(1076003)(26005)(6512007)(2616005)(186003)(38350700002)(38100700002)(66946007)(478600001)(86362001)(66556008)(66476007)(8676002)(8936002)(110136005)(5660300002)(52116002)(6486002)(41300700001)(2906002)(4744005)(4326008)(316002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: DlUK6GN+sFpbmIhBR4vS6n4MCAYAk2gP8sx07yk2LcYy6+1lKDZApybFnUv27VXrc4ILgZ63xc93sClRvxLEyRxwxMAf9AFDwrXy798GHtK/PdMNBBnoaIg+a3pSrs/E7WfjFb27NtdtGaktZlJOMkuZz4m9QKf/PUva6Ii2uRRsTLJLaD6ou5GkIHMOqqLwWnpIe6iYjP3FLxgXzPJoY5pJQv1L94ARmarpujGNaJk7HhLbXTOQcFO3odhJ2o352x9W+LdYqJESl0n08/ceisFej3QTpnuVjrKZnJOWBKipHLYYrnb3SR9peJh1SgFPEfYdkvTZXTapzfepbBi4gbXJxvbP6EyEd1tia8U6vltlEChzSdOtSdR2wFafWh6d0wNE1kXb7N1fUfxjYtb+zsZuM/iB3SprD7z+v3FAccRv7HSr++IJJPuMcmGAUPNXV/x6Oi0Uc1PuA0VNEko8U1EcYCzfZGVpTwg1bf9EoZJqA6boPLrCjZr6eGXW6UVRTn8Ay/hoCMXwl5/zFXJKpaBv0nGyn11XP/EVZODVfYDM1BKfTuH/Sxw36a2bM++4dmFLcqFtP/7QnIZR7SGeBkw8ADU+e4mbJ8/J6XzLE935ldFHvKudFCDB1hCPj578Kg90nUdQgQuD/XSvgwN9NGsQz0KnbVLTaI2TwUMK645aQ9rB5RVlG9qKeoNCnROWrmRWThy9mnximnyNvRyYMClPq6d8A0y6wneicizCh7dRmieYunJbqAVqHymklVw/6gU8mnnaMME81Ecqz9x80wUoKNwG8eM7ElgpICQNjByp3IvgE/y31/i/SSu+z7ZSDQK6V6ivCVHgBzskPR/QYXBnLQCr0GNvXpfrnoxcRVbHQ/lRReAf4t8HyJUYzoaUY3NKxZbY7aDUWMb2+I8VQKUc1tUXZpEaTT6UEykhN9wjykAZVBZ+kH5CSSqCwOt/+uLu2SDlyKjUKJt7v5GLVMtqfZDgLT89cjWvj7haRvr3CIILuz9wt7PiMR5yTUWDaFf/SNxYnVoix7ALl75ir0sSzFUf31gk5kYSlbLx5E1YmpH9NVuOuB5vkY/BnxhyOel3nYSvAuRN5VjEkmeOYehYYBcBbvcFuFsfzRDbDMfjdVn16l5vOnY8FTlDqHp1skpII93PyL4hguSFsBN+Zbrfr5JGwI6EIP2coPQVc4ro2wwT3d/DZ4w1yWUElbeil3RZ7Xt8F9JuTplYsrHU2he9PBNv03yX2rZWntpaAATmr8bJvRLvkIf4JEpBprVhBHDEl98lFt68fkEm65WY2NluEeGKyHFi3MZvycN+B48GjarSw5ZOJVz4C0c4BdraIpwcsgvYPLm3YyQeHG4D+IuqckNLLVVaPy7IMV7EaCTLyd6tdArmxYbGJYNSQS/pRwySjLzq2515O6UABU/WozKfJ/ZmGAynsSizNi/1iU33aZ/NgL7BlbRZtxjuUSCw9AKt2fZmC2iBKnOETHh8902NtJxLTxgxjsHa//ppWZV03Ko/EpF9kCi2OPWzt8/FEOsc7sXMPWrrY6n36Iclnou6HYNIUQaqczq6+WOT4sOPaW/7yX5RvoFNvu2NAyp6IMHd19Xrun2nlgrwqs1n1xHU8yDgUFMtDlZIW7DaMp8= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 57ef7d1b-cdf7-45aa-c6d4-08db455a6f86 X-MS-Exchange-CrossTenant-AuthSource: BYAPR01MB4966.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2023 06:58:12.6992 (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: +5f9z9hWhPNzCY1F9dXHzw8eSTz6gGcW5eKlJbFoEHbK5he2QiSt9PyFMWVwVN+GxCJ6YccXDGWLUF1hork/4b+MKxa9GKfytB/PaY2bDOyqKWdr+yzYRaTd9ifPyH7E X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR01MB6504 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 Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" Add the MAX31790 node as a Fan I2C controller. It controls the TACH and PWM for Fan Mt.Mitchell system. Signed-off-by: Chanh Nguyen --- arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts index e79f56208b89..6455cf80da0e 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts @@ -477,6 +477,18 @@ line-name = "bmc-ocp0-en-n"; }; }; + + max31790@20 { + compatible = "maxim,max31790"; + reg = <0x20>; + pwm-to-tach = <0 0 0 0 1 1>; + }; + + max31790@2f { + compatible = "maxim,max31790"; + reg = <0x2f>; + pwm-to-tach = <0 0 0 0 1 1>; + }; }; &i2c9 { From patchwork Tue Apr 25 06:57:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 1773218 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=) 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=S9JB08nQ; dkim-atps=neutral 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 (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Q5CZs6shfz23v4 for ; Tue, 25 Apr 2023 17:01:09 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Q5CZs5rMFz3cMH for ; Tue, 25 Apr 2023 17:01:09 +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=S9JB08nQ; dkim-atps=neutral X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=os.amperecomputing.com (client-ip=2a01:111:f400:7eb2::72f; helo=nam02-bn1-obe.outbound.protection.outlook.com; envelope-from=chanh@os.amperecomputing.com; receiver=) 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=S9JB08nQ; dkim-atps=neutral Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2072f.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eb2::72f]) (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 4Q5CWy5vrHz3cd6; Tue, 25 Apr 2023 16:58:38 +1000 (AEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cRSbrfw6/7RRmj0iQZ9XcLDzslilP9Y/LSjluV+VZXXX5expmO4/8oXCQUkpU8YagBgkdBjKQce+RyrAclFlNJxLWW9EKYcEETIHD9bJC6B3hWEkRu20/kWFS2BAfKc/2TnYSFxOlHbEd41kC6B8JrOpbM5UpwLl38/ZWYyocI/beCyKrjDFcoycJSDcD1YwC5WwX63z3s0ZX0VzIlPTBJOpCSvUqyRYLQp3lOq7PTnz18qSRA9gcvFfocR9TQhFwrTZBK/YfIdrawZ/6hPnNVgEKoBpF/LhlRdvFFvSFRBTXb5wgoYuFvSIZ5sRmkxPmW4rLGNkjZ33VI8w77Dbjg== 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=BsgOiHHpxY+wnoEyDLlsEeEqiFxUKcTKV9FoEc/l4Cg=; b=V64IJ9iAx0wsvh8k0fRzj27DOZDn8XvyCY6NjDgbBZ7UHYDR7/V2gE5Oo2pyzM4OoyoXNL905xUTz5i0WiVEX/sfyWRCs1V8oNfQzopc/Oumme4nAse/7D34/93vVM/5g44aQT3hdWJa0J3IckmmoapVwbCRvC8C9vULVuAuPGOB1ZM5WmjzbQ1tmYG59eG/OZWvNPyJ9PIMloFcKZHkm89zFwpfc1ZH4MUUH02K9AJXRGWmT9N2y1S2QOVcsZ5RSqRnUPxGBXPmZKLBcLAV+y2ColmNZboH+7iTMpCr3KYjigYefRz4zxLzyfWhaMivVqHYa2Fogxh/Zz98d0dxTg== 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=BsgOiHHpxY+wnoEyDLlsEeEqiFxUKcTKV9FoEc/l4Cg=; b=S9JB08nQcuEwdSRZAMC+h9KukVBVAIM1OEl+B+cqDSvQiyQZ4Qt6Rgb9djB9e40ijEUyVstH9ADw9r+gR1Aonrut5Qu0JEDRqo5IKW/nNEk+bq9JKDhdTTpJVB0EkJCUQrtPQd5IduvX1HZs3+aQvVeb9MfroO62L5ET5pOiiIk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BYAPR01MB4966.prod.exchangelabs.com (2603:10b6:a03:7e::28) by PH0PR01MB6504.prod.exchangelabs.com (2603:10b6:510:b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.19; Tue, 25 Apr 2023 06:58:20 +0000 Received: from BYAPR01MB4966.prod.exchangelabs.com ([fe80::46c3:3b44:d2f8:4c3]) by BYAPR01MB4966.prod.exchangelabs.com ([fe80::46c3:3b44:d2f8:4c3%4]) with mapi id 15.20.6340.019; Tue, 25 Apr 2023 06:58:20 +0000 From: Chanh Nguyen To: OpenBMC Maillist , Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] ARM: dts: aspeed: mtmitchell: Update ADC sensors for Mt.Mitchell DVT systems Date: Tue, 25 Apr 2023 13:57:14 +0700 Message-Id: <20230425065715.21871-4-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230425065715.21871-1-chanh@os.amperecomputing.com> References: <20230425065715.21871-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SG2PR02CA0051.apcprd02.prod.outlook.com (2603:1096:4:54::15) To BYAPR01MB4966.prod.exchangelabs.com (2603:10b6:a03:7e::28) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR01MB4966:EE_|PH0PR01MB6504:EE_ X-MS-Office365-Filtering-Correlation-Id: 71389a6c-9b86-48b0-556f-08db455a73fa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IY/blidp4dHgGVRHuXR31zK0h3btv6JguWs9Wm1rSauaC02MKZdNqthG/qXX/BBIFPHQVAFrcvkJ7qk2fL/CExHZ5seX1CkBwTDgpx+oVhynA60IcyfW08fCaue+dzu5PdIF7lIDdRN3xNpgL5fc0J6SAyjUjBA0gvKTau7GoUtetU4UAwDWvgfumZUR+OlyrS30KyFP/Rxv1Bsp1nGELU1CtpKjDvNmiHI4dSCueguM3RnmNKQYMHVGO3Fv1WwCAHVx6zoYFnMOA4IjEUslHVf4eiYkCGUBZz2f/CDZFTeKPBgotwpnUF4mb2cU7nWnCH2KXBY3QPKlPVf/6qf5CVj1BOL2MC1L7moVM3mdLoDlFOLRd7XvS+yEgLwFsCsUnPSfv/5CglxlB67igPjSEx50de6pkCN/UHqCBbdaFoMzZBx6yGVxgU5pl9jJdW/AC4nGW9P89hQ2ECCIzS19Ofj7rppYxzfW3aXfuM3UrZKDVhn+zT/XRqgqoEaWS2GrmhbjJ0XPfKq1NorWKZrPnSXr1FhVdjKJNCXyMNeUo9VyUlZhrtmTfJOF0C7KZcIduNvlSH6+czP07dE4D/gJ9W5FQoqXmutcbiyJBGuSPoO5VaS7lKop2IhS118Y47lrk9CfzvlFmPV+vCCF4S6a/gPFD7p1CszQbTId+AwVCxY= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR01MB4966.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(366004)(396003)(346002)(39850400004)(376002)(136003)(451199021)(107886003)(6506007)(1076003)(26005)(6512007)(2616005)(83380400001)(186003)(38350700002)(38100700002)(66946007)(478600001)(86362001)(66556008)(66476007)(8676002)(8936002)(110136005)(5660300002)(52116002)(6486002)(41300700001)(2906002)(4326008)(6666004)(316002)(414714003)(473944003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 9lVV2IM0xIXJgWE8ZkwMaHPajx+Pkj+c1dPWO/kvm/oN55OhpqebLuuwcvsnP0nzkAYnGzGovMt4Bq2EnFQu6ZYgnvZDpwD+CEXI6AjSQlMCfEdJVRWtHncscLncYnFG0I+dV1ycFlvR40MX9a0ZO5oS8VYvzKIAEoqJIHdLyY+UUQ9fLDr/VhgNg7j4U1yEHKTXK4CWFft04keAM0VZJNcacPKEykubNhhdxr2/hYPFQz9+agptnpuXPyBSbvDaCzbNXNRZ6/hU00VjW5/X1bvNdNFhc9xbfvHcfuT6oE2evJ5IGtCI7cQ5Pd3m+9u/XsDTDJetFCA9WZ9hhYFHbtAbts34P5Vk4BgUf4+5dSBLQ3i54cS5aB9NPA+Tai6uKlfgGhNW0yZ+T9cu6enXIVX7K/1HUpf+NDwBCa8XKyIjhTlFEDRFiP8yBk0K8c9BC73+QO7BBLZ9I8v6URjfQIZab+w3O+UpuBRAzR7YuBjiC3nc/yYMip1FakZ7nzHeCdOUaz96056Uv/hCVBZ+xpcA0HgQsxpGQStSVSVtNlzCG7F6gpzEbZ7oILNHEXWjRViIHqRRgascZXdJtx90aB7uxm1muSugLBMifF3cmTdzfib+Z9roa0RdD6LepP1bPkjY6V3XV3vspismPXYZBsTjf14FMl5MfS+g7y+Th18nNqPL6WfUJE9aYRU0pIzkX+jg2TXo0pz/+EAKE9FupA+A6lfVG+GrV5LgHT/nAjafiawLdu3px0/3FbSH/N3diFcNeUFUilU+dugyajhdt4dHCvcBnLa6+p3A39TRxUYv43ixVwluJln/VbNG3/p+7CB0GQRWud3lYkcic/krBi6yJBXkMEFHnjfJVZaDX3fG4bj7ktKqwWcPYt56p1bseoZ/3IuWxKfMH1/Ve37srXOfimb9F/kAos+ZM+gJNh1CrIzhSyjgUdDf5hD7qJudrpG/aJ9Mb6p3PIN2VC0dV5T6w5c0pvDrDhWfAO78KLVLQiQUiPFopMyjvuLwMp0PcXs9smH0gy/lfsGeGQjGBK7FpjWTIBJSyavOgu2oYP/tkmz8YWahJjCZF/86NIlGl8dNdY+7Czj6bS1I33GtvNVdWa2YJni7/IO/Rull6+gg0Rx8ubuoL3Pdz/+keIEYhfPrkbE2xiJ7mCrCxnWZie7YOvNolEoKdLymJqje9G4byOkPBwiNiJue0hb9qVsYf5KmNiibR1AC/N3TUBoKNLT8WsNqfz8hzNX6oaG03lxRx37a8koE3gY46+DxONhSRqqdchqYjPXkU7oKBQaKiC8F/sutfBP16ccfFY8pV/TzZD5Pf+ZIoZuPtu7kXrvX5fkCM02VN8o+mbnoJxeYmdxGY12ilmu+2EVYE9HY2UgVI6Yc1k5mnfW42ydciT8TUBQPwzxFW05aIQhV9CnUQmHiA/XA//jVDdrn+axT8AhES3jjri7YGob97WDRa6r4O3XLyY1HZMH0CWRyrNm607l7DWMgOeVpOBBBC8s5a2hJGEWcYumO/2TOHzNtxRP1GuLoW3/w9QzgFhcVBtcKPJMS9U43r5fxlzxQf+2EtrI82cwsyQ1uPNmJs3xQuKjsS6jMpLqwgi9m/6mEpKGC2TGuywvXxBXQt28WdpDsdBQ= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 71389a6c-9b86-48b0-556f-08db455a73fa X-MS-Exchange-CrossTenant-AuthSource: BYAPR01MB4966.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2023 06:58:20.0007 (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: LUFupQPoaRRFKQOy/B7swy9DvnNEHPDHF97/mb/CTH56fOZPE0FfnYvOvBcMOyzFhtDhq0ccKfyF3vtBxyKrTbKXWguaX+oGcdnYZoIKi9ybTGOWRo289N8pRXRBPGJC X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR01MB6504 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 Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" Change to use I2C ADC controller (ltc2497) for Mt.Mitchell DVT and later hardware. Signed-off-by: Chanh Nguyen --- .../boot/dts/aspeed-bmc-ampere-mtmitchell.dts | 107 +++++++++++------- 1 file changed, 66 insertions(+), 41 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts index 6455cf80da0e..0b5ea8620063 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts @@ -65,174 +65,192 @@ adc0mux: adc0mux { compatible = "io-channel-mux"; - io-channels = <&adc0 0>; + io-channels = <&adc_i2c_0 0>; #io-channel-cells = <1>; io-channel-names = "parent"; mux-controls = <&gpioI5mux>; + settle-time-us = <10000>; channels = "s0", "s1"; }; adc1mux: adc1mux { compatible = "io-channel-mux"; - io-channels = <&adc0 1>; + io-channels = <&adc_i2c_0 1>; #io-channel-cells = <1>; io-channel-names = "parent"; mux-controls = <&gpioI5mux>; + settle-time-us = <10000>; channels = "s0", "s1"; }; adc2mux: adc2mux { compatible = "io-channel-mux"; - io-channels = <&adc0 2>; + io-channels = <&adc_i2c_0 2>; #io-channel-cells = <1>; io-channel-names = "parent"; mux-controls = <&gpioI5mux>; + settle-time-us = <10000>; channels = "s0", "s1"; }; adc3mux: adc3mux { compatible = "io-channel-mux"; - io-channels = <&adc0 3>; + io-channels = <&adc_i2c_0 3>; #io-channel-cells = <1>; io-channel-names = "parent"; mux-controls = <&gpioI5mux>; + settle-time-us = <10000>; channels = "s0", "s1"; }; adc4mux: adc4mux { compatible = "io-channel-mux"; - io-channels = <&adc0 4>; + io-channels = <&adc_i2c_0 4>; #io-channel-cells = <1>; io-channel-names = "parent"; mux-controls = <&gpioI5mux>; + settle-time-us = <10000>; channels = "s0", "s1"; }; adc5mux: adc5mux { compatible = "io-channel-mux"; - io-channels = <&adc0 5>; + io-channels = <&adc_i2c_0 5>; #io-channel-cells = <1>; io-channel-names = "parent"; mux-controls = <&gpioI5mux>; + settle-time-us = <10000>; channels = "s0", "s1"; }; adc6mux: adc6mux { compatible = "io-channel-mux"; - io-channels = <&adc0 6>; + io-channels = <&adc_i2c_0 6>; #io-channel-cells = <1>; io-channel-names = "parent"; mux-controls = <&gpioI5mux>; + settle-time-us = <10000>; channels = "s0", "s1"; }; adc7mux: adc7mux { compatible = "io-channel-mux"; - io-channels = <&adc0 7>; + io-channels = <&adc_i2c_0 7>; #io-channel-cells = <1>; io-channel-names = "parent"; mux-controls = <&gpioI5mux>; + settle-time-us = <10000>; channels = "s0", "s1"; }; adc8mux: adc8mux { compatible = "io-channel-mux"; - io-channels = <&adc1 0>; + io-channels = <&adc_i2c_0 8>; #io-channel-cells = <1>; io-channel-names = "parent"; mux-controls = <&gpioI5mux>; + settle-time-us = <10000>; channels = "s0", "s1"; }; adc9mux: adc9mux { compatible = "io-channel-mux"; - io-channels = <&adc1 1>; + io-channels = <&adc_i2c_0 9>; #io-channel-cells = <1>; io-channel-names = "parent"; mux-controls = <&gpioI5mux>; + settle-time-us = <10000>; channels = "s0", "s1"; }; adc10mux: adc10mux { compatible = "io-channel-mux"; - io-channels = <&adc1 2>; + io-channels = <&adc_i2c_0 10>; #io-channel-cells = <1>; io-channel-names = "parent"; mux-controls = <&gpioI5mux>; + settle-time-us = <10000>; channels = "s0", "s1"; }; adc11mux: adc11mux { compatible = "io-channel-mux"; - io-channels = <&adc1 3>; + io-channels = <&adc_i2c_0 11>; #io-channel-cells = <1>; io-channel-names = "parent"; mux-controls = <&gpioI5mux>; + settle-time-us = <10000>; channels = "s0", "s1"; }; adc12mux: adc12mux { compatible = "io-channel-mux"; - io-channels = <&adc1 4>; + io-channels = <&adc_i2c_0 12>; #io-channel-cells = <1>; io-channel-names = "parent"; mux-controls = <&gpioI5mux>; + settle-time-us = <10000>; channels = "s0", "s1"; }; adc13mux: adc13mux { compatible = "io-channel-mux"; - io-channels = <&adc1 5>; + io-channels = <&adc_i2c_0 13>; #io-channel-cells = <1>; io-channel-names = "parent"; mux-controls = <&gpioI5mux>; + settle-time-us = <10000>; channels = "s0", "s1"; }; adc14mux: adc14mux { compatible = "io-channel-mux"; - io-channels = <&adc1 6>; + io-channels = <&adc_i2c_0 14>; #io-channel-cells = <1>; io-channel-names = "parent"; mux-controls = <&gpioI5mux>; + settle-time-us = <10000>; channels = "s0", "s1"; }; adc15mux: adc15mux { compatible = "io-channel-mux"; - io-channels = <&adc1 7>; + io-channels = <&adc_i2c_0 15>; #io-channel-cells = <1>; io-channel-names = "parent"; mux-controls = <&gpioI5mux>; + settle-time-us = <10000>; channels = "s0", "s1"; }; iio-hwmon { compatible = "iio-hwmon"; - io-channels = <&adc0mux 0>, <&adc0mux 1>, - <&adc1mux 0>, <&adc1mux 1>, - <&adc2mux 0>, <&adc2mux 1>, - <&adc3mux 0>, <&adc3mux 1>, - <&adc4mux 0>, <&adc4mux 1>, - <&adc5mux 0>, <&adc5mux 1>, - <&adc6mux 0>, <&adc6mux 1>, - <&adc7mux 0>, <&adc7mux 1>, - <&adc8mux 0>, <&adc8mux 1>, - <&adc9mux 0>, <&adc9mux 1>, - <&adc10mux 0>, <&adc10mux 1>, - <&adc11mux 0>, <&adc11mux 1>, - <&adc12mux 0>, <&adc12mux 1>, - <&adc13mux 0>, <&adc13mux 1>, - <&adc14mux 0>, <&adc14mux 1>, - <&adc15mux 0>, <&adc15mux 1>, - <&adc_i2c 0>, <&adc_i2c 1>, - <&adc_i2c 2>, <&adc_i2c 3>, - <&adc_i2c 4>, <&adc_i2c 5>, - <&adc_i2c 6>, <&adc_i2c 7>, - <&adc_i2c 8>, <&adc_i2c 9>, - <&adc_i2c 10>, <&adc_i2c 11>, - <&adc_i2c 12>, <&adc_i2c 13>, - <&adc_i2c 14>, <&adc_i2c 15>; + io-channels = <&adc0mux 0>, <&adc0mux 1>, + <&adc1mux 0>, <&adc1mux 1>, + <&adc2mux 0>, <&adc2mux 1>, + <&adc3mux 0>, <&adc3mux 1>, + <&adc4mux 0>, <&adc4mux 1>, + <&adc5mux 0>, <&adc5mux 1>, + <&adc6mux 0>, <&adc6mux 1>, + <&adc7mux 0>, <&adc7mux 1>, + <&adc8mux 0>, <&adc8mux 1>, + <&adc9mux 0>, <&adc9mux 1>, + <&adc10mux 0>, <&adc10mux 1>, + <&adc11mux 0>, <&adc11mux 1>, + <&adc12mux 0>, <&adc12mux 1>, + <&adc13mux 0>, <&adc13mux 1>, + <&adc14mux 0>, <&adc14mux 1>, + <&adc15mux 0>, <&adc15mux 1>, + <&adc_i2c_1 0>, <&adc_i2c_1 1>, + <&adc_i2c_1 2>, <&adc_i2c_1 3>, + <&adc_i2c_1 4>, <&adc_i2c_1 5>, + <&adc_i2c_1 6>, <&adc_i2c_1 7>, + <&adc_i2c_1 8>, <&adc_i2c_1 9>, + <&adc_i2c_1 10>, <&adc_i2c_1 11>, + <&adc_i2c_1 12>, <&adc_i2c_1 13>, + <&adc_i2c_1 14>, <&adc_i2c_1 15>, + <&adc0 0>, <&adc0 1>, + <&adc0 2>; }; }; @@ -353,7 +371,14 @@ &i2c4 { status = "okay"; - adc_i2c: adc@16 { + adc_i2c_0: adc@14 { + compatible = "lltc,ltc2497"; + reg = <0x14>; + vref-supply = <&voltage_mon_reg>; + #io-channel-cells = <1>; + }; + + adc_i2c_1: adc@16 { compatible = "lltc,ltc2497"; reg = <0x16>; vref-supply = <&voltage_mon_reg>; From patchwork Tue Apr 25 06:57:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 1773219 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) 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=j1n61RUF; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Q5Cbw2TMSz23td for ; Tue, 25 Apr 2023 17:02:04 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Q5Cbs3rGDz3cgq for ; Tue, 25 Apr 2023 17:02:01 +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=j1n61RUF; dkim-atps=neutral X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=os.amperecomputing.com (client-ip=2a01:111:f400:7eb2::72f; helo=nam02-bn1-obe.outbound.protection.outlook.com; envelope-from=chanh@os.amperecomputing.com; receiver=) 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=j1n61RUF; dkim-atps=neutral Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2072f.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eb2::72f]) (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 4Q5CWz46Fxz3cdj; Tue, 25 Apr 2023 16:58:39 +1000 (AEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n2pzIfBZQgCM8hDlCqtPKJUyq18RzQjO+1a4iNkq3Vd9UvXh3kTIFWNh0tmQy05ybM+ckHhytyR4+am/ifI0FeQrSGCE0TllPLLXkJA3hY97o0XHS7AqUbVrONxpQJ+xrKdCR/Bnin9YIfNR5R7G1lG+LRFWnniypM6vxPdJ4WcRfw3g+7n6hKgAJeSfUweaCPfqlO8LHupMV3ge4rSQn/8gWfJzqntI9BkGjqAXHtSlFZ5VWmYbi8/A5pAwcL7dLein694OCfIUKFtk7p+qxd/ZyNpDQ0AyRZQeTbq6BRBllEEFhSi0Rq44YHXf7Xo0pCrPqIwEQZtpbks+Up9uSQ== 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=BrErqXJC53VxM2wB/OXNQ/V63QIPSlJVlK1UaYSJrmQ=; b=KGvN5QjhWIh6C/vWvLWQm0qrBqdM5VhKWF98ssxkH3b2ms6UAtGbgA9IksUna6Jlq6thF4f4ed2mDu6dnFrYaGbjagE8r7n3es+USTynFzfCZcdRZ77kE5QosBZI85ejig1dOA2DbNAZzxWzocomUphPlXie2sf0UPB1KDV4RQ/y6/ZXWalBM8TuF2xmXyldBY2iDLMXDwaX2Bv8KBQrTqpwcaAKLcvy3ZWeHGmty11nfXn0oDeAURgBIFKV2YFmrjxLTAbV1eJqQvi1b/zgA/c2ctEkokb2pVgV0LdT0Zw08p51IKQuxe5m1bPVppja6ZlOiRzu54hRpkb35vPphA== 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=BrErqXJC53VxM2wB/OXNQ/V63QIPSlJVlK1UaYSJrmQ=; b=j1n61RUF3cJ6ecrjD1P4JyRH/Adua5yDftsTcwyFXqKdjn3w6TwGX7bvJZkNWU+7mubw2lSklthNecClHkfLRdsJ+qtdAqTtvhK9ONo1E+CxknvyD9xh2rC6C8zacGPo1kjyjXK6Amn6cTsAghv3LmWtYx/8lcljrBtUY+CwZAA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BYAPR01MB4966.prod.exchangelabs.com (2603:10b6:a03:7e::28) by PH0PR01MB6504.prod.exchangelabs.com (2603:10b6:510:b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.19; Tue, 25 Apr 2023 06:58:24 +0000 Received: from BYAPR01MB4966.prod.exchangelabs.com ([fe80::46c3:3b44:d2f8:4c3]) by BYAPR01MB4966.prod.exchangelabs.com ([fe80::46c3:3b44:d2f8:4c3%4]) with mapi id 15.20.6340.019; Tue, 25 Apr 2023 06:58:24 +0000 From: Chanh Nguyen To: OpenBMC Maillist , Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] ARM: dts: aspeed: mtmitchell: Add MCTP Date: Tue, 25 Apr 2023 13:57:15 +0700 Message-Id: <20230425065715.21871-5-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230425065715.21871-1-chanh@os.amperecomputing.com> References: <20230425065715.21871-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SG2PR02CA0051.apcprd02.prod.outlook.com (2603:1096:4:54::15) To BYAPR01MB4966.prod.exchangelabs.com (2603:10b6:a03:7e::28) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR01MB4966:EE_|PH0PR01MB6504:EE_ X-MS-Office365-Filtering-Correlation-Id: 30bba879-403e-43d9-897c-08db455a76c5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: weDf+Qln3h2ISa/Mgs8IQVTeru+ZdJpJ2+wUolOTCCeIH8sSDibVCeDHPVLWLgsWzBY5sBN2lk7+81CIEhvW6F+/IhhrqjmXgkANgrlx0zmA7e33d1VGI6L1HYZ1NhlmjJdPJlZ+h1KfN5cdfyOcmcOxHPUfSMQg3qoRfa2sJMFErYTyaqDjEpeqyAVXoDpyV5EfUKqaGuCMYA73BvuH8IxoIhZSgSh1bJmqJGQnRZU6LfxUG9Mz8C/2+JhaMZBZmT2/LcAq01vH8OGegDYjNIoD/LS8ytklK2l2eKkYoDsojHG2oosCWZ5uQWiRLgh7SleBz+j1K9viURuiDNEvsKVgx0lxO48GIeO0MTNYRF3PSLK1KV9os8XMoHQTjQZToS8rZUuC+gaq5mKdhes8Tj5Z8wtWy5+NvdtVbrjBbCP4ZKJhEDw/f0vFZsvz913vsP1NRDsWU4fk+Xeou6TqpZnGV10xRBxg2U0WE1lkItmx620cYDw9wkMyup9PUIO+Wlr8IbtgtWE2bV+6iJnksCg8JibJ1d5kRnqSol9ZOANkcEzoYYHVxiJxxNow4ZTTGHDVz2Y3j7QTPLwA9Hc6S3KlhOVg071s5tU1/+udBeRkO/su9j8EDSDxC3395hJt X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR01MB4966.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(366004)(396003)(346002)(39850400004)(376002)(136003)(451199021)(107886003)(6506007)(1076003)(26005)(6512007)(2616005)(186003)(38350700002)(38100700002)(66946007)(478600001)(86362001)(66556008)(66476007)(8676002)(8936002)(110136005)(5660300002)(52116002)(6486002)(41300700001)(2906002)(4744005)(4326008)(6666004)(316002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: yWsTi82feKNNXNI2DJkbuS49cBtIARX7I3yxgKPFd+t4St26Jog7CoEylAixNrDX+1rKX9LfqgnKyDd79ImoxgCdem8iHPK/fEUx+sYeAh9cElB5nrFbWIimT2yjwN9qwFXFD0auJFnGfkG5QLsE/gAbOBQ8PVWw3mBNSdatofKHBvhFbcSzi86iqcS5dNRNN8kHbVdHZkrdYX4amCT0PiBXfo315z6EMD8EXZNvW08uQnUcSODqTlM1v3cMhiP1CfQNIvzGbH3SiVo8idhksrHBLz9EIklwtZbEp17rghlAeOFjJdX2TwdFVBxAAY5j4zEW70L8NZyVnKjSpVg86CAfq5o11NnVu8Zka4GXoGzwcR/QdHHbClrmCeTZRjM2b0T9pnK00Pk5w7uLP6+RpTWWc0mRPkVfDyiyZtiWuE3QmaYfFnHlk0i63TSdCwQe9fPqPw+cPmJot1g5A72C62FVqRAyhvLQXnMidu3oCGCKjIg1rCksrlCd5VKbDrYj+xi0RgAYcdTwpJ5/eoHj7L5ejc68gB2nn14wDzbVp2kSMR2Wr5/nxwsvJ+Ekl77/d3bzZjzwwzQT6Lk7JEBxUz834PhQFZQCxilb2On7YAXEZPfNbkH5txZ2MEYMF4T7C0foRCaIIEZy9ypSg41uuSoHlcYyWiRgOTOlNfSI2pVNJ/miyNyVAg2uYrvleyH9vfn1rbYj66+AJR3zzjAic9qKx3mNozwFNITvgO4c3NoJIrDhIpq48Acjn9nSoGJxzVtU34WWgCFFpCths9ZUsciJ3/omJsIlK96BBMGsXOU8S8MRDq4d8hU3RVKLhsMl5ljPZybkmU3q3oGoa/2al/rrikYKGPoMwU4C/bvf1xSFL/uMiK7diMD6INBIxzezFy7I+/G5+Xs0aNpJGTCgr5I/+SiKGwfCFNSY2awDHNBXieCW91G2rLvZ8x3yLz1hiUuLbkS8KqCoHjLAvIaJXfEvs2oO/cXzwBLqUjCA6Rve47Ol6lCAmPfElPHjrm+Tz9CDEUDKlVR9Irlfm6oyiULtS5FkcM9LoOwRD3xB8E+7R5G6aqTg2VeIi/A1Vb+Uii77KZ44b33myWRFVX6ctckYTr9MB94scSR2wWuskvbWqFsGIlhfFRaUfP+2tNin/pK0tK5nNyfQNl7mUeVyFnDuOnZVMdkJh5ZUcXEFY/cEJPaMnNnqFwDFOg5P25/y6/QFpmT2Vf/z5veExi0v0v0qBIH/c2hx1fkoUCsNxssPA/YyVeVDjQTu2HRRtxyUGx+KcAwMetuZRr9CbjqRhMBNXLM5PZikscqa1027uALUoTGnfrdtEB57NQpUN4JpHeIQA/vemZxJMzwEolZnIo75mV1u1msKCuLy4Hei/H5OZQ3nt0ZB0JzubV483elhT1QVe7vsSSOuhir/hOgJCyxjJpio2hMZ0fDKnFNIZc3VH4b9pfYyD9OzuaHqymZUDwsMwXpKMWog2Jnu0W6r4QmcMoxh0pu81yP3COzWQGeyQx642jQmcvEYBiJVElFMHaEOEWRxKi5+jWI9OFV4KZZMX5Y+kT9xP1J6KmoArziVLv6b9L6GEt9tL+p2ZHAVSd7lnXQTUOxW201igjigh3yeUKJlC7KV7FVuozFryf8= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 30bba879-403e-43d9-897c-08db455a76c5 X-MS-Exchange-CrossTenant-AuthSource: BYAPR01MB4966.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2023 06:58:24.8583 (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: jZJj5hf+uYrgVCoa2kHXcZuZpom0h/fVXzvuRsuRuvppo0W11SRu1pIZlmeFZFrQsYb7ZsSXG7OD6T0g4AXyPMLAkE2wyq3MjTNTnqCNaO+jL+xvxR25ZRNPBfR7zO3u X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR01MB6504 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 Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" Enable MCTP driver on I2C3 bus for MCTP transaction Signed-off-by: Chanh Nguyen --- arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts index 0b5ea8620063..33e06eafed31 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts @@ -366,6 +366,13 @@ &i2c3 { status = "okay"; + bus-frequency = <1000000>; + multi-master; + mctp-controller; + mctp@10 { + compatible = "mctp-i2c-controller"; + reg = <0x10>; + }; }; &i2c4 {