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-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TRTEE8S1Mvn+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 {