From patchwork Mon Mar 25 17:06:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 13602530 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 AD373C54E64 for ; Mon, 25 Mar 2024 17:08:03 +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: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:In-Reply-To:References: List-Owner; bh=3fOeICAakHGXFucoTiSdqqzKPQR13/TtNphF8j8gS4Q=; b=B//42fxOxYOyDC kwNQsNtBiXYc9jKGIOLGg/WgyC0ynehucHKFVEjWxRoYZGlXticiT+MXv2uZ1VdBCo5fo6xKzw3Bh D/TItKMQ+R27E22FJCw2om9qQqk3xpdJ+0Gt5HuYYTUmqM0i6qtjMzR61esNRyU9fry8dCJajFWYM piu0tYFkDP/uGt2BhKzoucmw56VJqajt8ENiKDyyYXTSi8e3pi0oawGQ054ye6ytxLu9iap4oJ8HD SnR53BQMjrWDRgR8RSD7XOoDlc+UvR5B752ZQSPgNIhDgaKUv6txWh0YP+ChTnpQCRXsxXihdLES8 J4zvYwMZKrAvMZ7IGQNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ronnb-00000000x2I-3r3p; Mon, 25 Mar 2024 17:07:51 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ronnY-00000000wwM-1SJj for linux-arm-kernel@lists.infradead.org; Mon, 25 Mar 2024 17:07:50 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42PDh2Y7016725; Mon, 25 Mar 2024 18:07:28 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=selector1; bh=tFOLqS0 E65gTiJl7LWTPhWVSXxAUkT+dmYlJApHxVFE=; b=Hl45zEKlk/8CTeWSR75QtWs 6zfcScp6vcSUxv0VfcBbu9+cbSh45X2p1P2X1p2vxwd9IwM4mFQYEd0MUXiUxByr 4qSioBRz4vcQQm3qxe9r/PFRS5zlFeoWiRxzRZJNdqIRjgi04M3Uz6DX+sQSbsTh 2Ju8+xn0JF5apbogRJhA1hjTuD9FqhhrL24Ai+veBIvgYT+/92G8rKwFr13cwbY9 HVyk+SITA6lUacugJugWeMPWVH+NmPGt4orILtALIbs7sES2lx14PCr7HQJxs7MM P21Q3hvMtSYjWG267xnl5eVJUPGVvbQ4WiiviMMBNTOIjZ/CVSjok4TDb3C8UpA= = Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3x1pug92jj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Mar 2024 18:07:28 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 77E5840045; Mon, 25 Mar 2024 18:07:25 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 68E8222D827; Mon, 25 Mar 2024 18:07:01 +0100 (CET) Received: from localhost (10.201.20.71) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 25 Mar 2024 18:07:01 +0100 From: To: , Krzysztof Kozlowski , CC: , , , , Patrice Chotard Subject: [PATCH] ARM: dts: stm32: add heartbeat led for stm32mp157c-ed1 Date: Mon, 25 Mar 2024 18:06:56 +0100 Message-ID: <20240325170656.2829600-1-patrice.chotard@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.201.20.71] X-ClientProxiedBy: SAFCAS1NODE2.st.com (10.75.90.13) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-25_15,2024-03-21_02,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240325_100748_727823_D386F2DC X-CRM114-Status: UNSURE ( 8.99 ) 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: Patrice Chotard Add heartbeat led for stm32mp157c-ed1. Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/st/stm32mp157c-ed1.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts index 66ed5f9921ba..bd727455a7e4 100644 --- a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts +++ b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts @@ -24,6 +24,15 @@ chosen { stdout-path = "serial0:115200n8"; }; + led { + compatible = "gpio-leds"; + led-blue { + gpios = <&gpiod 9 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + default-state = "off"; + }; + }; + memory@c0000000 { device_type = "memory"; reg = <0xC0000000 0x40000000>;