Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp812569rdb; Wed, 1 Nov 2023 03:43:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEJ0zBluVaQe8nesIgX6gDoG0IWkMCDqqTKS0HJBQNFQdap1cgOYjV8dEWEP1cG8MNYHZup X-Received: by 2002:a05:6a00:1795:b0:6be:4b8:c864 with SMTP id s21-20020a056a00179500b006be04b8c864mr18671653pfg.5.1698835425105; Wed, 01 Nov 2023 03:43:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698835425; cv=none; d=google.com; s=arc-20160816; b=xykx9O4yL5MoK3r/QIQIjjVtOp+zPR/3YaiwFD4zQV+6fFqnd8JX3mOtLk7P7d6Vuw grSS9dQ6gBEjm7PARMNDoCiH17Ay+7N/wBE6PU92GmIDldHCSiLpe+1ZLnEed03MwhKN 3sNqBwCuOxhVGy57MjUQ5/G2MAgehknbz11ryNM/5qmRqhBq0UM7nlPlRqw8T869dYav 7eSsviB6c7PQQ6HCVYjLtZe2Vb1WLItEMbWpzyQ4tBHxG28U+vlj80guHyV18dlwBQdq k+PeteO2EeqtADMgRtA+Ul9rwlgGc1qu+ZUzFiAt0e9GJm4LW2MOjr4GYAwndpJqMY0H 5y3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=wZwOFg2axaIc8rPFCbcOugx7MnRJYk/GYzsedX/JX/s=; fh=OnNBaTfXQKBQBDvsUIQzn+RU7kgLz9hnLLTPvaMhE7I=; b=JS4eS6hYpek49VBQ6/oU0e8IuDSM2Z4M2QqZ4VORS1qdLnE+eTHnyCfAGfQuMv45Cv h11+RlPcB2He3HafEwHomF5sJSgzLQN3+VbKRExIiDYxnHW7MvnAGs6FpYHFhnBRj27X dpYf0e//NYuohGAAReAR4pNzrqZ3VPuwsIzO4CRQe3m0Uw9+rfq08EWu5CftcdvGBrbK lE36l/6zxL9I0GOuk2zTIyuN2A+JEmRloeuN8p2sjaN12XxSrtEcyrn9MirlrucNP1QM ftt6BEvWqKN44llEld2894aqkvYsqD/luqyqECriZo0r7zFmNHwIEcA8jVv2bW9INClM lXJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=DXFRpLiN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id u11-20020a6540cb000000b005b90990ab02si2763489pgp.419.2023.11.01.03.43.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 03:43:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=DXFRpLiN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 4CCAF804BB72; Wed, 1 Nov 2023 03:43:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231559AbjKAKnX (ORCPT + 99 others); Wed, 1 Nov 2023 06:43:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231441AbjKAKnV (ORCPT ); Wed, 1 Nov 2023 06:43:21 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7773110; Wed, 1 Nov 2023 03:43:14 -0700 (PDT) Received: from Monstersaurus.local (aztw-30-b2-v4wan-166917-cust845.vm26.cable.virginm.net [82.37.23.78]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id BA0768D; Wed, 1 Nov 2023 11:42:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1698835376; bh=38CcRJe+nIK650sdIpgRXxaQUBx8YAWOiB8aCVgbhsM=; h=From:To:Cc:Subject:Date:From; b=DXFRpLiNglTV9lnJGWChXEyEd8Eg92X5HEnaff3vyK+GsdcIfv0dl+dZjqNeUpAv4 EP3uTx4A8NIe/W4WMONtlA/G0WpP3CSi+2YvoA/zrpa42YpHij405Jc7HzofkgHsto jqk2fjb9m6CbH3Xh9hAUqSd7hU+rCd3RHpw/A5o0= From: Kieran Bingham To: devicetree@vger.kernel.org Cc: Kieran Bingham , Marco Felsch , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2] arm64: dts: freescale: debix-som: Add heartbeat LED Date: Wed, 1 Nov 2023 10:43:04 +0000 Message-Id: <20231101104307.2207938-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 01 Nov 2023 03:43:40 -0700 (PDT) Map the 'RUN' LED present on the Debix-SOM as a heartbeat. Reviewed-by: Marco Felsch Signed-off-by: Kieran Bingham --- v2: - Fix label - Correct color and function - Collect RB tag .../dts/freescale/imx8mp-debix-som-a.dtsi | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-debix-som-a.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-debix-som-a.dtsi index bc312aa1bfc8..91094c227744 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-debix-som-a.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-debix-som-a.dtsi @@ -6,6 +6,8 @@ #include "imx8mp.dtsi" +#include + / { model = "Polyhex i.MX8MPlus Debix SOM A"; compatible = "polyhex,imx8mp-debix-som-a", "fsl,imx8mp"; @@ -20,6 +22,20 @@ reg_usdhc2_vmmc: regulator-usdhc2 { gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; enable-active-high; }; + + gpio-leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_led>; + + led-0 { + gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>; + default-state = "on"; + linux,default-trigger = "heartbeat"; + function = LED_FUNCTION_STATUS; + color = ; + }; + }; }; &A53_0 { @@ -203,6 +219,12 @@ &wdog1 { }; &iomuxc { + pinctrl_gpio_led: gpioledgrp { + fsl,pins = < + MX8MP_IOMUXC_NAND_READY_B__GPIO3_IO16 0x19 + >; + }; + pinctrl_i2c1: i2c1grp { fsl,pins = < MX8MP_IOMUXC_I2C1_SCL__I2C1_SCL 0x400001c2 -- 2.34.1