From patchwork Tue Oct 19 06:01:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quan Nguyen X-Patchwork-Id: 12568633 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61F83C433F5 for ; Tue, 19 Oct 2021 06:04:28 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 2C3AB611BF for ; Tue, 19 Oct 2021 06:04:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2C3AB611BF Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=os.amperecomputing.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=qOMj+ibt3r6PLmb/QU9j1uKQSB8XwFgwfs36NkClIRw=; b=L7fR+c1XZ8EmnT mwUFlMff6w+KIes9k1NL/BHNSIhxRWrDJ+u1DFHKa6PjVDPvC/UVBqY/e+3ntz2v2WSXyk6UvCtsM C/PcVFWULzK7cfnFPW7nEjsGEdlCOXpozl0+JXkLuAn4BMchruecMaKJtymYq87vOQwwS0mHhQeaR HEbhuOhUyJpHsjTkszdKwZwtUqfWGsSL0FKDLYFNpHGN+3TxeUgCLW504Zc4PHckErj79zSr/kFXs Vw8qhmqxpPrioruNYC7T8jFaejTf/o7r8jJvkwbaboxjUmgPL2qGNtlY3/eDxEkuo8N8CFuk8kLOW DkMSxVaGeBHP1sj/YUJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mciCs-000EnY-7W; Tue, 19 Oct 2021 06:02:38 +0000 Received: from mail-bn8nam11on2092.outbound.protection.outlook.com ([40.107.236.92] helo=NAM11-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mciCd-000Ehy-Qx for linux-arm-kernel@lists.infradead.org; Tue, 19 Oct 2021 06:02:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QLsNn+3aJXpi5De3l5K7lMLu4IzAlFoa39vF0JZeKB90n8OvdOdB2rfwP0duqrFReUSgDFQiMuULnWRcfL+mxwsNGBNtMMCTqKb86w6w2v0fC9Br5HSisk35X6r6rFYLueuQfOVGvXNn5CGmpxZAmqcd9Eend64QzWGLGyK3fu7AEqnNuV51q2/pwlxze68zEKcPNchxGxEKWqC4WhfJR6KBAfmC5IRq37p1ZDsZYM4hlHWXGAEwjvm6wjHxXmIgZg+zOLNmimjmJEXvrGenU64jhFASh2+3JHu/YqvfVfP+5hFM0rcD363Ae9Pzq7a2aokLWgdL0B+8Op/8dlAT1w== 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=Z+pHeM5v9LBmTpc1CWSZ0bvBn8uFwJmBmWPVsn0LOSE=; b=Xo5eSRoKY7m/DnGySKjkh1IcCsPfyR/CHFO17tfMfWLO+U74mBGCJVoLEM1k4jRPbLBrtJdItBKvOvEOcSxWDsG5b+sWPKp7yyQHgj1Bccu/Wwve6yQaqMBInGlh5d2w7v6e9Wi3fn2wuPzaUNYq3p/smrhtjCxwpM44t+ZZgUhwejTYMUPZdRu/r12MWmTnfuyjXfmYsaogWOGOKUDkcjhhSGLAfzGKzhMQyYfphncOau0W7dwr6WarGStY/lGSl12RsNOvxGgUZeqcUVYEhOesomXJla+aHpt9n3Bos0K2wQqkdHRw9dkAqYMxi3eDuOYr86dC9j8Zz42X87Hpkg== 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=Z+pHeM5v9LBmTpc1CWSZ0bvBn8uFwJmBmWPVsn0LOSE=; b=Vo2/tuhD3JU+kGqjmMFgjdPOfH9GzTZCDl1boDEfda3fBpN6fBtOxWC13r+VzKe/1MkWqUuTJcfu6l+dUCEWim1oRfhwN+3v9NzKVAS61uK0qlVf6zGndvFyAap8kddkcnJ3ODuspFMa0UVqSX0ZBEOnPMG2gbfRs2FW2pETcew= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=os.amperecomputing.com; Received: from SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) by BYAPR01MB5062.prod.exchangelabs.com (2603:10b6:a03:7f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.17; Tue, 19 Oct 2021 06:02:18 +0000 Received: from SJ0PR01MB7282.prod.exchangelabs.com ([fe80::f14d:21a9:9ebf:2924]) by SJ0PR01MB7282.prod.exchangelabs.com ([fe80::f14d:21a9:9ebf:2924%9]) with mapi id 15.20.4608.018; Tue, 19 Oct 2021 06:02:18 +0000 From: Quan Nguyen To: Rob Herring , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, OpenBMC Maillist Cc: Open Source Submission , Phong Vo , "Thang Q . Nguyen" Subject: [PATCH v2 1/3] ARM: dts: aspeed: mtjade: Add some gpios Date: Tue, 19 Oct 2021 13:01:53 +0700 Message-Id: <20211019060155.945-2-quan@os.amperecomputing.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20211019060155.945-1-quan@os.amperecomputing.com> References: <20211019060155.945-1-quan@os.amperecomputing.com> X-ClientProxiedBy: HK0PR01CA0059.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::23) To SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) MIME-Version: 1.0 Received: from hcm-sw-17.amperecomputing.com (118.69.219.201) by HK0PR01CA0059.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.18 via Frontend Transport; Tue, 19 Oct 2021 06:02:15 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f555f56f-5ba4-4007-e86d-08d992c601d8 X-MS-TrafficTypeDiagnostic: BYAPR01MB5062: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:785; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lhYl7qgwBiN2UuPB+4qjV7Pg9fE4mWm/xTVxRWH62AzNflpPLN9RmpNYeMs0aqR6HIh16juZYnNUXAIG+zUTolgGfAUNb01Ze5zr4IHY16Z3I8C1xqb3SnRtY1YvcWIoKdTu/A3p1hL+M3+y8KQped7LZfYmmwc5II7ga49dA2M8ouuYszFTYG49Sjylkl+VGKzE/f7+H1IAauuROnukj0njSOOnoXohkkDgczcerMxiNrmgHeEER71v5LPueR3hN+vMyobGxmDellZgZlqki0pF38zuqMUTmqOYIC30OvRmUZz2MXShuZVJn0S2NZS9BikPIOE7hjOX9J9MJgGjIcX7Ms+dv5SfGz1kgbmPzH6id8cTMm+falE+RzDt7Tkyugjdvbc6AZImSzSKyLBU2FSnS3K+YSzaUITfHGWCFimx9Pyw7hqDvDRURShGCfiRRoaNyPlqid5hTZ/8YQ9jpEVGUqC71OB86582m4IqfKVHfkz98ZaypEGGRiq2sRnbYtRQstl37SIa2mS4TMM9W4OL8j0Rym0e4YpdvTCfsf/XpxUUxbRkOkn4+fz9fgWoSQEjfQ7H9pBbeJggpXuq7ctVCVgmQ7fyiTyq1cKoNtiT28B+OViS1GVD+qkIFQOf4ZlzvQl0Bzifdq0bWqH9qQx1XYa1RDdrBdMkyXcTeVkfDWHddGbgTSJdg5Bw5ZW/gkNhA8KxXuAOEAxEBP0bIQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR01MB7282.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(54906003)(6512007)(110136005)(956004)(2616005)(508600001)(66946007)(5660300002)(107886003)(66556008)(6666004)(316002)(8936002)(2906002)(52116002)(38350700002)(6506007)(38100700002)(86362001)(6486002)(83380400001)(8676002)(186003)(66476007)(4326008)(1076003)(26005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: HXNDnYBZS/a0rXqdRdq5gz0mrvS8XVOGzokDM1pmXpPXXwfStUmUttd3Sd8Jma6cUApj2deSnOGkD3h+1PMml4aAzHeqJX71/cEh9a/8DiFyM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6T63aq5nuuTen+ILJlzHRMoI3B2fsTFNIkXV6Zy2t8lgnl8wRVW78zGPYlTZGzKz668E7O887RUVFwOxO02cKCd8oNLFojuqoiTCtR62hXlXiqpPdomKjgrn4B5tfFE9xDyY0K4rwi+1E X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: f555f56f-5ba4-4007-e86d-08d992c601d8 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR01MB7282.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2021 06:02:18.4237 (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: TShy+pGIHUJ8wUxB8zqbaQ5CBMNASVyMbFII3PqXK1nDwCYH/6fNg/N3l7x1cNP8l4sKV22AhF9HDLBy3tfhMxzC0Z2geqjWxTWm1Ms0Fqc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR01MB5062 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211018_230223_898269_658E7963 X-CRM114-Status: UNSURE ( 9.81 ) 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 Add S0_SCP_AUTH_FAIL, S1_SCP_AUTH_FAIL gpios to indicates firmware authentication fail on each socket. Add gpio RTC_BAT_SEN_EN to enable RTC battery adc sensor. Add BMC_I2C4_O_EN gpio to go high at boot to enable access to I2C4 bus. Signed-off-by: Quan Nguyen Signed-off-by: Thang Nguyen --- v2: - None .../arm/boot/dts/aspeed-bmc-ampere-mtjade.dts | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts index 57b0c45a2298..3515d55bd312 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts @@ -86,6 +86,18 @@ S0_cpu_fault { linux,code = ; }; + S0_scp_auth_fail { + label = "S0_SCP_AUTH_FAIL"; + gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + S1_scp_auth_fail { + label = "S1_SCP_AUTH_FAIL"; + gpios = <&gpio ASPEED_GPIO(Z, 5) GPIO_ACTIVE_LOW>; + linux,code = ; + }; + S1_overtemp { label = "S1_OVERTEMP"; gpios = <&gpio ASPEED_GPIO(Z, 6) GPIO_ACTIVE_LOW>; @@ -590,7 +602,7 @@ &gpio { /*Q0-Q7*/ "","","","","","UID_BUTTON","","", /*R0-R7*/ "","","BMC_EXT_HIGHTEMP_L","OCP_AUX_PWREN", "OCP_MAIN_PWREN","RESET_BUTTON","","", - /*S0-S7*/ "","","","","","","","", + /*S0-S7*/ "","","","","RTC_BAT_SEN_EN","","","", /*T0-T7*/ "","","","","","","","", /*U0-U7*/ "","","","","","","","", /*V0-V7*/ "","","","","","","","", @@ -604,4 +616,11 @@ &gpio { "S1_BMC_DDR_ADR","","","","", /*AC0-AC7*/ "SYS_PWR_GD","","","","","BMC_READY","SLAVE_PRESENT_L", "BMC_OCP_PG"; + + i2c4_o_en { + gpio-hog; + gpios = ; + output-high; + line-name = "BMC_I2C4_O_EN"; + }; }; From patchwork Tue Oct 19 06:01:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quan Nguyen X-Patchwork-Id: 12568635 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56D75C433F5 for ; Tue, 19 Oct 2021 06:04:46 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 236C860F25 for ; Tue, 19 Oct 2021 06:04:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 236C860F25 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=os.amperecomputing.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=qa33uNOfTJPXg4US2udmwHlwJZ0gKAbTElfwnergVUw=; b=EgG6BtHGcRfANf qyUtVV/ob7IjBPsMViHKPahRQuqLRXCqfwjWWcsa9XKEYx1sgnp7xlP+gPoSJnt0fNmbo/MKwjXaQ tkiMCTRYJx/PYsFRPFqqpbMHCHQihFumvn36SJnMs2MKXD7o7T9Ye7u76fsTvk73b201J9d86Hqzk oEN2Yn3XnWjhE4gK6tZQssVbWDTd5duQXw2SY94zArVBdfU8Vwd2L1Wwt38HyUtX/VGYTo0TGok1Q SVEAOWiJiOc8fES6TY0T0XBBsVg1+/wCWVw7AGaBvis90SvrMj/NkCwxyuyPnz+hUL7tRtgQaUZtS oLJYB2JS6CY7OleYIg3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mciD5-000Erl-9X; Tue, 19 Oct 2021 06:02:51 +0000 Received: from mail-bn8nam11on2092.outbound.protection.outlook.com ([40.107.236.92] helo=NAM11-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mciCf-000Ehy-DE for linux-arm-kernel@lists.infradead.org; Tue, 19 Oct 2021 06:02:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JAiWZ0NjckaArmmnPE2FdxofdmYAWgBVDq58RDEnYGRywnUU3fjTzhiMOJhny3wVtw3yJTKVSrzct9gdzQP6FEQMFQPHOTtbYU462hSlZiNlKSS+q4u/DId4XeI3Vfwcfm5QhqGGX60rvPFGkpYZqjmZLSEtUNxpUeRCLRHKMmrIsXcFM+EnFpHv+cYOu8CLhSeOootTRJi8cngHvWWpcoNEV5RmvWJOaiqG7ZxEk5xdw/f1zdPA+GmSzr4WU+zc/UhUioX3Jw/5VoDbSJj/o8Q8DhCnqQBxAC/UH4ZfEk86dKGAN8LJvWm5E2Xm/PWyOfmtytwxOIGeU4IZPSl9Hw== 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=2QPG54lbIU+wazX7K1TYrfVbDdH3f10oUSnKPcNHGD8=; b=aW1O5+Dqvkpjtk85tPjxqG1HL0DSzyH3Z2n5ddBRgm1PsSum94lTCzss9LnLFPwJqk7VI+pZHBPwFLiNlh/WOD8xwJrEak++q9Q4AlWXTrx3RIs7+SlqJ0yLcr2oksLRd5SCAlRqmXIb0mpZTmH5gHe+DdZCwJBLNb+65p2wDv1N/PRp1w+r+HXg526Sy9YweaBpIfmyiwVDCuRcFRyJx26MxpkJhBUSCLqYS6EjqtTYjV3wZsiR4I8gSNKEXzYe9MvtYK36H8logojNRdWqvULbpbrkDIRceDUD7BG7/+QT+9kCYuw7A5kN8hR4F93y43+1X1436/0Uih47zXUUWg== 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=2QPG54lbIU+wazX7K1TYrfVbDdH3f10oUSnKPcNHGD8=; b=FhTi6cIVgC6DG6geM1+yUJ2pHa4OqhtVxxMkXjzxh/X39boZGaI39ElpBxI+bCV7fcq6R0FWZhiYYP6lW8iQx56VfztmbTnqVKVxNyWpwDIwU7YQkP/D+8xv4+NfOfvF+/sVxoL3hlxMoc+D9JM3rQsyR7NUq8FidWC80fJQB0I= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=os.amperecomputing.com; Received: from SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) by BYAPR01MB5062.prod.exchangelabs.com (2603:10b6:a03:7f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.17; Tue, 19 Oct 2021 06:02:21 +0000 Received: from SJ0PR01MB7282.prod.exchangelabs.com ([fe80::f14d:21a9:9ebf:2924]) by SJ0PR01MB7282.prod.exchangelabs.com ([fe80::f14d:21a9:9ebf:2924%9]) with mapi id 15.20.4608.018; Tue, 19 Oct 2021 06:02:21 +0000 From: Quan Nguyen To: Rob Herring , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, OpenBMC Maillist Cc: Open Source Submission , Phong Vo , "Thang Q . Nguyen" Subject: [PATCH v2 2/3] ARM: dts: aspeed: mtjade: Add I2C buses for NVMe devices Date: Tue, 19 Oct 2021 13:01:54 +0700 Message-Id: <20211019060155.945-3-quan@os.amperecomputing.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20211019060155.945-1-quan@os.amperecomputing.com> References: <20211019060155.945-1-quan@os.amperecomputing.com> X-ClientProxiedBy: HK0PR01CA0059.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::23) To SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) MIME-Version: 1.0 Received: from hcm-sw-17.amperecomputing.com (118.69.219.201) by HK0PR01CA0059.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.18 via Frontend Transport; Tue, 19 Oct 2021 06:02:18 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 99e70cb5-d46b-45d4-b7c8-08d992c6039c X-MS-TrafficTypeDiagnostic: BYAPR01MB5062: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:207; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LzvcrzRXZ7iBerG4CJhtfm5tHkeFRfp2VS9YpcqRFCX/s00TqLQQwlbI7LEEKx6NuHLlCsga5Y5EeUKo3CbnzrrjOSfqOTSIo/IoWrEzMkN1PMzfJtsNBQ3GOgLsgQQzsjnEIEgmBMpJCTKcVcLO66I6isw6ww3ukyazXoIR8GWx9kNsaWNYgE6I0/gUl0EI5VDbvI3czlR9wjwwPPgUAExtxMLuxjcQl6llwTiFL3at4vPXR1z3XEe2fc31T99mi2gGgMhKJHqluaGfap/EaTqaOyVNFy4vo+sQRYux/At3ucd/hUCT7MdXFSds1z3BmGoM8ep/isYeIpHlw5OJOLSivfezPgNi3YgqrWGgmBLR8bvbQXF5P0RUCwzZz8JYYFeM8UOMRynsLdMeNY9QdYqkBAkRt1A/WOWfY1WbtuqwYL4Nro/a3icaKIMwNZSJZRkOKyqHAwUvWoKmsn2w3BUCzdkPxqg+t93eZ+7GppvjvgIU8kdl1Agj5V2G1tSJeAACh0nBqd3572CgRyRSZOBOZgUH1qR0sBnyiYqHmJ0rQAE9xLJkzcvlOAG+F5aqbegLuNtDWUwfPd0UEKEnSJSiigtpxi7lot1Y43RrGaEkNPVvZpVCxxUI9zTJC0RUxHHDM1ARaJvml/+cG5oZq/aIbOo6+e/VVO1ID9tFG95g5+lz0Bg4y6w6xZGUVPyQFqjM7egjqKz/c3/5QecRZQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR01MB7282.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(54906003)(6512007)(110136005)(956004)(2616005)(508600001)(66946007)(5660300002)(107886003)(66556008)(6666004)(316002)(8936002)(2906002)(52116002)(38350700002)(6506007)(38100700002)(86362001)(6486002)(8676002)(186003)(66476007)(4326008)(1076003)(26005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: JHFrZ1q9phwQ4V/Dgg+E9l6x2DqaHc6fqvYOc7i1/LcMzwKow2gbT/HoGGfQTyoUPKTwv72DMraZfLa3H5F/mSu3cUlMqUEMdSVoDwU2VwarhVBHfLMGGTg7LQqPTtuQIoBHwZlTDmh3TRaD1AM4g/ataztABzi7M6SZvVv7w0/su/aY4yn6PMHhsynJ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FQqL9gdvQgscBKra7bF2AyMnR81jx+I84T/5xdnDBsTTGi6k5LSVRIK2Qtedb4lF6Jr76KgI0+tDW X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 99e70cb5-d46b-45d4-b7c8-08d992c6039c X-MS-Exchange-CrossTenant-AuthSource: SJ0PR01MB7282.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2021 06:02:21.4046 (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: qnbAnFFf2G2Dzdm7/N0nkFLQivX+oWcXO+/I1xkVq+6h59DKiWMwbG0YoxmsSeIbeOVaF4lc9+G97e6fasONLDa3phRiXG/PcrKe6FKu9Pw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR01MB5062 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211018_230225_495459_D45C8CDB X-CRM114-Status: UNSURE ( 9.64 ) 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 This commit adds configuration i2c busses for 24 NVMe slots and 2 M2 NVMe slots found on Mt.Jade hardware reference platform with Ampere's Altra processor family. Signed-off-by: Quan Nguyen Reviewed-by: Joel Stanley --- v2: + Introduced in v2 .../arm/boot/dts/aspeed-bmc-ampere-mtjade.dts | 258 ++++++++++++++++++ 1 file changed, 258 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts index 3515d55bd312..723c7063c223 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts @@ -7,6 +7,50 @@ / { model = "Ampere Mt. Jade BMC"; compatible = "ampere,mtjade-bmc", "aspeed,ast2500"; + aliases { + /* + * i2c bus 50-57 assigned to NVMe slot 0-7 + */ + i2c50 = &nvmeslot_0; + i2c51 = &nvmeslot_1; + i2c52 = &nvmeslot_2; + i2c53 = &nvmeslot_3; + i2c54 = &nvmeslot_4; + i2c55 = &nvmeslot_5; + i2c56 = &nvmeslot_6; + i2c57 = &nvmeslot_7; + + /* + * i2c bus 60-67 assigned to NVMe slot 8-15 + */ + i2c60 = &nvmeslot_8; + i2c61 = &nvmeslot_9; + i2c62 = &nvmeslot_10; + i2c63 = &nvmeslot_11; + i2c64 = &nvmeslot_12; + i2c65 = &nvmeslot_13; + i2c66 = &nvmeslot_14; + i2c67 = &nvmeslot_15; + + /* + * i2c bus 70-77 assigned to NVMe slot 16-23 + */ + i2c70 = &nvmeslot_16; + i2c71 = &nvmeslot_17; + i2c72 = &nvmeslot_18; + i2c73 = &nvmeslot_19; + i2c74 = &nvmeslot_20; + i2c75 = &nvmeslot_21; + i2c76 = &nvmeslot_22; + i2c77 = &nvmeslot_23; + + /* + * i2c bus 80-81 assigned to NVMe M2 slot 0-1 + */ + i2c80 = &nvme_m2_0; + i2c81 = &nvme_m2_1; + }; + chosen { stdout-path = &uart5; bootargs = "console=ttyS4,115200 earlycon"; @@ -445,6 +489,220 @@ rtc@51 { &i2c5 { status = "okay"; + i2c-mux@70 { + compatible = "nxp,pca9548"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x70>; + i2c-mux-idle-disconnect; + + nvmeslot_0_7: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + }; + }; + + i2c-mux@71 { + compatible = "nxp,pca9548"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x71>; + i2c-mux-idle-disconnect; + + nvmeslot_8_15: i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4>; + }; + + nvmeslot_16_23: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + }; + + }; + + i2c-mux@72 { + compatible = "nxp,pca9545"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x72>; + i2c-mux-idle-disconnect; + + nvme_m2_0: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + }; + + nvme_m2_1: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1>; + }; + }; +}; + +&nvmeslot_0_7 { + status = "okay"; + + i2c-mux@75 { + compatible = "nxp,pca9548"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x75>; + i2c-mux-idle-disconnect; + + nvmeslot_0: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + }; + nvmeslot_1: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1>; + }; + nvmeslot_2: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x2>; + }; + nvmeslot_3: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + }; + nvmeslot_4: i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4>; + }; + nvmeslot_5: i2c@5 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x5>; + }; + nvmeslot_6: i2c@6 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x6>; + }; + nvmeslot_7: i2c@7 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x7>; + }; + + }; +}; + +&nvmeslot_8_15 { + status = "okay"; + + i2c-mux@75 { + compatible = "nxp,pca9548"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x75>; + i2c-mux-idle-disconnect; + + nvmeslot_8: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + }; + nvmeslot_9: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1>; + }; + nvmeslot_10: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x2>; + }; + nvmeslot_11: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + }; + nvmeslot_12: i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4>; + }; + nvmeslot_13: i2c@5 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x5>; + }; + nvmeslot_14: i2c@6 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x6>; + }; + nvmeslot_15: i2c@7 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x7>; + }; + }; +}; + +&nvmeslot_16_23 { + status = "okay"; + + i2c-mux@75 { + compatible = "nxp,pca9548"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x75>; + i2c-mux-idle-disconnect; + + nvmeslot_16: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + }; + nvmeslot_17: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1>; + }; + nvmeslot_18: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x2>; + }; + nvmeslot_19: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + }; + nvmeslot_20: i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4>; + }; + nvmeslot_21: i2c@5 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x5>; + }; + nvmeslot_22: i2c@6 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x6>; + }; + nvmeslot_23: i2c@7 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x7>; + }; + }; }; &i2c6 { From patchwork Tue Oct 19 06:01:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quan Nguyen X-Patchwork-Id: 12568637 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8795BC433F5 for ; Tue, 19 Oct 2021 06:04:55 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 5561D611BF for ; Tue, 19 Oct 2021 06:04:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5561D611BF Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=os.amperecomputing.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=owcwhe0IwnNn+Vw2+C/ijlztOYK6U7TzEMwLv7URC6U=; b=lma4vdF5NI7UjD /BtMDv0nhgJp0e3DFx9FMgOi6MdauaL4r4oJp4uderyRoB/GeqGY5A2zFQ8F4cGr0hSl53z7HCfGA fyeplpVd1VSINPVkl2dIbwLljsRPi1C/8GbEJO8xlJGr/+vUksqCloTpW3+1gIC1BLbxWYHj1NeZ8 44YAQ3ImMmXnJMOe0F3JRM02G6q7tl6cE1GpP2WfcB7LFY6OrBiZA8SoEjAjXom5BAx9jzOhlTkJv SLrjgVkH8rm/bvGSLjwE/sIrX58jybKf1FEtw/JgHOzfdf+/SSG68S3IFTLp4xYxFYctd6ogFKoHO kn6XUm1rTKgYJTuFhBPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mciDK-000EwY-Hs; Tue, 19 Oct 2021 06:03:06 +0000 Received: from mail-bn8nam11on2092.outbound.protection.outlook.com ([40.107.236.92] helo=NAM11-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mciCh-000Ehy-CS for linux-arm-kernel@lists.infradead.org; Tue, 19 Oct 2021 06:02:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h/d7nBWtC6zkYZ730TtIHCaOZdcQYsc3UeMdbFi5XCO6T3oELP9havpouwrrrew+vfgGcZjs0KR28ECbt/guR4dOq0ZPRBQXvWNr48Fypn08iljbzuznA1WCiYqdkHAs+ZNi3VZ00g3G+t5GPLZdKk9pmqYl5NPM/U5MFHjN8e/22hZa4Zzzfs9Dx1mdJXB9LQpOG9Q2G2k5IJHx4OMa20E4DbFO/5oTSr9ADTgRHfhY3DWQn9Aw4ml+jur4c7Cvm9r/bj9jND60gv1EHBYRN+YbFvouYN7oGSa7bVahJcp7zyWayGaCEK9IHOFEVOShSyHi+kKu10uJZqfH1BQfzA== 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=hDtbPCDHO0b7VTSOjTvs0tCslLIwqtqh0EI7JIMAG3g=; b=Gg2ONJWd19Zq+LA14D7JeoUejcxyWuQNn+FdjnRqrMuoAzl0XGxQfpaV4wV0KMTLtr9HwJMHOqnnfPYe3ASswlMT4oBTTBXtcod26Obi3IY6zIf9qXA3b4NOb6KJEBahZMq88/5VGeRdS1UGqkUXPpm185rRrcWS9Iql8cj/tR5KCbAJUi8rn3zy+35vlRk1ap7dJoxC+NRjXQb/Ab7LVxcwzdiGgLlHcXwWaNpimZGBhWk5Apaio8ulpinErikXoHAH6n35BrxK7BvUZexEHKzvcPoFbgrnu9MUpcmQtmjy1JdyAYWQvWvkd6cJ+1EFOAmXKnt6/9qinaMedIKAcw== 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=hDtbPCDHO0b7VTSOjTvs0tCslLIwqtqh0EI7JIMAG3g=; b=AWUFF8NuFN0e7pJsl4stuYk+uPxpzi0LqeWYqz8SnAe/4kSRUrzfoZUT73Ui+2u8HMG0a5zS98c3IxzjtboWLFydUTJd3f4uDvL/IweN89VtcBxMNFCF9BBOhi5izWmefX8yI7UCHpfx2ziueAP9wJjdTfZmaFJUuixg6fF/ITY= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=os.amperecomputing.com; Received: from SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) by BYAPR01MB5062.prod.exchangelabs.com (2603:10b6:a03:7f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.17; Tue, 19 Oct 2021 06:02:24 +0000 Received: from SJ0PR01MB7282.prod.exchangelabs.com ([fe80::f14d:21a9:9ebf:2924]) by SJ0PR01MB7282.prod.exchangelabs.com ([fe80::f14d:21a9:9ebf:2924%9]) with mapi id 15.20.4608.018; Tue, 19 Oct 2021 06:02:24 +0000 From: Quan Nguyen To: Rob Herring , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, OpenBMC Maillist Cc: Open Source Submission , Phong Vo , "Thang Q . Nguyen" Subject: [PATCH v2 3/3] ARM: dts: aspeed: mtjade: Add uefi partition Date: Tue, 19 Oct 2021 13:01:55 +0700 Message-Id: <20211019060155.945-4-quan@os.amperecomputing.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20211019060155.945-1-quan@os.amperecomputing.com> References: <20211019060155.945-1-quan@os.amperecomputing.com> X-ClientProxiedBy: HK0PR01CA0059.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::23) To SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) MIME-Version: 1.0 Received: from hcm-sw-17.amperecomputing.com (118.69.219.201) by HK0PR01CA0059.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.18 via Frontend Transport; Tue, 19 Oct 2021 06:02:21 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4a1c02a3-da44-4b4b-262c-08d992c60566 X-MS-TrafficTypeDiagnostic: BYAPR01MB5062: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1079; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FSkTQxg8haEGJoiHX79XguMrtC5lhNiUoDPFgPi9mnqfzqG0B5k2T/jSvkw/V+jzbRxoPTZtiOhX+xXyv4nmmGkk+up59XD6rLNGQ3+uqoyKVmp469y3SYwBpFfzVDiIMq+xliZQ7lRlBKvS/9deSXWfZ8RIHUsVst6wADqoZjIYq42JQ5c4dIHL0ynlCyH9CVCNmsnF2BU0hH6GzQ/502DQ88wlwGyEDtWu3FC0/HoEYN9qe+CxQ5GyBxGnhPbv+3y70w1CC8MIqLGQnm72tuzJhf7qWBp8j8L/A0n5T36ylyZSM+ivrNi0G9jEaUHKmeRVdno0lsltEsDpGpEQj1/s0pJUo35EyL348cPEFRCeiC4cgX5hkIO+GSPjUSpzAoyWl4Ce3K8O6n2X02ByT47f9dYe1BQrwiQ7B3BQYA02k1ttqy3tW8iRXbxGMEBReka0DnedVLzWcGxKTu9yBBHGwXpN0Gobq/6YA1EFCKs4UB2gTr1LGlVXb1NKuyprvRHJiPihePhxGMW4DtZvVWVdl81Yjl5X8PUGlpo4Sh+vy0YvWByivtBL0eqIsAW9XN7GF80PqpaA+rhfmSBy2TINnpTYmzAsR71YXCr6cs4TAg0kD94bzadynaGnCc6tXYS6o5xA7vyDbgMmha88xt5lz21HbG0q/08FolDNEdZTaR60QsLb5STc/T1nr8mXE3cAcyD500/mJN1r9UoMfQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR01MB7282.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(54906003)(6512007)(110136005)(956004)(2616005)(508600001)(66946007)(5660300002)(107886003)(66556008)(6666004)(316002)(8936002)(2906002)(52116002)(38350700002)(6506007)(38100700002)(4744005)(86362001)(6486002)(8676002)(186003)(66476007)(4326008)(1076003)(26005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Yd0rJsGLJa/u3DAKbrErJxI3B5G4A4VINACpWpc5nyPs3e8eUaIJu2OdPARJIP6pyWkcK/yBB0yBtXwNXUYigM+oZIpzWdWkIFXGrkatZl2HF1s00BJS9U6fZuM2SzAEzFo/4HQjW2Y2XRe//BUcLZpfk0D6cFgfX0589Uyu7carRnBzvn44uRsZtgL8q2QKMR0rB7fdSFOlGFxEn4NZCMgNAxAL7Zki6iNrMQuOns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6vOmTDFYK+YKp/HQiNVBeBtsXBpSPX49ftAhuCm3zinn X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4a1c02a3-da44-4b4b-262c-08d992c60566 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR01MB7282.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2021 06:02:24.5259 (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: llPh7biSL41yEwdxLbQ8I6nZOBlI17ffcigarhlgJu1E77ElhSFmjRUjeNX7n9z6ox75TkgfY7+iY3MpsuKlHZMHi+xkwoiXSFWCIXqYrzE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR01MB5062 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211018_230227_489166_A6288125 X-CRM114-Status: UNSURE ( 8.74 ) 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 Add SPI NOR partition for uefi. Signed-off-by: Thang Q. Nguyen Signed-off-by: Quan Nguyen Reviewed-by: Joel Stanley --- v2: + Introdued in v2 arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts index 723c7063c223..4c3c3f1a12ea 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts @@ -374,6 +374,15 @@ flash@0 { m25p,fast-read; label = "pnor"; /* spi-max-frequency = <100000000>; */ + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + uefi@400000 { + reg = <0x400000 0x1C00000>; + label = "pnor-uefi"; + }; + }; }; };