From patchwork Wed Mar 29 08:32:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13192101 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 C48A1C6FD18 for ; Wed, 29 Mar 2023 08:34:01 +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=g62baR7gh//Tdfckx7bfp+BP1ZMj8oFvWICpyjOi3T4=; b=BnkuGRRBfeZDWH MJ4KKclEhcDdfs2Ue0wpc2UglTnCxzsK2FD6RdyMYbf6EAwZ7jWWGbn5/01eMRUPipDFXQ9rADK8n P4Z+ZmxIX3odetcFwqW2TlP8/4tYc1NkBV6yg6VPzY6Xicxx4qrzRzggEsu23UsGbxe9R7tM9MCx+ kAy0GUGydjWAq4wXp548gIiHTxVDVrqVniSzYvmvMqPjRcX9+3SY4gLhoYt5tAf5sX3k1a+PVEGaM w7+FBMFcQXPRlJtAkv3RGYIlXdhl0Df6ltXhVViUs0dfwqZvCoNLoWjWSTq2CtOG/okqzYxvQ9fs8 R4puG96H6kI04cBfPBOg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phRF0-00H7YE-14; Wed, 29 Mar 2023 08:33:10 +0000 Received: from mail-tyzapc01on2060b.outbound.protection.outlook.com ([2a01:111:f403:704b::60b] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phREv-00H7Wp-2M for linux-arm-kernel@lists.infradead.org; Wed, 29 Mar 2023 08:33:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I49OsG1MMpGGvmglFm9TLE9W0OEypRc9mjXzGZMmfvaEtRQ4AOjU1TqAhih/KqN8iSTaMLIHbpEBDZq4Y0b2u/F2g575+tYaVsI2w6TphO5u6Amg40hH2aapMqePs+M9B0cJj7riJGDDVimbP73fK5UlSxHcaW3HRS1jtGEjenDaOQbG254BLGt2fWSzLGa3raSczQnCJMg0G5W/eR/oG2K9zL700h4DOdhJGgUEuLi1pTREG9a5YBC0rd8ls9yK6ofQqdvb+J7WrFVrSPIOKQjz1E9jHoh/zi3loaI2JpW8965ny+Shu3KCKKDgN3EDx9/MJuFD6ubwN/OlT6QQeA== 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=vsPEQSyrn2byAuiypyjtnD7TvWKRF0djVli5CpfHsl4=; b=a6FMuhWi/olubJnYFBCJxy7GWH3XhGSKK+QadyjZE+at3CDpjjxHgslnhhloAV/kvqZ1J1oNArL3KUCRdfOZw3UduLOPwV0fberb5+uEwshCx1np9UTwdvUyrO70cNkF3pnxE8oXL2Wn5s2bmUr3BiMoVAroYoIaESkDI47YFvDjx2V33Ic+6La+vao2K5LLOq0/y7fXUPX5406vv9oUY43/sqdVQxELAutTk6aZde8Gzv542JWvpGnRopHAWx8J6j0BUhOu8e+ZWhQPrn8kt+JjTk1rqwsg4kBANY3ge2tkX0ASPoGLwdkFXKxhgkm6W8Azq0XdGIUafnq6poJCcg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vsPEQSyrn2byAuiypyjtnD7TvWKRF0djVli5CpfHsl4=; b=ruGpHr5KYRJLHaZRPUP6m35a7x15iPke3Lak7hDO5jH/ucSK2o8GzvpzAjUKnmUZJGXgfG0jAXuGVz7lmanv24jJJXJBruQ1bYBM8tgDYwHg8/npN9/Rr2YUlSbSKiKGZlltZ5s+lAmgyNlAmSUdJjo3mX8qe/6hqOO+mG5nFOvaasEyL0NMAJqvWUCkHUFzhrwsP3utFoA40x0LvmSFr1jKca37YnWcR8L565Zwyke6+oRlfEEM4oi3NWm9ilbAILqywgOayle+DZT1lP5duA6FnnRL+WjNeeyTfNoNt1SoA70Rm8aFVh3oyM2hWQUJJbjtrk+uf8IpShdzY6DT5Q== Received: from TYCPR01CA0089.jpnprd01.prod.outlook.com (2603:1096:405:3::29) by SG2PR04MB5746.apcprd04.prod.outlook.com (2603:1096:4:1d3::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6222.33; Wed, 29 Mar 2023 08:32:56 +0000 Received: from TYZAPC01FT042.eop-APC01.prod.protection.outlook.com (2603:1096:405:3:cafe::d7) by TYCPR01CA0089.outlook.office365.com (2603:1096:405:3::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.19 via Frontend Transport; Wed, 29 Mar 2023 08:32:56 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=Wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=Wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of Wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by TYZAPC01FT042.mail.protection.outlook.com (10.118.152.183) with Microsoft SMTP Server id 15.20.6222.22 via Frontend Transport; Wed, 29 Mar 2023 08:32:55 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/2] ARM: dts: aspeed: greatlakes: Add gpio names Date: Wed, 29 Mar 2023 16:32:34 +0800 Message-Id: <20230329083235.24123-2-Delphine_CC_Chiu@Wiwynn.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230329083235.24123-1-Delphine_CC_Chiu@Wiwynn.com> References: <20230329083235.24123-1-Delphine_CC_Chiu@Wiwynn.com> X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZAPC01FT042:EE_|SG2PR04MB5746:EE_ MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: fca7c4e1-8092-49b8-a18f-08db30303234 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Jp3C0WFcnETiA5nzNz8My3ch1nkY/NZ8chIwlIjYY0FQ+/Ier51lopBLsdJ4GMXvKJZdv1RRdP0IgtaZux7ibNmOcgv3jOmLq2TXHGlTg83N/VzM+cKk/yR7G7z5qAUi+mjS/ftVkTdVa/MBLRiB4yWRw1mtmv7D49HLZbQHjqLbUyB8aWaOWaKaa/eCenoplMXU7u5CVwviZlTRRBSPw4jfmsHxFQIFIIEtVIJnFplggePj9+4zJV4lH8byz028VTzp5UvbFtWLG8F4hRkal6LI70LN2Gp4FoA7lhOpHaKrMxqLjfqtiBgrCT/hGXEKdMo+AoRQpC6CIiTch69CzhEyt52Po1emPFPwxatH2JKdTugmbMxW/n5PMmapSLdT+MyIui8LYlANTMvKe9e5bvZGJFwvt38PFZFk1hIt4P5jhyyVC5ZB2Hx4AbCl9KzS0hqU77NG5TH0bgeBETagM2qTuVYsRFNFn5u4/0jMyp3Dwe/NmWYqGeOgqC/M+kX3RyXwSxT+gcG9faFOmiBvLnUK2664odDad+vkMh4Wz5PCVrJXBBZ3bKBA8GpvLxY6B8obiZdFGVzC/85nMP+Jdq/+28xT/IDrdByvRmNU9q3d5Zg7wLBDXOMcrOGQrkzmfsAu750A53g462dBSzzx9FIshJpTpdfovJNuFsfApfo= X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230028)(6069001)(4636009)(39860400002)(136003)(396003)(346002)(376002)(451199021)(36840700001)(46966006)(9316004)(36756003)(82310400005)(40480700001)(478600001)(70206006)(70586007)(4326008)(8676002)(36736006)(110136005)(316002)(36860700001)(6506007)(26005)(1076003)(186003)(6512007)(336012)(2616005)(956004)(47076005)(6486002)(6666004)(86362001)(82740400003)(81166007)(356005)(5660300002)(8936002)(2906002)(41300700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2023 08:32:55.7868 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fca7c4e1-8092-49b8-a18f-08db30303234 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: TYZAPC01FT042.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR04MB5746 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230329_013305_770789_EBDFC433 X-CRM114-Status: UNSURE ( 7.87 ) 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 From: Delphine CC Chiu Add GPIO names for SOC lines. Signed-off-by: Delphine CC Chiu --- .../dts/aspeed-bmc-facebook-greatlakes.dts | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts index 8c05bd56ce1e..59819115c39d 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts @@ -238,4 +238,53 @@ &gpio0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpiu1_default &pinctrl_gpiu7_default>; + status = "okay"; + gpio-line-names = + /*A0-A7*/ "","","","","","","","", + /*B0-B7*/ "power-bmc-nic","presence-ocp-debug", + "power-bmc-slot1","power-bmc-slot2", + "power-bmc-slot3","power-bmc-slot4","","", + /*C0-C7*/ "presence-ocp-nic","","","reset-cause-nic-primary", + "reset-cause-nic-secondary","","","", + /*D0-D7*/ "","","","","","","","", + /*E0-E7*/ "","","","","","","","", + /*F0-F7*/ "slot1-bmc-reset-button","slot2-bmc-reset-button", + "slot3-bmc-reset-button","slot4-bmc-reset-button", + "","","","presence-emmc", + /*G0-G7*/ "","","","","","","","", + /*H0-H7*/ "","","","", + "presence-mb-slot1","presence-mb-slot2", + "presence-mb-slot3","presence-mb-slot4", + /*I0-I7*/ "","","","","","","bb-bmc-button","", + /*J0-J7*/ "","","","","","","","", + /*K0-K7*/ "","","","","","","","", + /*L0-L7*/ "","","","","","","","", + /*M0-M7*/ "","power-nic-bmc-enable","","usb-bmc-enable","","reset-cause-usb-hub","","", + /*N0-N7*/ "","","","","bmc-ready","","","", + /*O0-O7*/ "","","","","","","fan0-bmc-cpld-enable","fan1-bmc-cpld-enable", + /*P0-P7*/ "fan2-bmc-cpld-enable","fan3-bmc-cpld-enable", + "reset-cause-pcie-slot1","reset-cause-pcie-slot2", + "reset-cause-pcie-slot3","reset-cause-pcie-slot4","","", + /*Q0-Q7*/ "","","","","","","","", + /*R0-R7*/ "","","","","","","","", + /*S0-S7*/ "","","power-p5v-usb","presence-bmc-tpm","","","","", + /*T0-T7*/ "","","","","","","","", + /*U0-U7*/ "","","","","","","","GND", + /*V0-V7*/ "bmc-slot1-ac-button","bmc-slot2-ac-button", + "bmc-slot3-ac-button","bmc-slot4-ac-button", + "","","","", + /*W0-W7*/ "","","","","","","","", + /*X0-X7*/ "","","","","","","","", + /*Y0-Y7*/ "","","","reset-cause-emmc","","","","", + /*Z0-Z7*/ "","","","","","","",""; +}; + +&gpio1 { + status = "okay"; + gpio-line-names = + /*18A0-18A7*/ "","","","","","","","", + /*18B0-18B7*/ "","","","","","","","", + /*18C0-18C7*/ "","","","","","","","", + /*18D0-18D7*/ "","","","","","","","", + /*18E0-18E3*/ "","","","","","","",""; }; From patchwork Wed Mar 29 08:32:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13192102 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 ECBB3C6FD18 for ; Wed, 29 Mar 2023 08:34:27 +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=VKioe6OkskMIvCD2Be1MVY1+MSnY22y2BPv7+g1C50I=; b=cYY7RS1q5FQfG7 9V6ZTbGVCoMhmSZ3WUZP9M4mVuCpGEwbj7gK/ZuEquqiZwjx3zexeiNd8Ubyo70FdNt6X7sDuA1Cs QK6ENOlEWgwuT/rOcVgsafH6qd055313M5kafsMwjG9DfR1gmadvfTmTWEIxn/MK1K1/NRuYBvy9i MO5xa2i8+ePkj1Bdy+wIUxdMeg1VmDQXK1scUtlaK++CNdpCQk2FUEXIkD00DEuHqjeRQAK0FPV13 58n1u5VxWvgD+82TnTmhSe245emQ7oU/nJc4RvEIHhCTMc+nw0Uhtb4erFZg+JOilvuFRytZS70P2 VFrwr6VdfPFqqovzqClw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phRF1-00H7Yh-1V; Wed, 29 Mar 2023 08:33:11 +0000 Received: from mail-tyzapc01on20622.outbound.protection.outlook.com ([2a01:111:f403:704b::622] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phREw-00H7Wx-0o for linux-arm-kernel@lists.infradead.org; Wed, 29 Mar 2023 08:33:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RqkQHNxijfyrL5qgBOUM89NheDNa6u0U8k+kvubSsyjWPzb43Cgnn9ZlNMRF09TEr/hHfAE8Jd0JhQQQ4bAzm43yzyo6ho7mh6AH0aUJlZ7nqMJS9m8ACsKbTvmyNLnZBZqf0z3xW3ldB1oRojka79zBi9V+9YHX9bjj46Aqbfvj3VpjPfQ1tSBYayP9sVhNgfFrP/q9zUs08dwoVCFa/ZBYrY1cxOkENCN7MyOILUx1CLOlwKeDjyV+RJ/TQGmboiR2A4LgDjof4yalKuJD7H98YuOzxTEIAiOtHEFPdudr3iUKcseSTG/46XQ0bt+SY7fklUz8k1nTmfktfgWlLw== 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=sascvLo2rdBCIEtoEy2cWF0vHOGysjj0sN9RW5zPPvs=; b=TXUMuw30/U91hSp7TlvMmuMTJ+u9NDQr+JSoZL9FVEWtCsdRV4G2DDwxBcIkSJ4+GW1UJEwQXDX2GUbgwpqtXE7q30I3UDjsSjpUpYJpHzPua/mNuuZuuyRxKwdDFD7enILC8+L+zgJEUU2KUDSFe0GYWkFsuK0scKpOvWmazrgkxV/T06pIMkYr3xofjvYaPLa2I6YqRpnRIBzRqfS36xMbXOaCNXZl1Y2/xKmUpR1fi4fUn2BZ6HT9hd6MDnpoSumv1V1bP4cHTK0mr0qC+023CBatR+s8fGgAMwqo1DhvLx27SMehiC+Hfyz70yz0ICGUbEZL9rpfMKO0TAeyJw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sascvLo2rdBCIEtoEy2cWF0vHOGysjj0sN9RW5zPPvs=; b=kB7M/rY7akZnPD8OOJ0n8ruI7z7HIP5S/ajDayxrcCDYfvEywghcE9nz/VLRFHeyvpzYdd9ICOwOmarW4BdYZJrH7BpXNlwP2xFkdP4xHTrqKA2Tc8zc1HIEEGqqalrXCtc7grwPyPIpk2HDsWm/GcEEFks9KMxQPI2gaMS6rhrrO4heCUWlTlJVf5uny9/Zh4WAUMNoGLqW1Jaq4d29UTF37Gu5aLQhfSjuhSF+q10RqcXu9WZOaM77Pk6bGdRd8IgP9LwGgUVYUbeWYnQusb4BqXdLiYrtmMCipyz5dzeIjoURn2ZAGIGVBgVOAmur+0lLZp9fVo0lwdvx7g8VKQ== Received: from TYCPR01CA0090.jpnprd01.prod.outlook.com (2603:1096:405:3::30) by SEZPR04MB5674.apcprd04.prod.outlook.com (2603:1096:101:46::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6222.34; Wed, 29 Mar 2023 08:33:00 +0000 Received: from TYZAPC01FT042.eop-APC01.prod.protection.outlook.com (2603:1096:405:3:cafe::62) by TYCPR01CA0090.outlook.office365.com (2603:1096:405:3::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.19 via Frontend Transport; Wed, 29 Mar 2023 08:33:00 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=Wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=Wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of Wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by TYZAPC01FT042.mail.protection.outlook.com (10.118.152.183) with Microsoft SMTP Server id 15.20.6222.22 via Frontend Transport; Wed, 29 Mar 2023 08:33:00 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/2] ARM: dts: aspeed: greatlakes: add mctp device Date: Wed, 29 Mar 2023 16:32:35 +0800 Message-Id: <20230329083235.24123-3-Delphine_CC_Chiu@Wiwynn.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230329083235.24123-1-Delphine_CC_Chiu@Wiwynn.com> References: <20230329083235.24123-1-Delphine_CC_Chiu@Wiwynn.com> X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZAPC01FT042:EE_|SEZPR04MB5674:EE_ MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: d2cd55cb-ced9-49e6-5fdb-08db303034ea X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MrvpB73rmAlgb/DWLHYzmRnM+9U/fUgIy1Mlj/e1A95wlABYZ7aPuyhXDMhdWgLz1JwQzfdho/PbSS9xVsE8Nj7Eb+ZBpWfrCIY6PW3ovjIApGBPzdyKjiy3B7ya/YHG37Wi/HEjXs8V0GqrAT2PRAhkn3DRltkiJhubmSohJVMIZvECFgnZbKLbnvCGbfdIIEq+HqW82NyJ1eJjH1fTh+OFpdMCrHv0Vw7yyKIMz/e0iOGBFeN31gu9TqH2Ubs+GADz99qouBwEEDMCW4oPErrAEF5pnm22qWEST1+gR1Fo0zH8ADe+QAU+QjumpBFntk64oEXaNRs26QYM9uQBIo9PATHzccI3Qv4L5hxzfDpk15ZnqHC1dF5G/AqP5MS/asmpCmd1gf3UA6GzuAChazCLPE/RDxt9T4aX/J4vyzvfTdr2tbKAG8DPz/942xwLXtg3qgS5IP96dVOfITOYT9KYs+71WQFqJT/50Cq/eXm47XSc6Hnr3edMPvR7ekIIMIgcCcdIZwnq218Ah8lhFhOnUI6GA1QDxaFIYq/+Pr5k89WgCz3H06tUekzwt21vb23YhfZam2hJhoaAlarEc5RkBflExM704s6IbrTP1ktBzAdUeuriEahbArCBJvWWtp1WW89q8PpuqTjHrfTs22DTaqAQI7F3hIFNUyTkOok= X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230028)(6069001)(4636009)(39860400002)(396003)(136003)(376002)(346002)(451199021)(46966006)(36840700001)(956004)(2616005)(47076005)(186003)(336012)(26005)(1076003)(6512007)(6506007)(6486002)(82740400003)(6666004)(70206006)(36736006)(110136005)(36860700001)(478600001)(70586007)(41300700001)(4326008)(8676002)(81166007)(356005)(82310400005)(36756003)(9316004)(5660300002)(2906002)(4744005)(8936002)(86362001)(316002)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2023 08:33:00.3333 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d2cd55cb-ced9-49e6-5fdb-08db303034ea X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: TYZAPC01FT042.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB5674 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230329_013306_289949_88F0D534 X-CRM114-Status: UNSURE ( 8.97 ) 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 mctp node on I2C bus Signed-off-by: Delphine CC Chiu --- arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts index 59819115c39d..2f83693e4f85 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts @@ -156,6 +156,7 @@ &i2c8 { status = "okay"; + mctp-controller; temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; @@ -165,6 +166,10 @@ compatible = "st,24c32"; reg = <0x50>; }; + mctp@10 { + compatible = "mctp-i2c-controller"; + reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; + }; }; &i2c9 {