Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5479961ybv; Mon, 17 Feb 2020 21:21:15 -0800 (PST) X-Google-Smtp-Source: APXvYqyrk4KjnxB2+gYh/lPNxVmat5hi3ADcP45CyINB8McI4k7+bkieoSiDdUo/Qj8l2aKDq+J8 X-Received: by 2002:a05:6830:612:: with SMTP id w18mr14936411oti.160.1582003275497; Mon, 17 Feb 2020 21:21:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582003275; cv=none; d=google.com; s=arc-20160816; b=lJ01uLewaJZrsVADmv45CdpR6jqFVLJaJ8BmbuDi+MOu7qlHuhVFtXBDmcvcK9JIiE xZQ5Xim4xakErfyer/OYW+eHALuC9X97071EpuSK/ipCk1R8IqogUMlHzfC6v1t3pk36 Nb6NFAITNSnkA5f3U7YCWVNxowOTX5KujIKEUa0a2TpvJr1ndLRE7Qj9oI146GVgksmU ARNlCt2RC5zx+rk1w157tUGJtGyu/omC83i8P9m+PM9mwMB7Av00mY7HKFNeu/pO9PEH FRsZqf0iaVp6vO1048PXPjGNMUsQ+LXYYr8Mr8z2Nkyr4nQr9FrRwxLaL/7GFtsOjofS Re5A== 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=H2kT7K0fvv3kRQVFM9xDrcgHmoT2c6yCSYUtscVLb94=; b=pnoOVYHirmgGrqWnOVRn/V2bB+bZXQQuzjs8TwmW7q0Ls/xlb6lHH0E5VEPxGVQ2s0 oKgs04StE4WLipwf8X0VTGzqW9wFqCbEagWVp3+kycKrNaz2Npe2miy4MsUogWjVTQ7m UOvju10l9woVppatAaIxCqzf969VCpN21twM4cWttnQILLShfEZ8hbP+4L9Ls8H9MgTj bG/zIc1aS69pV6qcfXbxP42Z3O2JO+dnkQnjf0vkgRfLNaqXVTbjJ4Ji9VHi98D7Cug5 6hjq19wwJARn6FJnkH2uiJnjXPsOSu3snMaf2ptjtycKD6cSb1BzunT/tL2bTI9MBnHd 2ESQ== 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 194si7487193oii.2.2020.02.17.21.21.00; Mon, 17 Feb 2020 21:21:15 -0800 (PST) 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 S1726102AbgBRFUv (ORCPT + 99 others); Tue, 18 Feb 2020 00:20:51 -0500 Received: from inva020.nxp.com ([92.121.34.13]:59986 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725832AbgBRFUu (ORCPT ); Tue, 18 Feb 2020 00:20:50 -0500 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id F27171A3729; Tue, 18 Feb 2020 06:20:48 +0100 (CET) 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 B51CC1A3707; Tue, 18 Feb 2020 06:20:43 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 2AD4140245; Tue, 18 Feb 2020 13:20:37 +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: imx8mp-evk: Add GPIO LED support Date: Tue, 18 Feb 2020 13:14:59 +0800 Message-Id: <1582002899-21391-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.MX8MP EVK board has a GPIO LED to indicate status, add support for it. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index 6df3beb..a97a03c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-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"; + }; + }; + memory@40000000 { device_type = "memory"; reg = <0x0 0x40000000 0 0xc0000000>, @@ -120,6 +132,12 @@ >; }; + pinctrl_gpio_led: gpioledgrp { + fsl,pins = < + MX8MP_IOMUXC_NAND_READY_B__GPIO3_IO16 0x19 + >; + }; + pinctrl_reg_usdhc2_vmmc: regusdhc2vmmc { fsl,pins = < MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x41 -- 2.7.4