From patchwork Tue Mar 26 07:54:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 13603657 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 0670BC54E67 for ; Tue, 26 Mar 2024 07:56:23 +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=+aWOAvS6VH66Hv5WguMfth/fqGwTNPn1IuUcnNhrpz0=; b=1rHrexwWRsJ4Rj UCXfvCQZlVeJAIQbsRXpyy2Wq4m7Gr71ABGo5rg3PnsrhgD2iDMIBUEbXAhf5WDPYEohbzGH8j+pm A9VGHwiSM/x6qeXT3pmzn4np1++LjRZvyPp9PbfQaB50x4rryHWueUmPqhKcGvrZdRJpmZ1H6PZaV 2A//Lp1SBJDZ//wpEK1Kp+24fgEjv/Ob/s7/9UCc9iyYPCsHVBD0BP7cvSt191+nyMsHFZT2gu+BL 9uFyWP8J0x+tk8GFVjmR7zraJBwbWN1iPyRLKVK5AQg9a7Kx7+z1YW8+/b83m5e4b/A9u/xo7awqz CUqvfebYiQgk9ezKyuRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rp1fE-00000003VtH-2XAy; Tue, 26 Mar 2024 07:56:08 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rp1f6-00000003Vso-2SQP for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2024 07:56:02 +0000 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42Q7rht5020463; Tue, 26 Mar 2024 08:55:41 +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=Na0dP/m dBs4BLxpEYdqbjgbAo3j03TJxGOWuR82MAOQ=; b=S4YxDNcoUGspfJQBA6y8fa1 +MNSYdj2PJGI/bQ++DY9JwS3MLd8eUlasogLBsYuZcZrP1+i5P7AY4MulzM47ExC yQNSHCVuLikaRR13vrKMX1uDTwxARNkWcbUH0zNpt2gnWB/63m3hzItYgqpeJ1OF ANqWQX7LHnrbWOuho3Z+Xx6Nh5XD4dyMcddr8I6j2hLJAlNAsjJ86mPEgFHrsOwu 7kIUmrq64Z25vCTUvY3iXUq9ZCocdqkc9RZ0OTdDtEcyg8H8va+C17mPNzMWBBpm v7q4ECKQOxU8MTBNYWM0qW/8dlHZiTZlcS0E1+759Ht12cPnG4VEUtA0WB5U/Qg= = 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 3x1qa342v7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Mar 2024 08:55:41 +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 368DD40046; Tue, 26 Mar 2024 08:55:05 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 85EBB2105BE; Tue, 26 Mar 2024 08:54:41 +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; Tue, 26 Mar 2024 08:54:41 +0100 From: To: , Krzysztof Kozlowski , CC: , , , , Patrice Chotard Subject: [PATCH v2] ARM: dts: stm32: add heartbeat led for stm32mp157c-ed1 Date: Tue, 26 Mar 2024 08:54:38 +0100 Message-ID: <20240326075438.2891335-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-26_04,2024-03-21_02,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240326_005600_945053_ECB29E40 X-CRM114-Status: UNSURE ( 9.51 ) 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 --- V2 changes : _ add color and function properties. arch/arm/boot/dts/st/stm32mp157c-ed1.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts index 66ed5f9921ba..525d9ca7d576 100644 --- a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts +++ b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts @@ -10,6 +10,7 @@ #include "stm32mp15-pinctrl.dtsi" #include "stm32mp15xxaa-pinctrl.dtsi" #include +#include #include / { @@ -24,6 +25,17 @@ chosen { stdout-path = "serial0:115200n8"; }; + led { + compatible = "gpio-leds"; + led-blue { + gpios = <&gpiod 9 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + default-state = "off"; + function = LED_FUNCTION_HEARTBEAT; + color = ; + }; + }; + memory@c0000000 { device_type = "memory"; reg = <0xC0000000 0x40000000>;