Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp452314ybe; Mon, 2 Sep 2019 04:22:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqyubcvY/Ck2Bdz4iYC/EYomM0z7lsozr+G68v7OXoGD/ppvbXcMQRA+WYf34Sy4rB8rTDE4 X-Received: by 2002:a63:4042:: with SMTP id n63mr24132866pga.75.1567423340222; Mon, 02 Sep 2019 04:22:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567423340; cv=none; d=google.com; s=arc-20160816; b=GiKNA/TFS8xfc4JzTE1D2Ca2gD/IMpTnc2D+3PCWxtGwDn6sV3h6cKObkDodH/L1ux LqOKpsimFCIgKsiphW5VeFZ9I/n/56iiS26XWGNoq8SqjcwP6/1MbhcaujtToEQAyj36 fUKtxhQgSFvTjQkHZ8d5jAjIfuBiLEaVou4oJ6dx9iPMLobdAN72sOf5vBUHb4gEmMIC MTY57/KEPrYekwpw4M4gniFOHLvtPmALoy51Cg7r1jtMjbMqFC3YvqT+Cz5DeLiRq0h7 D8niUsyyu4CrR7ku3X9Nu3/H3v8InzrGid2YPVZEJBSw7qvDF/qci+MkN05hdq8X2Mv/ ACBQ== 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=lQOExqDQfsKw4bQJjxpoidpkWDxLbcL8/LxkFbEeyMo=; b=cxR1A9928bjWfsJIElS5XUUVL98Ztevat4VzW2t1+J+FMQLb3l/OspsSV34ydMl5+X HdwOaSu87lMcKCyHVLplvyxjVs2ZS64cumPCSMFVYfW8rDrS/a6eRP8pxOAw5JEWBkBt Dh3PdG1pXCM48RHZj48tFLDQ2wJNvQH1B4RzNWY0CNBDCF4slSGBzjS3L1L5fp7dxUzt 3/VMeNtvnBTDEopbU83zSgZIp/FxWnTtJJO4TJKBcR9TL19ACjMwre6BVw1ecpZTb3P+ igbAWouiy0i5sAQk00+H0VvgQaL3w6KNgPXNN5EU7Epc0VRbSbMP+IPsgO32gLIByd0g ANrQ== 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 f7si8829081pgq.369.2019.09.02.04.22.05; Mon, 02 Sep 2019 04:22:20 -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 S1730433AbfIBIqb (ORCPT + 99 others); Mon, 2 Sep 2019 04:46:31 -0400 Received: from inva020.nxp.com ([92.121.34.13]:34090 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729524AbfIBIqb (ORCPT ); Mon, 2 Sep 2019 04:46:31 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 5FDD71A0024; Mon, 2 Sep 2019 10:46:29 +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 C1BB21A0048; Mon, 2 Sep 2019 10:46:24 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id D2F17402F0; Mon, 2 Sep 2019 16:46:18 +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, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH] arm64: dts: imx8mn-ddr4-evk: Enable GPIO LED Date: Mon, 2 Sep 2019 16:45:38 -0400 Message-Id: <1567457138-3002-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 --- 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..9349bad 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; }; + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_led>; + + status { + label = "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