Message ID | 20240806071806.1666550-6-chanh@os.amperecomputing.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 6DEF2C52D6D for <linux-arm-kernel@archiver.kernel.org>; Tue, 6 Aug 2024 07:22:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding: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=/8fTsT/wmD3e7P8bdlXQ3b8HcpK52Ulj5xajjrlW/EQ=; b=NPfvR/9bAn9d+Gd6iD3SlTPvk0 zwRd2wBLIyVfrHr/MV22vNDh5WVtyryyuunH0FSZhi7iqDMezo8vOINLPTS8EYglou2YZQaUW8PON qoX+Cto1clkvhBIBuUIdaaXMpDF5ZMRyBURtr27BIHMFcXJrfJUBoMblakbFYoPVnZJDMcqBc4Sbt 0uIYCGMEjzcoRFd/n0YkR9F93eW0mYH6TEXgFNYluEOJDTZ3OatMekfrNQr8Y79+tIgTtwzCOGFvQ X+e0D42vWzXAXVhbygrkJxcDrWuisNPDOAbZob2cl0KuEsTqWr3ST/SHsyUH8TPAIGNgr9pjrwzhv 4QaWG1wg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbEW6-00000000m0I-28qr; Tue, 06 Aug 2024 07:21:58 +0000 Received: from mail-westusazlp170100001.outbound.protection.outlook.com ([2a01:111:f403:c000::1] helo=BYAPR05CU005.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbETV-00000000lAL-2wuh for linux-arm-kernel@lists.infradead.org; Tue, 06 Aug 2024 07:19:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=zEDhX6QKiWWylweNHYpXqMghzl9TAAfyc8RNVdtPHmttZuoEhq2X7P+E8BjalUASd6hmGt3/Cp4aIFQQNF/ehVlq2GNYg5qszradhi9FwvvK/LavNUDnPvjgL1+71tj6JjSlFUzSDt57bCj8WI3oT1uS1JexOJ1PvTgtaASA/bisekIDjkd7jS+1IkEtY7Gz6W1lQRjD0RxGR+ahh09K4fAa2pGksEzHQkOXQnhOaQBAqdmqRhum5KE4kRi/hELqfoBFNH4pmT+EvEUxWVp6VZi6CIfY8f+tc2NL8IIRTu31jGx9JKUmB9Hd1eIOxSdmmTu51LyIark/Fvp/7e3qcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=/8fTsT/wmD3e7P8bdlXQ3b8HcpK52Ulj5xajjrlW/EQ=; b=cWKGewA5xF3W12zD0MHjOlQpDKT/PkTX5tK2WMABIajMeB0riyhvl1jmbFjEtQuNg8eM5cfO/TM3FeiYldTiLjhzw+zimlPA6aJJdYu0TxzQiXLXLXs+JFMAOq1sOQSvjwLnebdB6VWy9p+x7oMCjhnpDp+4PDIrCuntaJo4Ig00igouIvYmZX6ZQcRwVfYH3sJFloEgAcE/7Hem8AuHipTSjqikxPWhSv5bFSf+q9P+MEaxrbhblL7m+xfnrACDyhBx45f2tnmSijFMCwYyh9Isj9ieENYggXQiZg0qXdzkVVgVTwh2+pjaSmdU3bbhzjrj4YFvvY9WCgIKrq6gTg== 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=/8fTsT/wmD3e7P8bdlXQ3b8HcpK52Ulj5xajjrlW/EQ=; b=nFpv9vL4f4rs3K0xcXj3zL2dNMQrNyJSZ4uAu8BRs/yyvkqXVpLMrKVvttqvI973A8/FvloE8OUE1o75xrmsMwcyYgzNbMee/gn27vzfJa5sOl8N3qArQgelBwExNYbvCDGco5PZocXC1HKoZeKXhXUi/eexIysHdaTXKp+h/4c= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) by BL1PR01MB7770.prod.exchangelabs.com (2603:10b6:208:399::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.25; Tue, 6 Aug 2024 07:19:14 +0000 Received: from BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09]) by BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09%4]) with mapi id 15.20.7828.023; Tue, 6 Aug 2024 07:19:14 +0000 From: Chanh Nguyen <chanh@os.amperecomputing.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Joel Stanley <joel@jms.id.au>, Andrew Jeffery <andrew@aj.id.au>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, OpenBMC Maillist <openbmc@lists.ozlabs.org>, Open Source Submission <patches@amperecomputing.com> Cc: Phong Vo <phong@os.amperecomputing.com>, Thang Nguyen <thang@os.amperecomputing.com>, Quan Nguyen <quan@os.amperecomputing.com>, Chanh Nguyen <chanh@os.amperecomputing.com> Subject: [PATCH v2 5/5] ARM: dts: aspeed: mtmitchell: Add LEDs Date: Tue, 6 Aug 2024 07:18:06 +0000 Message-ID: <20240806071806.1666550-6-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240806071806.1666550-1-chanh@os.amperecomputing.com> References: <20240806071806.1666550-1-chanh@os.amperecomputing.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2P153CA0026.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::13) To BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR01MB7057:EE_|BL1PR01MB7770:EE_ X-MS-Office365-Filtering-Correlation-Id: 70542a14-725a-44de-c47b-08dcb5e8130e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|7416014|376014|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: cvJSEjo2OvJdrSE9qhmBHMuJ0cmuJ04+pQFTfSHcwbsZRym9wBrv4RjuwUL4cYfVtlr9i5qafnaI6w9I57H+LvW3IEQP/UDXRL6cjWoL/z0B2sYFssQocuCSDjjGTS1lmHx5lEAt1TMi/NMSRXkosLK6dsEETizwDyPulc6BsuanqKxejMKJMvrgrwSTQ3DitT2smu+vhokwzdOSENGavDKgBbqYtrr+WQmI1MrYf2cCLi0njWy93U6M7PWGod6iTO93cp+QOt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B11w5Dd4zd39N0LVeHHgNIoedRpudqnvSGlCs/LJOOXhVjNuPx+CzuRDIJ4ZzmWW9zt/cSzO8Bd18lDiK2TfZhuNnv8luBacwi4DeaxUA= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL3PR01MB7057.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(7416014)(376014)(52116014)(921020)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 4yqBYZHNI3WawGa4N9lAgfTEOZW/ysC2+HU8wfwdqKhkrQHZ1x3QWmGYMzH4cZJm3rgBwyTS7Eq0MUnk1PXZmMBDCgHaFWcmAiLJnxDVUEOOppvSQcJdKsZ+S2UJNRPbz6WI79SSeJqI5xkkQvnOrmK1XuV0Qzr4Z4xKTr+suIOSZfp7MlB1IPbKwizlbgh+S0REAKZZizN9i++Ze1V3dp90W8ryRNQ3pIMEyUCuVKoGW9meqlfPKi5acblqiqtFbbkzAxBqt5Z6RnllV8inRz+CYqViNnDUqoOuF8EXfCAf5RcgrUr2WrSs33+DP2VyR+wetBFfHFhXxoj12vV6avuFpJ5Ach1cBl3Zu+dp0gRbEsaAO76iXSpu06ZrCVUHDB/mxCVzcpqj4lpJXhxsqoqM9AURHDQ2o/YsUgkd9XWYJXXKo38t2Kb0p57hVadWE2i53hBO8rpiqj8hiHNLl6dK5iiKJHqn69s+x2S8G8Qb/vyHslW+LOEC/mK7W7ySTuCj0Hm7n7oxxUBi3BaJA5YiASts9vkvM+xYZxkGrt2WNtMgP3APSzrnRyw+VI5kGbAyTG3gwVcDuH+UrNXl8mkSSmNeWeve0ejT2dc3XTrHFnswEdvVfzAiloeN0hmPIpdNpbO0uceoESS2k1hXp3f7bd4yRgIO+Miha7cAMUfpMfZmTzLLAvuI/7WHkYS9SCTIcxN1kUw86E8f9ow1Om+rGw6E68BKPlf/FFFg7KOv5a+n/G7M+XcYO02tcW5zr9gl5hoxL9V6Zw0v5Tsdh4BarLLQaKAnGggRTWKz5oMlYRR3hcchQ9iTKlN8qxXJ8qVRKX45Ha+Nwa8n99g/dEubbz4acCyd3DDF042WwJPqmiPHHlnNhm9+MWSSgWuasSc5ltJP9VwHL9dgGD8U2c/jj3Slv/2Vy0nSQCW+5r7Pln4rxjKQ+ei87JkaC3EsBzgYtWmIFDgWrVt6qqyCsZUtgM93TRoewu9nfG7yi2+V7y2B/dm91UhyY/0aE9wbA+92BO8LqiG26Tv32CAkftTpL4LeLHkR/AZsv5vSqviv++JVBX0BiMLCTbOmvpcnYBNUQUe0BTCrJtVhEI7E8r9SmO/x5cEKyw/DcQQ6v5VivNh5wpFGI+bzAYLqbGinepTqWwgjNnFmPZUXWXHEAjUNaKh4AJNxkOdnyPqkrKDi+4LMVQubwaVvJyYcTY2a1lQAhqF6iJU5DYm94Jf6WDD3X4z2kC3V1RM4N9HChsAf0LmlqERWA0wuXeFifqVfYt3JipWKchm7m6SlhZJ/fhXMl4+B9x/sJPAsYPFroC/it0DUOz51rPAIuvzFxZaWNSW4tUz7Cz5il4QPJHoJXAEFcoA7f87Zx26VKZv7O+Dwfx4DGAVJd8q7STBTzUjIja0TuUS2scCmlli9H5ZjSoSFtIKeq1elX65pwJhyhYWBLe6EM2ZHuTPLCIgupmf4Tiq2xBSiWFbcVYL6h3EqzDQR878XLC6ovMkztgiqAh0xXsf3dTg/ByhN98qJQIl/224jPeROihTfqAWfFTAJsfJLGkXfgrxYBUEAKXJGkjyZdePDXK6phrzBJtogUY5nnM3uT0w66L86esPcYRWQEgaMCW5kVhinA4qt3b5lYX0= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 70542a14-725a-44de-c47b-08dcb5e8130e X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2024 07:19:14.0062 (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: NfPfTZ/JBycW6H5iaWMY+RMbagOel2cnjrvE2VlWNDRlLKJEPEveZAcdUKtygEI8/M9omdePBqCpjbYmGGRczFUT/QFEMDLNy9PqcsReA0/vPQ3bEasvND2f22weXLY0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7770 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240806_001917_768990_22174EF6 X-CRM114-Status: GOOD ( 10.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Update the device tree for Ampere's BMC platform
|
expand
|
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts index 3111f23e56dc..0295f5adcfbc 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -113,6 +113,37 @@ vga_memory: region@bf000000 { }; }; + leds { + compatible = "gpio-leds"; + /* + * Use gpio-leds to configure GPIOW5 (bmc-ready) pin to be reseted when + * watchdog timeout. + */ + led-bmc-ready { + gpios = <&gpio0 ASPEED_GPIO(W, 5) (GPIO_ACTIVE_HIGH | GPIO_TRANSITORY)>; + }; + + led-sw-heartbeat { + gpios = <&gpio0 ASPEED_GPIO(N, 3) GPIO_ACTIVE_HIGH>; + }; + + led-identify { + gpios = <&gpio0 ASPEED_GPIO(S, 3) GPIO_ACTIVE_HIGH>; + }; + + led-fault { + gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_HIGH>; + }; + + led-fan-fault { + gpios = <&gpio_expander1 0 GPIO_ACTIVE_HIGH>; + }; + + led-psu-fault { + gpios = <&gpio_expander1 1 GPIO_ACTIVE_HIGH>; + }; + }; + voltage_mon_reg: voltage-mon-regulator { compatible = "regulator-fixed"; regulator-name = "ltc2497_reg";
Add LED nodes as the gpio-leds devices. They are led-bmc-ready, led-sw-heartbeat, led-identify, led-fault, led-fan-fault, led-psu-fault Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com> --- Changes in v2: - None --- .../aspeed/aspeed-bmc-ampere-mtmitchell.dts | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+)