Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1298424ybe; Mon, 2 Sep 2019 18:30:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/7g8ef2iHOizO56OGOCUllxLCguAWKjBJkFEj8qhAUwG2BZ3ld7sIONN4NuCWKwO2XqX2 X-Received: by 2002:aa7:9117:: with SMTP id 23mr14137283pfh.94.1567474209861; Mon, 02 Sep 2019 18:30:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567474209; cv=none; d=google.com; s=arc-20160816; b=qagJxtyKX9EWmsMeMCwmsNZPi8xV83a8FN/3jIcCR+gfTTqiyjP1gN45gcRFrOPhTa 0bmtLHq/oPlfzQpIVXzYec67bXlufkXUToHHCDBlrDdYQSMUZfN5cNLrErYroGisGX12 ShgrhCfE7QBrm1XIoTzCaa2nQbJkQS/QMzOjma5aD7zLMwY4nxbLX3iodqNB4XXrncyo DRJyooIfqYscD+lR7SGJTisOE1GN6WEHNfArzP2rQ3lZYsdgzGXaAnowEPcLMnE9VNAm aOwiY/VunnXGk5FYZhY2KHGtpWszQgMikIkGGLGLO4D5+Pvc1cv5PTibt+9vXaw5oFP+ LscA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=QEivjyTkPO38r/RJO5soB5od5o/HF3J/2URmpzwlh3Y=; b=Ur+KdZbGEEn9P/IgjSisOz8Pjh57LOUytdSsHiHdAVvYmB9o6QuA0RsPwqwTm0gPl2 gCBbIsQ0H8exNm0N+oAl9AstA5Q+/NDDc7z4nkhXgKnCDhxkmOtULBZtXHXSfiJS2CNo Ruz5z2rhARQhS2IFw0pPOofmrCBsAaj40weoXSbFfjBO8NQH+m+hiTxCGFdEOEUOw65E YlahNUncDj7bjnKdUvYrDCmWvUc01fDK8O/LPfyw2Fdqoek2lyRqP//OQv3Amh6sHfOm w5yAX1WT7hUVA9be/gjyMNn+5njaCUV8HY235ryTM8ToEMvAKQiEIUR/M5noUBfDhqkR k6Xg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 32si3001513pjo.61.2019.09.02.18.29.53; Mon, 02 Sep 2019 18:30:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726260AbfICB3C (ORCPT + 99 others); Mon, 2 Sep 2019 21:29:02 -0400 Received: from inva020.nxp.com ([92.121.34.13]:50022 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725306AbfICB3B (ORCPT ); Mon, 2 Sep 2019 21:29:01 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id C2EFA1A09E7; Tue, 3 Sep 2019 03:28:59 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id C75341A09F3; Tue, 3 Sep 2019 03:28:47 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 0401F402B1; Tue, 3 Sep 2019 09:28:39 +0800 (SGT) From: Anson Huang To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com, jacek.anaszewski@gmail.com, pavel@ucw.cz, dmurphy@ti.com Subject: [PATCH V2] arm64: dts: imx8mn-ddr4-evk: Enable GPIO LED Date: Tue, 3 Sep 2019 09:27:57 -0400 Message-Id: <1567517277-30919-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org i.MX8MN DDR4 EVK board has a GPIO LED to indicate status, add support for it. Signed-off-by: Anson Huang --- Changes since V1: - Mention color in the label. --- arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts index b698061..bf1c097 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts @@ -15,6 +15,18 @@ stdout-path = &uart2; }; + gpio-leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_led>; + + status { + label = "yellow:status"; + gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + }; + reg_usdhc2_vmmc: regulator-usdhc2 { compatible = "regulator-fixed"; pinctrl-names = "default"; @@ -54,6 +66,12 @@ >; }; + pinctrl_gpio_led: gpioledgrp { + fsl,pins = < + MX8MN_IOMUXC_NAND_READY_B_GPIO3_IO16 0x19 + >; + }; + pinctrl_i2c1: i2c1grp { fsl,pins = < MX8MN_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3 -- 2.7.4