From patchwork Tue Jun 20 09:25:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13285442 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 B6C10EB64D7 for ; Tue, 20 Jun 2023 09:26:47 +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=ULUnbIDOgRZ8vL7Z9nQp53IABrVlk9OfEQper5vyyHU=; b=y/43x14jbL5tQU dJgIZcrBCFKn3YLHnMTrgKcz/0p7/wKMQIeydMbkFt6g4rSGgjArWgN7+iPEVCdlmvCL6ytpea5B5 VgoC5w8tNGdjljIQcBIo4KmHO11lRxbYuTG+dptBr1pZ0WPwI9FqgRCjM8phOSSOXmb6hqZJyyvAi VB23wdDY/Q71dkRMpkwSduq2vX5GXWs7DxtKjoV7TH/+t88ZTXVkoi0KRiT4ys/qZKqD8Uw5Vmor7 0rOfV21n7n9xOh3C9j0icRpIfo47hS0d+EaqVRPAQ3vgtIqLkJCHXkVumvzx0ITLfL1MRJtl0T8SJ Jq81N/wX4C1VDpTpqWbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qBXd3-00Aizi-2v; Tue, 20 Jun 2023 09:26:25 +0000 Received: from mail-dm6nam12on20715.outbound.protection.outlook.com ([2a01:111:f400:fe59::715] helo=NAM12-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qBXcu-00AiwN-0s for linux-arm-kernel@lists.infradead.org; Tue, 20 Jun 2023 09:26:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YDlo8jNED5sibNxU3sgJ3ZK+4DDRTwTjz2To8+IieEWgN4JwZ1NVIVtqcpyJloMY4A0+pYbTHRkrbpfyzL0Ae7DIProe2Ip0PC8VFSlM8ZugpHthgwBZExXs/oFJ0RPZVmAcL9skUAGk0OzLWrn0BLB00ePJOsXBajr1hwzEoyzRdB9JW4H4fj05eijHmy2Pr7a18aojKlHzfK7WGzUKAhXVp8IRcIyj170iGznMbLqHZSnUF3R6MwYDADIxtJylLEPxmYuTfF7k6XyH7Wh0Zr6nt8In6D53PHh5AaJiJMDANeH81iUcC+oqSlCz+Y2rOLPxG4ARP7+U0l5GWnColg== 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=bKfaAcl4q3UFkYb1UDNyKx50AjvCFmrQZ/JC97/xY3U=; b=eOXTZXpeKnSnWXm/znELfSnX8Seg1Gs5t1/0zVAan83FRWGyAawsxwSirLunbiR2KIftogY2J2dCEuslIlom3Hi/uCXs7ZDlDieaBNfsuNg4XYlO3PkQM4w6M7+ArtrwsolXTfYIlF4LUT3bR7l7kn4OInhJBTOKyEVs3EDR+q3zxyWMXZr9Zw9G/iS5u+m8s+kAMZI8rIzozQRYNEU8qHtDaGpRfAADQFdBnmCk/+3F9AFp5aMTG59AlDOYel2C7fY1xQV2ZFFZ3rymQLrpmlEdFMuSb8GduYW7TocJPsFG6i/NNblSs13CfZkFw088cyOi0EZowJ9VLPeFMYS8UQ== 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=bKfaAcl4q3UFkYb1UDNyKx50AjvCFmrQZ/JC97/xY3U=; b=dNmI2UtR8sEXKiJ9lmnrX2DFqOKGv5HohGavLCPoyNGO7MISQnKXXb7ZuiXDPZvcllqjV5DAydVJOTuEPaY0oHEHtSFv3HcBJjid8oqJT0w7NVGv/qHlvbzUI+Kog7EImO68OXyz9nCRyUz79IdDp/KUjsB3xXR00EsnMQ85ITs= 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 IA0PR01MB8237.prod.exchangelabs.com (2603:10b6:208:48d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 20 Jun 2023 09:26:11 +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.6521.020; Tue, 20 Jun 2023 09:26:11 +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 v3 1/3] ARM: dts: aspeed: mtmitchell: Enable the BMC UART8 and UART9 Date: Tue, 20 Jun 2023 16:25:35 +0700 Message-Id: <20230620092537.20007-2-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230620092537.20007-1-chanh@os.amperecomputing.com> References: <20230620092537.20007-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SI2PR02CA0023.apcprd02.prod.outlook.com (2603:1096:4:195::11) To DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR01MB8010:EE_|IA0PR01MB8237:EE_ X-MS-Office365-Filtering-Correlation-Id: 32063807-f278-4a91-492a-08db7170629e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: n+ww1PX54hrbzNClutuNk6YwiVwti3YFNdx2p2ztDAW28DmNtnikWOEcsRAPciJuYU/fFVY+4LM05L94cCVjoECYYaKjOMWPayokkSo5M9ZBpAP4ZjKDY4lnImYN7hIfVVw/1UKXDmhmk4iRto4goHF4pm3CGM1GyVOB8OBAEYa1SzGgxBWnIhOFG1sYNgx4F3fFbSlnflvcVlDcqvIdtCJBOqEMhJ/AK2DCtkRi2KB5OfS3j9ps5ONhp27dxs5+DYvDn32ahmy1wEt/uuGaVJYtWNRgiG3JUjI+eSbu/i3bXPbOMiDa0K5oV7TTUeroacnhSZlSQ+b/KDSAym5w3GAdaVwhySQHDg0g8tpeOlLG9/P+JWK0TB6id9W6nHhNx9dKzF/tqg25fCzgr5QHKTIgln6KwQjcJ1+BUHZDuQulOAfQTyAC3BtW260JduxGwFopa+Bw9cxZJAvktQbUfLczywSwJpvQ7QsfGtdqcsOXCNFZGsXFuOP0KllWQ5RjvGEDmIMyFoS5rAm6V7qsDAn3u0CNpkQyQ/n5m8br4JS4vR7At5ugdL5WujQM+/J5lQvMqtYneht+HISg9vU3wDyMFmQi6iyeS0bsc1cA42l1WFq97d+dCPB9y0OJcHpF 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)(396003)(346002)(376002)(366004)(39860400002)(136003)(451199021)(6666004)(6486002)(478600001)(107886003)(1076003)(6506007)(52116002)(5660300002)(86362001)(4744005)(2906002)(110136005)(8676002)(41300700001)(8936002)(66476007)(66556008)(66946007)(316002)(2616005)(38100700002)(38350700002)(4326008)(26005)(6512007)(186003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: P5QiEwR9Js7EFtjRGU3rdNSRTm/EfHrMn/ndQCVPVPe2BDGNnAElZpUiAI3HxKpc9gGPiBdVxu+eaIv4lMYjimZmTN7IIMmdRGp2KjQCK88meGf7LetBmY3ll5rGuNas9tZlpyzmzhIm3BVKgMVM/fGfNgcKMeJSpUvwWQD6WMojwVmDDeLuBTiCV/cjhgM0fYz92UoRwpp8t+MA3lCub6xB/rm1yVC9V+hsRGLCpp562t5FmTj6CjiQ9MA2d/BWWBl3H7TlV4ewttjMwfayytCppK7puYtpNXrw4sx5qM/9Dj8E/yc0jxUZkbIdKxneD7Pm7V8jQkJbinSxbzjF28aw5SQr8FzVwePiKXKjEhnCPIUuBtP55hP1n0jaSGJm4XgI2rj2ZiQ8QsUElJa2COu+ZUl9DkY6sLDNg44ud2yalAE8HEKwPh1sBwKhlySH9LkcdcjFiFA+tixtMCKQIq6XJhkgEK/uyx1hgQnEavFVaHopdnkgKvSSA+zr3ls5QGqwV7ndmpNm+6wH8gQNjGUuvLS6104J0nRM/+j/ClWk6Y5dovTYFIDaac1rl9s0kBcWFJDoLlNHarpiZtuUOT1y2K9QStTTjdAy8+lLmJrDae1/xsy4NYxDNOk/dqi8Pq+vZOpkwBrOcVlCehfZ9+ZT5luYmrJsdjQUSBPjTh9uGzIRVsf+OZX6bgLUFL1d/cnVlxroDLOUS5+vpt8VDv2t4oTsVGnv50lgOlg1rC7TLQguN0TzE1K9E+UezJTN8bwPoSra3Ld/i+ASvuLeO4KsPDj2KMCTuHd93ge59abTEwoqdgiBBYQHdkQRQ80WTtxBS+qlH94ppChXCx2DBy5oZTCszfxlBUIob6V2zXaOYe1/beAehJRXZqEcnv5kbDrG6ya9Kn8qqxDFO+53FKnIgE1eIIN7at1cjo3JGZXHxbRjA540zcsYo54iK6aQxTis626iRGtqBhUh7k6dtpSdL0elbHwSzA5u+O/jv+HsDGX+557GoPYE2w4eGxFPV1wT4pRK0mBzTw5eQbt1xhURpEqt3PG1y/Xrs2WzyZo6zE73ZMm+Ci4FnXuXRC4Az72hduzRgVEL6nfleBc14gKHaDw8rwvdhWni+12IuUEBOTQQ3Ly0iDHzvvvoLaFgc/rmUrJ6H1orIzAUIOBN21atT08F+OPsYb2dEZk8jtIeUNUa84SIMnUj/Z8ydtWdpVjE8t6Uvl2eXUkymO4Of5AXcZBFSY49PS5VT/oAg2sLaY7xHq4yNKKn82RngOsQFNQ999hCKIqZZPXEVwgwDTId5itQKCSbqSPHadf0dY2Y3Yl+RQ67CHs+b3RTxOUSH4tJJnSj0VY06EiME4Gk5ANK+pJUy+YGvNDxKJ94dW/SvupM9hl2LsTkiTVKaQotkA2xWLWOf7zNCCIsFCr1iUar7PKyiCbbBbCkZuqZTOB5SEdHtV2FHs9fVFMAGifT0J720uWKlwTTzcxnj7GV6oC2m7aw0UavFzLL4I+BJctEQsPL99o0NlRbOIvCRpx8LmnmJZl68d5P/W03Imfo50TxakHVx0A03IdhzGDedtINzjuPiQsAHrSR/9fLuMwcEsG8DG+fBkbTwJHdjFhLXlm8roNCL3PnYqOr+As9bG0= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 32063807-f278-4a91-492a-08db7170629e X-MS-Exchange-CrossTenant-AuthSource: DS0PR01MB8010.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2023 09:26:11.1188 (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: N0oin7SUiodjVsbNNozkPTiPYjwGWWw6uBdfny7VDAOEmwgXDFbnonNJYcwkHiHtalbrbX4pfMG6Wixq5lZshbtN9Yek0wAfaRnQrhRw9vcosamh4OxkWtFdc4OeSVd4 X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR01MB8237 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230620_022616_313731_98EA33D0 X-CRM114-Status: GOOD ( 10.01 ) 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 v3: - None 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 Tue Jun 20 09:25:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13285443 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 EEB4AEB64D8 for ; Tue, 20 Jun 2023 09:26:58 +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=1aTnMC5zqeNBT52Y1NalSpFapiV+O2xo9mPFrYbVaBM=; b=Vubd2iDeLG41FJ yIvIFNfo38p4chxPPM1nity95SznJpaiZwQp/B8tds7xDcF0ecUfyD22uA0msyuOJ56QTrW9lvRPQ CMUPYya1SMRZzJ7sAR9VHsXO6CPhR2HGoiJSDHrH7JB4VB3MuQewFMxIEtu2pcPu6UR4Pta2QKDJc Lx0TowNc2gapda0crHx7uELHk/+/ynLChWVEqxXvEKoHUBuuBJy633zrz5OaajYX/QUkQ8JjfZZpV LNo34eNkYyIIiVL46Yi9KRRWUYhfYMo0xlkyyuhrDtcIvQ2GKoccKjn4EOoFqu8O9x72rfjm7gOKx p4x+whISrYYd1iNbxHyA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qBXdA-00Aj1F-1r; Tue, 20 Jun 2023 09:26:32 +0000 Received: from mail-dm6nam12on20718.outbound.protection.outlook.com ([2a01:111:f400:fe59::718] helo=NAM12-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qBXd1-00Aiyw-32 for linux-arm-kernel@lists.infradead.org; Tue, 20 Jun 2023 09:26:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d9YJ1SaXIGzuVLyZCvMyPriMJlSmlR3y/L8OQbkwvjkvOvxbMD8kcrxDS0gdmMbl1u+HVgUWDUvcAi1cWO6CbzkHcjybOZmkHHpz7mcfnmiopIqTa3cM29FVajhvPXu5jWTm92fxlRcaGmIlD09VDcD58tgHFLlyRbIyAHr5Ps33bcEO3QcGuScHzb5noxe5PTXDzhVM5mtrD+gPUX1KjFH+U5cvt2zn8VDmF9vWfcNdqsOHiwkf9jRjs9khg8T/j0/bkrwTYlJiEbLA9fpCI6aGiQU1YbYjHPh3xizN9cGLSHTjAXx63ImJsp7Jds7tqo1pWxYr5034ztP+6FdXig== 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=voyeqpMRt29J7dnpPMaK92qIdd3sWhB4tRwWDAss44M=; b=L5w0fo1+vCKTO1TCtzMyPoi8ukSlVAa/alvWHeM0t+QZZ0vI2LgcOtib5raQTLsFtfb/AqDi7UMZZy2dFl/1BbFw7GE6bBdkvVpu3unPLGsoZdGqiBfrheZeJUnIffn7bcoB75ZlENeWRQWhHDJYfkoIsy1TCtdnQek+Aa3kNxH0VOwDsQVImFiKM+uMSb4qcnlVGzeeXnc1cfAbek1CIpdlHfE8tIpg0UIiq+xkfvIm+ZnpekGeMBCNvvsbHKXdyOmN01ppfEUxtupv3PJxZZgCb/PE7vOAhXFToEYv1bE3C8ZsRnvtA3RvL7kHhR42DmEBCjNvzHxPUzhNtKnvaQ== 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=voyeqpMRt29J7dnpPMaK92qIdd3sWhB4tRwWDAss44M=; b=rjP1R+QlCyarLjFV+PF+AJEIO8I2OpWBNlw+h52ue9N8sNIOl4lm/FBj8tSJSiQfeDlUU1wXGBWNUqgsTQARcdh4xNgQJtMOP0lW6kKnOunfsCBzbXmuhqfUiI56qeKWuC0Y+ACvnOrva+b9lMlEqicxpYekRGqNW9vgyre4I/A= 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 IA0PR01MB8237.prod.exchangelabs.com (2603:10b6:208:48d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 20 Jun 2023 09:26: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.6521.020; Tue, 20 Jun 2023 09:26: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 v3 2/3] ARM: dts: aspeed: mtmitchell: Update ADC sensors for Mt.Mitchell DVT systems Date: Tue, 20 Jun 2023 16:25:36 +0700 Message-Id: <20230620092537.20007-3-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230620092537.20007-1-chanh@os.amperecomputing.com> References: <20230620092537.20007-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SI2PR02CA0023.apcprd02.prod.outlook.com (2603:1096:4:195::11) To DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR01MB8010:EE_|IA0PR01MB8237:EE_ X-MS-Office365-Filtering-Correlation-Id: d3b35a8c-5177-4361-c180-08db71706625 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oqacAAYDCz+RIE4gOiKrzrpq0vHgpaqnDAArq92XGk73IscPZON7YdJaTRl90uA+2AudCZVTaWyrs9EhPEMsNA9qWSlTqMkz3e0vI029y8K2n7wuQQh7hHn9v0AYmHKhpKikFPWI2pEbGrLvPE8S9I8XD1TMii7KmDaVZKtvo4CV8gfg1H+CSNxURsggWHwcrvfOcPG7uB6SEH5WDYnPFYraffNfzklQ2M7/c03oVUJbPrBzm2R1iXbPgAFJ1hG7c4ao94+oTnpWWLR/bV9DvsumwRaRXPE8OrGSKg006CquNliwNouc8vP9HkOPeP4scGP1y7vhTiT1uJsx9FSwVhR/xEVjvYW4IJpCxAifGsht+gxoYNtD/GBt0qwX4uxQBqBeZxaFe/++B726lWNK4FdCFFKKAVbhxQzuObGrKMoWQar2BPStmIb/rn7sEWL1QHMM18eBnCU2wX2sCzvxOn8Ld6kEu1O5EhWCm/S5ssvkREEv00qVC+B45Mgd/HvfDIB8naTBk17JbCAlIrep7Jvb+4Yn67E3vDJ1TKTy9BrhalEfwB1VzfrkDDykRHvjpgxN4/kz8bHwMsesAu22sk3F+djwAXnwrNn4jDI3XE3pZ53iFzUjTEdjhd7A0E8qVFvmYtGRtDPJmF+bAzUzLFIPjQJjFm0x30gin+ntSdQ= 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)(396003)(346002)(376002)(366004)(39860400002)(136003)(451199021)(6666004)(6486002)(478600001)(107886003)(1076003)(6506007)(52116002)(5660300002)(86362001)(2906002)(110136005)(8676002)(41300700001)(8936002)(66476007)(66556008)(66946007)(316002)(2616005)(38100700002)(38350700002)(83380400001)(4326008)(26005)(6512007)(186003)(473944003)(414714003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Sv3wUbWxSeNWUh/j4xXWL1iY/6epdtCuOJr1ghSXfl6L+nCwOs4XCeawY02/ld5m6CnYflwFt1PicJLf+83i5l53Qj9e4HDyBjqX8yU4AxYnAnz6W4b3NSATlO8aYBYl9fM9jBPORMBMe+qNsVXnwBpXcsUQSumZCCBEfvSbmD4T7OpznDDohMUiRPJIFubMt8YWrFC5kKBZMAMnoWAByEED/x5QcxlLIqqcIBiDoWtgj67nBH6m+aJne7u88es2eTEceOULj5XavjJqMaInzFagvCNDxst6jNmJDuLPnijuhJzM+CFvCK0Zw1hBAVp9Dfi5UnsHlGy2zSy/waV6brcLDpBAvRCvVq/gCXpnjXn1GfQeK3OPVdBEzhU0TmNU+njzVHRKuFS7wlKnyv975HXHvOVF1ehDQKdvGewwdZJV5EwOx+wJSnbVooKpVYwC3lExSBCh1RBqkA1h+cS/7w/fMswnnDeiGuMlhrt8jVMHNvNG4auybJy6bSCNTpFK5kE51n20ElSXubIDFu9K2q/ZLl/JXp6NWSunJoVkxpc6eggkqufTHACzCA+q+Zig05PDTw5OdlxZCVj7n9guIoLzQa2D1/LYEx3gbKmLFJSApbL7MefFf1DVw5IBuKEXLF3/KXBSxN9WG8sdBiPxaIlRJpUrlPv3HrXn02998p+z3Yc9owobk6+zAoo6rjoraP4rufl8lTusL4H4t1VEl1GkFjIcZDBWJx4v8n2sJsCi9yaDs4Qa7fP5Zgnvvi1m/tGLJwUdHDyuu3iYCW5acr/3RCgB6/dvQ0eW+Sjd+iIuT0+skQNYrCOlAdiZGzbfvObT/BJcdGOgpHaHTKztniMe3XOT6Wjyf8GVdLee4GMwyAX/tpsVd+BbK7f/0C8QCICw5H7R0S1M5TJ32pEkNCuEZ5f7uNk673FPihOSBBW60v2skYhHWrTkxYaqznjH6YgYk3KHDWHS61J590upT90jP/ceWDxgkpSl0WQPBGC96BskddGiuySVUsw8xGsuEuSymX9fZGCDOjsXbLTlYG0uj6pjMOlFwQ7OVTtac2U7uEfn+UhatFGM2VzOwh/DbOrECgyztCaGrr6Ab1dRZoMaiyiLM6mwvymzxeXy5R86BuaE0C706w1bZ7nIy2fP7RbUP6YiLLzCg65Ku31IamCHdJNy4SXcjRdO9k6AmZ/IHsJduupE2Zq4J6OeAk3cwzbuN0OawjQBLlel4Q1/eW4qJdVwagnO8LSlQo9ajK5WQOYVyPMw7t/PVL0tXEKEv2hWkAtbvd9mRgaU4npB+oZCK+JaO4ZGTLNbqZL1LWCTsfuJrl7PXYe9g/whMK9weNbkVXRCchLmcIgjWiUlXnnTQF+jmkzoHbX2f/wcn4RGGbY5PFQWxOXe5MT8UKmVdA2gL620EIu5CrHO2+DWfhUhnq39WiY45BRKoH9kB2RifnOlGFiO1uzEat34dMXXaoEzOerNUirEk34kdgLefqqJAIg1gDpjcSzB+V79+N82Tzm4beqJdxMU9rkaDPRgkP0zDkhJv/rx52l4EmgOxc4wTL9Jy+8wGDP7Cx9SgA8qdV/hcNB2OE4CYhWVo05wq8kKWXnCMVOCJ9c/rZftQ8/+etUbW5GmQcVY/K9j4Js= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: d3b35a8c-5177-4361-c180-08db71706625 X-MS-Exchange-CrossTenant-AuthSource: DS0PR01MB8010.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2023 09:26:16.9906 (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: SKdjNg+JOB1cfm5voflrbTFxY+QlWR22s96N9pr6gh55QEECxLhB+XAbihyr4STKX38IKYFyoAbqnADAShYDCWMf2c1CEpj1lhTObOJAdh85oMHd1yM2lnC7vD2yhBnv X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR01MB8237 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230620_022624_030471_4BCA6A8A X-CRM114-Status: UNSURE ( 8.59 ) 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 v3: - None 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 Tue Jun 20 09:25:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13285444 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 A4D9FEB64D7 for ; Tue, 20 Jun 2023 09:26:59 +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=YpYc7D7g9g6B3h+mN8S07GSphGLG65qS93gxJTipmiI=; b=TTXVMO7bazv6zM klbi84KuRTTlZYGB4Qf37jkTxgtrCajLxYimPx6oUna1DDirSV41ZpEn44tp/Blmu8YgrYPQ8UD9g +hNYKv6cHZUTJ/Jp499oOrJq0haUxXJ+Fnuhai4ZqHJS+N1uQv0bQe+yTU+xVakvypnK9huGatFEi XxtWQoovKlWguKvl4UNZ1oQKp3u08EaiyHDekQzKAzPAVrWFQnh8XfTgeiHt0sd0puAgWJmaNR3yM gAi06pDGFni2VlohfliHHLUPD5l7SZt2qjAmYpHNxLz31NxbXrCbWXhDlF1wl/t3wyplw9Pzdl2rP R/MEx3ApWtyko4jWp42A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qBXdI-00Aj38-0q; Tue, 20 Jun 2023 09:26:40 +0000 Received: from mail-mw2nam10on20714.outbound.protection.outlook.com ([2a01:111:f400:7e89::714] helo=NAM10-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qBXd9-00Aj0V-0Q for linux-arm-kernel@lists.infradead.org; Tue, 20 Jun 2023 09:26:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hUv915J9aLyk1drZSlFs5CHX9g81GCFQm8GcNrVGjg/2gTUTlYtCVeQdmJYoXwNYjGhtuVaO6jPivm3ofUVf4qMwgUvu3WyD3+gtoVKSAB00K9YZ8tz2TzDPRLRQsb7lM68JVSf7Gnv0wIuu/Yo4SUvrAJx6ICfjslbYqrQ1/rAiewM25k3I1PT/HZlaPt47Q1fLdU8k/4sr0uDggZwCkTmLulnuTm510GSWF2LFtCv45kZR4h2TdnydH/qzSJY8Y/mrK7SBOZxTJC1Qwum3XPUmcQ8S1TpY4EkOV82iOgH7fkw30E2a1jzQY4jiXwrAn/RP1RooM/NoQp2dXfiFtA== 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=MXYIShmzKc6iX1Ya2XtjZkTj2meSkEmWrQ0G2iPJRX8=; b=fKTMZjL4WJr+TWHgUQpuznS918e7LtECRJRQA2JHeb7OYGio6th6WS/f9vBrf3eZoikLgYs1Ng+5H6Qsw0m2rmqDyCrH+UYLZ7Re2jHoePcW1DvARhY2w1PQm//NU+CUgP4hGYHA6W11KKKx+fcCqNXf4isAK0DjTwrMF9UO8/tRPx581Z4ji5xNUpsSM0qpXJSmF7kQ9veXyj9iySjDEIPi9gDYxqS3mmz69q7GW5RgRTVSHKokV9rgTj6dAnpJuL/niMMp6zy5Oe6Ar7+rPOt1d1TrOSWJudUR5ZN49btcVCNPJ8AoCAFXWfgpwu5Y68oVInfajOPBbNFQGP/YWg== 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=MXYIShmzKc6iX1Ya2XtjZkTj2meSkEmWrQ0G2iPJRX8=; b=ogRd2yitUzLqN39rDj/xrZ0edpL/p496fJ3ICQ/t3QimhgX6weGCL0SzLIhzyWWvPZrQkzFv/QiRC5mk6S82ILlI+Z45n8xOHT7BKj2PKPa3KsC0P+9l5LLJard6fQEXuIiW5ekJRUESzwPF4YmxB3Pvbh1HgVLogeQUZ+RJygI= 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 IA0PR01MB8237.prod.exchangelabs.com (2603:10b6:208:48d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 20 Jun 2023 09:26:24 +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.6521.020; Tue, 20 Jun 2023 09:26: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 Cc: Chanh Nguyen Subject: [PATCH v3 3/3] ARM: dts: aspeed: mtmitchell: Add MCTP Date: Tue, 20 Jun 2023 16:25:37 +0700 Message-Id: <20230620092537.20007-4-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230620092537.20007-1-chanh@os.amperecomputing.com> References: <20230620092537.20007-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SI2PR02CA0023.apcprd02.prod.outlook.com (2603:1096:4:195::11) To DS0PR01MB8010.prod.exchangelabs.com (2603:10b6:8:151::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR01MB8010:EE_|IA0PR01MB8237:EE_ X-MS-Office365-Filtering-Correlation-Id: a1129a9e-8afd-46e6-8e73-08db71706a88 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XosDScFzosVWpDUsEWtdBlS4eDrJzD/4MQP0GeWgamowlvxOQLGnh3edpKhe2GqiGjRRb60iK5HH0AxpB58zFtjgzueUpMRypnALRLgLxRMM92WkohGWraFPKgCEjjGAoHk879MkbS8HAajnkvSujdYgvh5RRcPRR6dyR/py1MC5heJpYytWv0Zo5cwouHRZKwdbbxNImgwqZx+ju+7aalcuWpHYgfAKvsJrbZq4RvUzaX+bWsZlHlAO8/eQQCEhWVSuKYH9ygNFjxxOoVKXemWSvZdYbdCR5kGk3rOwBNqK+DqhmwKtEADmUx5fmyWH7zv6NuB/JbAeN1k6xDKFE1dJLe1AVVOV+lCeVELoI8KQdn8NkP/7chyrLaVpGBjOm5eDYGhp1C8uYTuH5hrwLOMnOwZXgLVFiBmMXbIQMCsNKZLYVGtKxdaIangfavr/v3k3rAGX/E9SjnhGwLEEnMWzwWbRvE01pfn8ftdlFvfNvwgq0WTn5W+gntUYJHU7A3tj4AdwdoyMNxHgCjZguj1H1gsChaIyhsn6C5V5xuHHyoVhpefIysreD3gBKoutCN3P7fNo40c/cuk1YhLsRiqVJRbjWBzZs6Gor2Gltdh44si1mttfCTQSqyS43QAg 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)(396003)(346002)(376002)(366004)(39860400002)(136003)(451199021)(6666004)(6486002)(478600001)(107886003)(1076003)(6506007)(52116002)(5660300002)(86362001)(4744005)(2906002)(110136005)(8676002)(41300700001)(8936002)(66476007)(66556008)(66946007)(316002)(2616005)(38100700002)(38350700002)(83380400001)(4326008)(26005)(6512007)(186003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6Ememkd3bNkMp77jjxTEJOS5+96aUegFV/wqZXE89C38hqfUvr9ybMfhYB2uS6XUz5gkG0pTkV/vKHb0oLvdZyoNw8nrrlEiYs6Z9Nov1IJe6TcXSlKeJpWD6uxo9lDbywmLz6Ef9BpQr4U1dsrpjV/2lzIJwmHjIMCMrYZr+Lh6jpTCwU8TZul0ImKS23Q/RD+5EzYYEql31BPzQr7X/iLq6b9rm2se91uPcXkaFPB5CrMYTq+BVxN3uNiD4Dut+xrxKMKTMn87HxDSJUU73m2L6gRo81AuwOBBG9+RiIlOJGA3lUwSiqAu3jMkuiuXR9JEGHa5zxC3Odfrv+ORuu8VowM9cMpXNxHQhE8Isq2CrTY4vL7q7X3crgH6pNyK+ADjrCtukVj6AAJflP6cl4bsqxXE8E2TspE3DwU9jcVmKqgf4R6NiTKS+qY+D17a+Vaq4HK5dDmTd8eDr/ahqGpqtENzrbIahg5MFxPPcYZUAJwGExHppRFm9kYPQZuNooKnMQxtkQAgadBCh8s+je6fz9IQ6KSSEDHlXPc+T6aggYn+GapbUt0amizexQXB86YtUtqgtyfib6Gkaay9QTB4bFdqoyGVH++d+t25gxbvqoNIgL7lSSE2sOXYNGA22E0QJDPChPfUIY81+h0Pgkb6SXKZPbALT/vjV/9/RXH9T1OxpDNFeOl2FsF+I+T28re5T0G58Sj3GZ1ia7NJnwdbay+hU6HSpNzSXGmkG5F1iTydEz7Y07DvYw8rItDV5z+rDFQ3SQfTDr44QXC3+ziDIQuIN+ZeVxhadig03hmkN2JAkdJN89QF7XmU12Qm2U/AP/ZlKckXIgJiMb39xOB81v+w38RhHd0k/DTudQ2dC0FjsoMOEmEk/vp52f1YeL9gr36zT2et7jQn9Q9BSbQgxEPn4SBUtdLnyfXGtcwWyezBIJ56vecmyN1vDBviqOkqpPZOI22QdnWLzc5yJdDYbMlAg1Zh0W/wk1Des2lqkRBLQ0hKgQkn4JyvhyV2iMm7J2JgURuebp4x9CD8+hluLxp3KwCErgIGD2FVt6rrKgE3nP6tRf7in/zd+/w3n+8yGYHlZkPdIfDMb62NZFaQVo/pkVtTf+wNylV1/1CGcYC7aIGFXMOqFJRjFC9vVJ/JJqQGdedT7EsxCEHaYIcKetfLz19+7BpGKk7rlL01iTwaQYcCzJ01QhPmx2E/0czfiGHbJz5Mkr4J1/Z9VRa1ljK0VKAuZ/yy/kzZn9+Dxnj9lbMQ0hLnWyYrcnPUSQb5TY2ICVIF1b4f59w+1VrK8Ki45Ocq7IEvvSjkti86ct/4vc37YfOcWwQVjFX4L25X5fvy4kOKFHTDd3xURPyY7iyAxhGeqyLvN52ngLMCMzxM5rAeD+GqXX4kDhplh18bfoonQJpkyqDexlgBbDaabEGzVRlAhKtH8SThwmROoMQSoVfi7GSUO6YP3lCCJo3DRRfVYIk7aPmQ2z25ExBGff7U7e4Imv25LiJ8l64XPcjhHpx/b2Y0ouythkNxhO6mo50Oig93k4W+ZvDJCZO3N+Kj1A+n6djbt8kL+iXhAPF0IOdgk5F7YzwLmSyKe3zCa1QKOGgVihKzr9intMCNiINTXkpiCASZZaXe8Ns= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: a1129a9e-8afd-46e6-8e73-08db71706a88 X-MS-Exchange-CrossTenant-AuthSource: DS0PR01MB8010.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2023 09:26:24.4020 (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: 1PemejnUr7qQT8KOrETpIKjFZGazdbRXdDk9KzbIAMiqlU6kMbK55RLq0QxpBZb5omDGW+sMQ338yDMOvsLIH+Qtc/u33KbDvWcN4OhV9UuWtIzkybjTz1HyaWpYk4VW X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR01MB8237 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230620_022631_173140_EEF176FF X-CRM114-Status: UNSURE ( 9.58 ) 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 v3: - Fix build error [kernel test robot] Changes in v2: - Update reg for mctp node. [Andrew] --- arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts | 8 ++++++++ 1 file changed, 8 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..2f240a88b382 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts @@ -4,6 +4,7 @@ /dts-v1/; #include "aspeed-g6.dtsi" +#include #include / { @@ -366,6 +367,13 @@ &i2c3 { status = "okay"; + bus-frequency = <1000000>; + multi-master; + mctp-controller; + mctp@10 { + compatible = "mctp-i2c-controller"; + reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; + }; }; &i2c4 {