From patchwork Fri May 19 08:51:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13247912 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 7976BC77B7A for ; Fri, 19 May 2023 08:53:19 +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=O8Fphod3bfQOf5eNTYy0sxdBaXVziFE2Js6cRByD9xw=; b=Zcgl4wwtKV7fcb 3twqETg/SwKJ6HjGfZ/uFR3QSW0ishkmb+PTIPSTVN/N0JvQ9ycI1yZD5x2ZnoHvLJ9oM0NpIVnqL VvT9C1ySbnR6jtv6QYpBq4V0ripiHpNTpOeiWsVwjp1ZopvuNBRJrCUDBgDc2B80QPB/drZ9qiSDK bgh3w4Ki1upQN4QvgeVqV2iOZhy5S1Bg2vyXWACLn7V6Lev+kKc8yI7aXZaK6DezNzCqWY8PLu/5o m6/tc7IymNa8rIVfk7Yc/CuQ3vvZY9SYBsj4ypZ+HvVa5INYobAXRx7H6nfJP3WLIatHTHSlDgxLB 174Q9LXDLFno/iYJTtlQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pzvr7-00Fb5T-1a; Fri, 19 May 2023 08:52:57 +0000 Received: from mail-mw2nam04on2072c.outbound.protection.outlook.com ([2a01:111:f400:7e8c::72c] helo=NAM04-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pzvr4-00Fb43-1t for linux-arm-kernel@lists.infradead.org; Fri, 19 May 2023 08:52:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KjqIodmV1aV21iIFKyAzB+wXj6ryikXr5QVti/jl9pK/iPM+cZfCwnM0huicO4AH5TS42BHTQOVWth2pBagrQM3Ezigha5Ajlj4JPJ5irTudG6f/82b+Detiagyj/tlpzp6Jv77FocpDE7ngmrDtqU15aKdK757wqH7crxydUZ0OLZQwEw4UfGT1y+a1nHzlwLf4ta1gT26tHaho4yjiAsdClQn0jhE3Ga0v74NmJBqPE5QIuI1aUbr+K7V/hA0i/M+tRHkppyBgfJqVGlsGBOVjSNesULZ4QL0nB0Kzn/J70ZTFmw2CT/ZDkGzFu0PXqsooNhDWdYZHQ4yVK0tUjw== 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=yAOFrwaWIsY3wwzmxDfMl8Wxmdu3D++S5YL7oXsZT2U=; b=TjsegqKNPFFbaAia4E949TSSSFXt/laBj2idHQ85CvRIfFUQhsujAS1U3qF7nMukpGl2fG9dFDjdiC5DeJw5dL+lHr/Bw1eAswjImvG0eDJyRPhOAknqlESHCdTbZeeXkmmvXN9mI62OIn3FLztswu5OiCHVBlasiszpm3G/gvWTVm9KQqbFMj7ZmpioZ51UIhmD5U1OGDFMgBO09oj7lDYgynWnXZ3zTddUsa+MUIBHT3IPNbu5UqABmhW7eaH00DSHPscYEd/YO+5+pTJfD/g/UmRZBmdL/92wnHHV+PjZDOww9j9Onieb70Im9t7aSVaYQ60AwDS2R8QzcCYVVg== 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=yAOFrwaWIsY3wwzmxDfMl8Wxmdu3D++S5YL7oXsZT2U=; b=Tdgo7u8AtCfzxixbvZqiXKpTM72V0nRGJ6ezRBLEIrDMJqJlmCNMwcWCG7YnvtN3DjxipfLgO0d295oqJjdz1qC2BTTtS3M4I4ZXLvuCeyMPOEupUVsnJYuEC7snlEvXoFGr5gI0IKD3cjLwu9ySg+df+/xRKOBJjvN803Lvs90= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) by BN6PR01MB2675.prod.exchangelabs.com (2603:10b6:404:ce::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.21; Fri, 19 May 2023 08:52:50 +0000 Received: from DS0PR01MB8010.prod.exchangelabs.com ([fe80::e439:70c2:7d19:45e]) by DS0PR01MB8010.prod.exchangelabs.com ([fe80::e439:70c2:7d19:45e%6]) with mapi id 15.20.6411.019; Fri, 19 May 2023 08:52:50 +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 Cc: Chanh Nguyen Subject: [PATCH v2 1/3] ARM: dts: aspeed: mtmitchell: Enable the BMC UART8 and UART9 Date: Fri, 19 May 2023 15:51:58 +0700 Message-Id: <20230519085200.22020-2-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230519085200.22020-1-chanh@os.amperecomputing.com> References: <20230519085200.22020-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SI2P153CA0004.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::23) To DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR01MB8010:EE_|BN6PR01MB2675:EE_ X-MS-Office365-Filtering-Correlation-Id: 98439e10-5a0d-4995-beae-08db58466cbd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FKCL7TF5tWfC9+v9sWSJQRk/fhaKWrS1PQWBzFNkFUzXYjgqpCRtFipSG1dwOzBNOD9j4XOKN6NhBhgD07piqaviotLMUitSRd21uTHVZJKaU5FniToDn64iQyhI9B2VnhioZoK5DKpYxHzTWCGEEFHA+Gkf6dxbwSwNP2UbnX4WJcdjyBT8rfPlCjxMVwRCtBOJZGNa7WjYv2zXv4bnqDXoDHfqTn01rNxGy9se3BQ1k0GDOT0STiDZyb8WrP3c6cJpV7rWRHnBCAudL/W0MeoQZDHoR0vKDwbxIjoe+BH+PfTz6ISueeIHPPRTWz6DMSxeCila+GXQIX3QwBdLdJh7PDaNXwmrk3o4w/iRuHVaKFum8aPlX5WN5tzGCb8B2jCpOzKjzhmyYzTvH8hX6z1q2gBRKJPeseZclX3H8JlRNGvr4nO7V3/Gm0CzGfbh6WfDB8q4UqvgM9XCR3DFv7dMMw6R3WM5ShzTQI/8MWkWy72BruYQn1KiYHbq7jVj8chC0hwT5dk/yLT7exRSR+I510C6BbkNR8VsB6h7DpDefGFFDEchFpNSVX8YjTjyv9C6aOZJ18EmGjIJTWeRNH14UrdY3DdRreOUytUrpNy8GbyATXKjvfEm6FzINQfG X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR01MB8010.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(366004)(396003)(39850400004)(136003)(346002)(376002)(451199021)(86362001)(110136005)(316002)(4326008)(66556008)(66476007)(66946007)(52116002)(478600001)(6486002)(8936002)(8676002)(41300700001)(5660300002)(4744005)(2906002)(38100700002)(38350700002)(2616005)(26005)(107886003)(186003)(1076003)(6506007)(6512007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: YJooO+KnG78/Fadxbxg8CaDvQ7jcO8iuVqM10d5bZIpQgHoBXiV0ogtL8r3f0VLIQNFeohpF7z1LWjEii79yucIOAm+qMRsT4Isgwuio1PbroBQBjRAHYAlQM0nrJWlm6KKuOt2JDXNxzyQQTEhzSJanco7SeLGZVaDhUTzJb99HJnCsHO9ra/uIMjnEPLYFPIZgdIFoJalAMfGFKHS4RJRs77fiCSGnjEzNWNIVSMKmuy0YSzTgs+42wGOm7F76TGvggdGZDPQ1Avf+hUmdFzPeYgpRnzGVAp/VwRM2AeCnPae+cXsTSQQJ6FvdT94A40NFLW0etpEf7uJKlmKBO8tvsdYo9EtJUkSy+Vqs3mrw+ZOZa9J7FYUAO5IZnTqAzPaFjROtHVQxGT+W8Rla6YkwY4mrWuuMRdR00K7nG4TDdwE/g3YU1ogjroiqSH/t7lL6gNh7mZLcftoAupkQ+K4dzg3glGE3EVKX333L36LO846C2zeUPbtK7OC8X3qwOAv4J2AoTYo9hGDAM6mHpviZq7QkDA/MThXHVk45LcM4vFJLevI8tEQFRicjZC88sSe4H+SAdToPUh4rTOiiZsaoTIkfDqEOR7jXdl+FcyomEgozT6QdxsCfkGbxharVcl404CXBG4YCUofj5SxwuMk8bVfNzsYt+dkkq+NKtV+bsXQAp0eMgcen3GykFo+8/s9ghWMDmDZWjhDHFHNYthU4EbiQtxfollTPeOkab5b6FFIgg9iVOwXYMmCkRsfwWhl0haLAOjbcourpi6ND7/pBGCX1aN7I9uYOl+MLqpgTO60p6NcKlDNIK2AtNaOoiXK4nUONSlU1PucGZHH/pufiM1TPB03OEjbZF9dZF4R32AX71+B3ezKU+APCoTsO2uUeD5y6KCqOwHl41N69Ail+DX3e53qrFafPcJ+4hYuANhvVPiXtA25VG353ROe6s7tEFvAi0UZKvwHzf9t8uj8c8B18iRlLSexAqUZkJqteD+jgviwOITuaT9yCG6dIuqPm+yyBx3zf8fzGa5rIFosut2ciptmy/++BzY8KhwCNmYqH4dKY4K+fUyCas5x9AqUNJnCvPyjU3dD7zlPOIGl/9agSVc2uIe6zf3ebCIsXi/iLYKyqQo36kXkGkC8DuyqXN6ogne9cN584kn05TEY6DPb1BfrepHFsCuTGVdKEwXo5Txm3ID8NMsY03Tfiv0+OsTd9VD70TBHIPCt+U4zVBYMzAANPr+ItG2aiECfpGbqPGhP9RQwhpG4BUzOXC7UTAEUfZchi7UbE6/FRYoNVqJ/eWuIhjXz4Ul7L6QBrmAsv5Dkq6rX1gXfl8dOOr72vpnd+/AkEPyFoB3lKq3QPnaIR9Wugx2pmwTWTExhMUip15Gl1JwTdaKAFFkrS4l/kg58tZB91gO9ypg+FJehxf/U+Mzljx4p99Pg5eIwg7wcsz4NdGQIGikR410BgunyRPL8Kq8JsgmvXCnjMgIU6H0UxDl3ed9Pa09UTWuAhQNPhPw3kUEGKhBcmmoXDwUtCMg3r+yMO398h9vxI9IJsHw5vgToJ5vR5tCuDxsrtgD/ECrfEEY5I6Qf3koU2wCkniCK7x/L8OxtxBG1CtQALoyT27GdaF9yb9llyc2g= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 98439e10-5a0d-4995-beae-08db58466cbd X-MS-Exchange-CrossTenant-AuthSource: DS0PR01MB8010.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2023 08:52:50.1841 (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: V6AQaiVrm4U+nzowxJ51LnNzYdUExPyDKQCLFEXpRKv75cmfu8OXk3r3v2lUqG3LjYliSyiJjOswbblO62Ty9Oy829GV0ksjXbq/8baMAEZR9MuxX5UrVhxGfIZktEqt X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR01MB2675 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230519_015254_623718_07F3CAE6 X-CRM114-Status: GOOD ( 10.55 ) 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 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 --- Changes in v2: - None --- 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 Fri May 19 08:51:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13247913 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 A6890C7EE26 for ; Fri, 19 May 2023 08:53:48 +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=jOMazLtBTMM9O4hi2GM7PaKbMyDVJlL74A2ixixqoAM=; b=MUg6+5L6ZZ9yeU YmjZXSHnxCO8RUGG5QiNkvQMdcxpOHC2hpO5HoWB8NrDXD2j/Y2kKiIX9q7Pkifl2FgZLzzCPxHe1 Jo5Gm/i7+6XdJ0UR64AD62TFJCfl96tIvlyjhFFMOeyE6XxxCwnR0tf1NBXjIpvd5ngyDrYLIX7gB lpuvr4hb0RxGzICvZ0HQzdGFRRirVUjhl1IDEIVCHHqA4s+C+ssHkA/W6Pqb/kVCc5Pd7BJb1HoNA P/PJmCa8GkWbXsDOwB4DWReqIM7cs2CHkAidFKVDzvPPggqnrO8qVBq4RSIAs0orUjH/m7vSDCWMK pGBWB9LOqcqg1SRgtsGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pzvrZ-00FbD1-2b; Fri, 19 May 2023 08:53:25 +0000 Received: from desiato.infradead.org ([90.155.92.199]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pzvrY-00FbCJ-36 for linux-arm-kernel@bombadil.infradead.org; Fri, 19 May 2023 08:53:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=MIME-Version:Content-Type:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=FjO2TepcAxmHWHllgz5eZITe19Kh3raEdDxo0Q8Jm6E=; b=fad+ultPlePschQb2ZAtIyqrLJ A35xsSIJgYmdRtAX2R2Ar652VOO2pFESMj5vA+u38NWXhdrRTd2xJhyeopE/B8Dh6uMXfsFClf7FO MO66EUOZ7+cSNEF//Qkgn0/kICxRVktGLKn7Z3vBKKatxjXCdY6gR9ZOlfM8Knt5hJbNGtl9RPwPS O8CwWSWD0uGfUyACkbum9VAKuUAvwzaiGU64AeHNoTPf8r69qHCAeWNhsnvDZFlfUP1nO07D6AGkR 6wTSIQAQ0UniN0Jja8AsLFs3t2vPFEVhyMxh6wqmwxbvOb3VIS+zkloGTMDQ+1qqzHtJNBUvuo/5A c8dXf1wg==; Received: from mail-mw2nam04on2070a.outbound.protection.outlook.com ([2a01:111:f400:7e8c::70a] helo=NAM04-MW2-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pzvrU-00Fpr0-0O for linux-arm-kernel@lists.infradead.org; Fri, 19 May 2023 08:53:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AI7vJH9pHsve6EC/BzWUaD3RGKFaJJ9Wnic3RzqXf9QScPNNAHJiirgzzZ6dZ5v2LMCBvT1qSuMfY9odIdMjyp7llKrUYmUoL2atZIyshkkK+fTVs1CIR7vYertiYzDSVI6v4/byEZUYTBguy1sFuDpbOO0wMFRYKLxZbHEqvbiiMmHss7cJHrTm+hflHKc09P94WZGoH2LiPZ6tXeOgdJGpRhGbTln7QehUiOwrmKeTx1KZ2eNmXd7/GeihghTo9VX3eKHOXJJnWgfbRsjuW5UwmK0Zf9B3I5MXUwIQ76calh6ZlsA2CD66rwNC9/IWlH0qGxFcXFyUu2WeiaKlpQ== 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=FjO2TepcAxmHWHllgz5eZITe19Kh3raEdDxo0Q8Jm6E=; b=Pll4aXG1A4dJCBiSq5iE9AF1B3lUfImnIBMP+NRuTctEsyVb7qw1NzzM4tu+OISuuWuIa/pjxODxlOv34i91eHXhkaW+iK+77huXvsxMEDV5hvBBADcfwMme+VjSg6yCh7ui9z/WRvIusKmsYEIBhXNlcrB/dswDSq1LNouLHkG08pOF8wzRK8Ni5RR64QtBYvgku/6fOR7LCNdwZOsVAAgFRopOKHMMlwL219/ka0fYf/AZrzz76vcM/e467f8notGNo/0jl5xing4mvm3ha3BIq6pGw/x8Ns6orR7jyfXna6p3kcNTNgZ5a97RUrMu+nOHcI8Qw2IE91o0bYfA6g== 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=FjO2TepcAxmHWHllgz5eZITe19Kh3raEdDxo0Q8Jm6E=; b=Ib1u25fBuN2mb8xlTTbd28e5POs/31vgQ8wTRvKxU7g12ny+aE7d33sTWmZR27Emg6LrtqLzkOg7emYwBxQYBPYa2cG1J7L32TDFamUNhkf1hSx9qPs4qDFu+ax4o2v+3KQPWBkcg3ddmXwRV4b0WGvJEmYj6qNSzLhpvzHX8pg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) by BN6PR01MB2675.prod.exchangelabs.com (2603:10b6:404:ce::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.21; Fri, 19 May 2023 08:53:12 +0000 Received: from DS0PR01MB8010.prod.exchangelabs.com ([fe80::e439:70c2:7d19:45e]) by DS0PR01MB8010.prod.exchangelabs.com ([fe80::e439:70c2:7d19:45e%6]) with mapi id 15.20.6411.019; Fri, 19 May 2023 08:53: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 Cc: Chanh Nguyen Subject: [PATCH v2 2/3] ARM: dts: aspeed: mtmitchell: Update ADC sensors for Mt.Mitchell DVT systems Date: Fri, 19 May 2023 15:51:59 +0700 Message-Id: <20230519085200.22020-3-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230519085200.22020-1-chanh@os.amperecomputing.com> References: <20230519085200.22020-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SI2P153CA0004.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::23) To DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR01MB8010:EE_|BN6PR01MB2675:EE_ X-MS-Office365-Filtering-Correlation-Id: 8dcac5a1-e4bc-4c1f-e2b0-08db58467a10 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2ORHczgLrmdZTII5bvJdelc4LfySBA6Pgwwh9dwQWirlhpBry5p/MBIvchxmf11kvdloM0NxHLI5klDHnOr1wso0Ft0SxsRqjYbBhYohRfcB6GzpNr9OCWnYIQ6kTtraxDsFTx0tX+1MwFRi+Awg5bhHl4aecr7L/g4ZMir5XRp0r8O1nz6dG+gCSya/O56XLjDTa5jz93TVtuYyG4mk2UHtaiPx6tF3TAfgePcBNJbTleXaLcc2saVSl2nplhZ07LmCoBpt5pSzdYM+B4iNa5b7wbpJTz/s3/CA5/gUpypE0zTEfPXpiQXvZ6hn64uFcfxMc4MvZUDP8straJhRkuneSF/NJthypH1cWVJIq3HjZQ2lEWrFtDf0OKttt2cBDQMFIJOOkdVQT6EYgIDP1BT13lsM3UvHUazxM2IcbGGthf1ZasvJ8GJRYuUzoHVz/r9BuhsAxta5ovSMXLGOI+kFaz0EmMGtuksri7Y310xXR2gFT5KHxxApYUNLavn9mTirZ1JO9wKk8t9Q5LDNseELRzQk2XEGbvM+czAW5IKZus9zSQrT+6ixcDozlrf585ptV9Q4Aodz5zBp3JqnuEkV38j1LkjDg0k2RRIHFfeRpCdSOLTMKehN4TKXnTkLyPpTtUFFaruC688suGYW4Pn/lu/MVTslpYQGyxlgiSI= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR01MB8010.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(366004)(396003)(39850400004)(136003)(346002)(376002)(451199021)(86362001)(110136005)(316002)(4326008)(66556008)(66476007)(66946007)(52116002)(478600001)(6666004)(6486002)(8936002)(8676002)(41300700001)(5660300002)(2906002)(38100700002)(38350700002)(2616005)(26005)(107886003)(186003)(1076003)(6506007)(83380400001)(6512007)(473944003)(414714003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 9NaWF/Bi5yYhl5Tg4JLJzlKZishle0dYMerF8zp90MO+Dy6NbYjB2kD+9tmzb+cRIS0blkvZxmLrif+pi0CzYgEdaFbIh9MaGrkLoDbn0aZBmxyt/Iqs6VkrBnLEaeeVIvdtvhGKXBjhQKwYR6A7qqiYdOgvL6imlFoYJtVySGhufy1D7d37vi/AvxV6WVffYFu/J1Yl/Jwqli2/vllzNyNjKJwbNxvd09dnw0L0eUbgKNQ0bYNjkB6tHjnmfVkiZl3N5yqh9DEse8JIjEYrtv4vIwu8/hDtliAFD7I4AOv7VUKqyH5JD8wP7YtVCKU5yGLb00fuanfWJ1oZPJ7N0yOli+1jEoAfcuYPaGqW0QqAgY7jaam7JAGfOySuPhlnYyAA37a89lVZshhEvOguGLaQaRF4YxWdMQJ+tOQ8GRgh973lkdm6x2jBItQ0yvkcXwisDNiErDhEKZYVxe3Vy3haGjssPchZWCs5jr1NyZDWHMoEVC5mdhU8TAeTnb5ku8we4q6dkn5rm3d21BpJ3STCL6fj+Un3Fp/fGkJv7zmQ+GKZTNJ5PUJ3UKqTY6jNEcpmkt0AjzdYmR13iNgGQhabiCIwR3YI008muqVEPmO0BnYOTpdMedJ8FF/zwKJiKeSma3Q9N/bJFxxrmEAL0dJbX9RlVX9MuVbZSdYXjSdEl4xLXpld5wZ4VMEZ4sSzZ8LHoenvtBPxFnzLE6zwq2Co2OW/iidKduhZve0sERRv81Wjyb+TvTmzg+avmDA+QopgTnFrBmJykmW710vDRbg8nlSCaRzjGdtCjTn2At0UEX/bllraarM4aq/ENTZqP6t8HbPf1lm9Z/p8YTWszq3JtF3AhSICK7BtGSyH7lUHtpkqQid9M/1P8u6sQ7Kc7txwnpDYEuAHr1hfKiOOJtqw+0xzC5rajSVTo005yC4x8KMkZA6mKJJOXfOhsaChiZdS7DVtQOHSz/Y/+BH7+VfEtC19188vqIqPZ4vTlt3lexeIEqo8aZGf7bh4MCGpb9f7M8yoI9hesaoVvA4b1ktP5cay4JyDb4iisgyS0IlW7ipeZaceX6TFKb24QAFWR4S3Nd1XsjEkuTKNpaQ4R4WYd4MzijJV0di4rgXKMrQHs+45KtdxfwOpdrKNWITp92vtAcpkcuryI2taJj6tJaZpuScbGxAdi1qdg3R3J9bvhwGYZxoREOhD/pMZXFLrrElT8EBsxKNQwJIRiYaKWqsLCQgdxhlrwKRvszb0oECpFvUNnHByDzLg5nznCOET0oYBkWs6ZN/ynqUl78SSA0BaCx/zR2prTqDGoXE2lo/CFTjwn5qHxgtL4LvEIPEEHr2hP/TIfNedsoA26yoKEfz9quWdKY/UxhHjwKCgxwxk24+iTCos2yYZOmKp+BXUmUFjZ8dYDQ8FUinQz87JtYIxHCnFQWabfvDcMjxUA0Ltol3XI360TZphrbZHeDIAsxc52BZoDazk4H/lC0NefLKN2p18ekU2xR+ESvyKjVZkaF7720JTETb4yKGTta1oQWGjdgzO8Unt7qsesPM1JW1J+Z554QivFtjqaKAt7g0d7PWAGRqo0a6/afBLNsGdios77HvoITxDZlnP9toZF0k33lEhDYa3etllaI1HVcM= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8dcac5a1-e4bc-4c1f-e2b0-08db58467a10 X-MS-Exchange-CrossTenant-AuthSource: DS0PR01MB8010.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2023 08:53:12.3298 (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: M1iItw1tK9q0QjUCROCnKlri69iWHhoIXbaNby2T54I4/64MoT1kA9GuCG2LE9e6U8v4kUsCcQ1eIACMe2cufs2JR8Vg2v1UP6bK+vFjsKtKOWTKkdWSGtvnVLCGIDr0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR01MB2675 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230519_095320_575264_2A0174EE X-CRM114-Status: UNSURE ( 9.19 ) 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 Change to use I2C ADC controller (ltc2497) for Mt.Mitchell DVT and later hardware. Signed-off-by: Chanh Nguyen --- Changes in v2: - None --- .../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 e79f56208b89..d3c7e7c0fd25 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 Fri May 19 08:52:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13248087 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 5E733C77B7A for ; Fri, 19 May 2023 09:40:38 +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=tfwvXkj9NGO6nUNXevWBFmwHKJSHyvajxLW51Nd15+8=; b=M6G0KfU49O+knz +c+QfO66WfGQdsMkbDGJari1Tbfa3Eps26TkihIsFwXh4KRm9Fu/m8wN7bH+6DZdfzzHDVO67Ib7m vaZi48hgoPYLQIBqjtYnfpiWDWDoGNi9GIK7nk/pWrAygHu6wvc8Mt7Xg4sXv/qhUopGooAEqztrY w+r0J8J5bJ4iII7VnulNX8qe+S0tKiI/LGDO3o7eiKESUnpMYe5tc1tgpZdg133iTk/XG2z0tvY4g cotGhIYiarURhc1MHj2LrxpufW1L0Pq42TVFkbRUeNO9zTpzNyYeu6vWkBrhxSeg+grqYeeUV26kR o0rsSTFchhYJ9YStsSuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pzwar-00Fkgc-1q; Fri, 19 May 2023 09:40:13 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pzwap-00Fkfr-0O for linux-arm-kernel@bombadil.infradead.org; Fri, 19 May 2023 09:40:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=MIME-Version:Content-Type:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=bLfT7frowKwB6BkZ5vtaCejX3YozCFQccska+jJI/W4=; b=d+wqAh5QfObiBKUiEZrxrYS4WI OK7dTxMmLuy/+WTXVxrb2BMiJDs0Buyerwe1esbBUjUvF6/8KxMxHwCO6e2ERmPQScbNs511/UWrP IcF83yEXT/pJ5jsuRGdKJ43ty/3FAhKKicc6prebIQAqte3p4LJRJWUFxDBzSOJc3lQRoPXWInKsP gTtXLSFXp9gvF1h0STBWqASwg1I0toiSu8x63hGh+Qa99plB8D5Ko5hS0T/HB3r0vCoSdtLtbi7f2 BbDHwNMkw7EmWyUL6hsZXPS02Pfz7+p66NCrj5xlmVteZFGUEm9VplCtQeOUtYJ4wNxyujAFH5VRf ha/paz+Q==; Received: from mail-mw2nam04on2070a.outbound.protection.outlook.com ([2a01:111:f400:7e8c::70a] helo=NAM04-MW2-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pzvrX-00Fpr0-1m for linux-arm-kernel@lists.infradead.org; Fri, 19 May 2023 08:53:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=njbzyO482a8FOsWEgzGAFcMNKbMGXXwxKe/RbpF836YG6AwE1hawb1rkSN4AmX+xEO79zcrUUZWoX8Pc7SZH8qtbJHDIC19bP9zNaOGGLsknC8eLXTKmuS6aq1huWL/dFp7A3FDHdZCg/p9cpqpcxRT/8S+bjRWTZ/Ctzt2I9n4K2CNiayLi124KzZbDY9caVFDUv3aHSaFP4E5f9U1DZmvFlDb33CZV1uyVD9HpobhBxP0QbfPQYgfNPgcptCHkhgoaPzE9W2coryQc6/VXZlzponcGn7YjREbrPYdnuOUNiO8jzQmxpaA4a6V6Bwpi1MwlnDxcW6QGrxbtj8Ka4g== 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=bLfT7frowKwB6BkZ5vtaCejX3YozCFQccska+jJI/W4=; b=MUg31alnaWspkSbLWEUz+Qfg8OecLU/YFoV+qYeEBSUIKZVt21GiIn6qZNwb0FS7Ml7cy4uzaUwonat4Hg0qfDL+W5sREOu/VWZtIJ4dIQzhIACtUUzivzrd8zHppoxoFXP10yE+yT4lOGotELDQRk0VVHn76m8uL1yabAZJtmgX2W734cDSRF1Zrk9dQ1cIYEgfH/cqgUQsff1SdGwegqHVzL4ai7DlK0YsnE+DVni1QttuKrxD/m35UWg3h9E/JGqCTZLg75RtpZysb+kjnKRuC3ZDX3khr9Wf7jlS6m0qU2Zi1OUuZHqTG5uz3dTLe/AI15DzV35E5koGG4Q23w== 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=bLfT7frowKwB6BkZ5vtaCejX3YozCFQccska+jJI/W4=; b=t5hTUGUsP5ssLcjYxrUYuLcI2h2UBPhSt1H5stwrLysyGZbADXOwXzP4QsdHIxs02OXz9IIWlyZ4NhKGbXkYRso8XJmbvwHhI0C9tlV1cXRSKwxb72RhG7bIDgp3LgQ9tmUl4sPMEHsXwsVP97nWtoEvr6vxYhnMmoUIUe1jz3w= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) by BN6PR01MB2675.prod.exchangelabs.com (2603:10b6:404:ce::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.21; Fri, 19 May 2023 08:53:17 +0000 Received: from DS0PR01MB8010.prod.exchangelabs.com ([fe80::e439:70c2:7d19:45e]) by DS0PR01MB8010.prod.exchangelabs.com ([fe80::e439:70c2:7d19:45e%6]) with mapi id 15.20.6411.019; Fri, 19 May 2023 08:53:17 +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 Cc: Chanh Nguyen Subject: [PATCH v2 3/3] ARM: dts: aspeed: mtmitchell: Add MCTP Date: Fri, 19 May 2023 15:52:00 +0700 Message-Id: <20230519085200.22020-4-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230519085200.22020-1-chanh@os.amperecomputing.com> References: <20230519085200.22020-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SI2P153CA0004.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::23) To DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR01MB8010:EE_|BN6PR01MB2675:EE_ X-MS-Office365-Filtering-Correlation-Id: 424be050-e3e6-40cd-e7af-08db58467d25 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /3EMlyL5KP+0VpyIO4h/7d1F1GEEUfBUq+6+lOeug4oNUQLHtDh/4YsPTUG5llO6ljHkMOYG/VvO7NDjz10bEqf0rMxqsQgSaFmr9PfbKU0owk4f1TR1+Q1yRSvg0bxiP19dAvDkWKZfaq/hGIh3YiVaPd8lPUVSC2xHXsu3Nl6f3U7tXDqXy7UZqHVPQzmhyKKxGipXD3zbbFDXwKfJ5SlO+PdSJajXIxjjuQKXpYJfLgqvS4qkAhT35ceU9CpjPAYLXuDyKXaVD6nf2YDd7lBcb6M/9to1pI3sTuLNZmiSTIpIsquoKF15ib7fu4q16vAFy/fEmX3JFsK2i352AtGNfaCCQ0iVsKkFVtqtitYd8Jg/KF5WLo2Tlhwhv23QBvtPoC7QCwJBGHb2k44zzB8e/Lg5Es9kJU+gVAM7DaKE6Q2SAQCHbs9iXNGaRi/KwUU67q7RfYR0H/3zQmtgrVa9a1XF4B3HY+xCzUFuB+x3NwC97MTXXUWJyqY17ddMAluhIl0EnTTBDT8C1/PBy7SQN8ykVYQuXm1KbdVfNsa2Odghe3vLxQ9206JBbcuTpbDfNxSfWvORWF/gK7sjq14krBIPSJdsnp5K4T7E68fLI1FF2nsPocQANSQFAedc X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR01MB8010.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(366004)(396003)(39850400004)(136003)(346002)(376002)(451199021)(86362001)(110136005)(316002)(4326008)(66556008)(66476007)(66946007)(52116002)(478600001)(6666004)(6486002)(8936002)(8676002)(41300700001)(5660300002)(4744005)(2906002)(38100700002)(38350700002)(2616005)(26005)(107886003)(186003)(1076003)(6506007)(83380400001)(6512007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZqFFElNDPbNpAxpJZeMOeE2zIB+AficPm/dCK2hPMyZgRY3ncD7EBJgUzMS4X1W64OPBVpWE5zG6NgPmKirRJNdY6lMvt9x/phnnlkFDTVb4YZobu4zDIf672W+kldtahWWzrPBspOpBlX9U+y3RN6hj5iZhb/lbHdE8XpkqxxMRNy0sp+tKkd1nG+kEI6a5WEj6r6NG28g5a7lgdkJ2ZbhmR7gHbD++JA3ipPud0RAdG28qj/VPqR5PNHaKFW9V+hsOmZeDlEMj9r16J9I+XqcGh7yy4haBxUcRsp3mKMP2LI8okGSldp/ug8hPCTun1ieqzMLM8GMhraU9D3GNoWADi0kzUIvHJvLocrtS+EUY5h5d75uwOiiB3O2sfoCqQyGbjLwvNG7HvDWpv9RnRlRtKURGdNq+O4iHiDAJ9ZDbiduFSY/5ZGul1ZKTSHiFbK7pWfCBV7OrtzwRDEK63MET/7XV0ok/80POxkReZmIr3kiZo7znPUTAX/T43DJRZC5pT3cXIrgZPECQu3K3B9nNZvfyI69qVozCOM5MxQGQEwuh03shlr4/0HI4VU05hodvzcrzGD9VQFkagk1zn03TL4iEDmwe/TV4w93UOfFNql8ItQxaLURfksfGvc5PK1ObU1ALh/sG3rvPRa/THbV5nVYosN9WFW4wtzA99BebNqw8f/VC0/lgMAb2Eo1xnyu7z3SMaBA+kVZCjdqQ1ra/ktqPaxpO+hs4UXsWiltXjysc7vuDvzCZUaFWTe0CvzNVj1mLXBCqYQUaIQZC2mzeHWrwwmzrnTLYeXW2uOahFiiFc0T6M0ofaL4dNv6pbyNx0Ew30OWNPtsztUZcclrOPf2sLLgsBmI6XItu4tGFvayCKL8Ejags+NV0Niu68gbCC6xfFs1DwuSVoeBcJu7DF095rJBFBliJBAGY9yWlDsIUh1CzjJIfhpZ2/VZIBRtYs2f8TiJ+VlHLafGj3ODSEkhR2iUneG5UnlEx0DHatwHvBnXoalgvRYpxsK+KTqnPRvxkNF5ngz4jlkCFz568pCBfb1zf8rz/FTRTEE8S1Mvn+tVBmDqt5G5WosdyYzQ1RtpVIXAiGvLFJSh62soGDn4Uu6wl1ipcnNo68L5oyn9lyTfJaufDQWJDdjCAhvkWZjEIUQua65MJoz9KKCdr5ga5kNyqXrKmq5RCXIIzt+3zAWz4/eNXixCBcJsAUIGA6zFXgvr1PC9adtF+ifSp4ctTJVLGyk95FTvqHw5d0PC38t5cGDTP+t/ra9D5cxw8FS/VtNZl2BZJY1nKxXkoZBHvGf+za5EFXY0e0Si/PJqAC1tZkNVDssn/8v+skPGOWKE0kmKlQDoFfGhIGWswT3/9qt67q0uVCr4/wYIudvM6qpJhp6iGH1Bg/7l3mFhzGZOvbIZ1yArdI59636fg+QDrqd6/tWHBA5dvzLmbt8p3EHP33tXDM/EMxXcR3dbvRrYS2LjQZdXT/ruC1oBtHA8Np0QgEhkVdMR2n27QXEFCAjPifRGeZo+sEtYdg9ih4q1d1wbdqWby19n8b3GFzdhZhBG4VO+x+sxKj0HsIMkITPPgoc8cDgFOB/5tDYdLuKYQpbBcQWxHL+4bsLBXdOCq+bgLDXX6frO2IJE= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 424be050-e3e6-40cd-e7af-08db58467d25 X-MS-Exchange-CrossTenant-AuthSource: DS0PR01MB8010.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2023 08:53:17.7312 (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: VJr+6eaScBMOYxySfYL8t7/vDTRDz7RhXhrlf0mqcA1bQgQZvvPgVuD2aonp65potAAPyeFsIb2gEr2fSlJ8ERH2lhCeZFTA86w3ZPOIQCr8y3eXgJKB9qjGEmbtv0Ku X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR01MB2675 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230519_095323_768391_100A12F9 X-CRM114-Status: UNSURE ( 8.95 ) 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 Enable MCTP driver on I2C3 bus for MCTP transaction Signed-off-by: Chanh Nguyen --- Changes in v2: - Update reg for mctp node. [Andrew] --- 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 d3c7e7c0fd25..c0316c198a88 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 | I2C_OWN_SLAVE_ADDRESS)>; + }; }; &i2c4 {