Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1648630imu; Tue, 20 Nov 2018 23:05:41 -0800 (PST) X-Google-Smtp-Source: AFSGD/UmmIYroeVZGcntr8XFX1SPFf1yZBepu6AJp0ieOFrOVpIAlknn2CA0iD781wKI3pcGDNlg X-Received: by 2002:a63:20e:: with SMTP id 14mr4850973pgc.161.1542783941408; Tue, 20 Nov 2018 23:05:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542783941; cv=none; d=google.com; s=arc-20160816; b=hrsvTZvChrsQUA8uR/12R41D/lCvrCrJfdX/UviJ4kc68AG4t79RqesBqjqx6B33xg N1t0DnK434GbB7Iqj0o9Lo+XU5/50Or+zEh/BsOogFPAKBzJS0x8Ugzd4Cf7bEklQWfj QQb/Vdni2OBZ8vu+kERTvbHiHsF3r8IR6tIw8c7e8lxOskVpn3MtspMDgaZP7jNk3pYW 2Q3zcgcbaeZfs2ALFmswFtsVIcAqZr/f/Ed5wKO5BCpeDnWEXi1w/M/HQ33pMX9nh+iF WeTPq6dOoZW3tfMmASqxgvqY1BM/TL4qE6zNqpb3YfukQez5Sq1aZQv+4gvwVlT/66rD 856w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:message-id:date:thread-index:thread-topic:subject :cc:to:from:dkim-signature; bh=57CpxbVIez743VY6DNXhoOyFV+wA4u1PWruxv3MQiSk=; b=ATuWIYlmo2pMFosB/W7Z+kmaLEjw5q2CVFr7qAOMq9X37ahRIzbXokiN0VVGrXfDqA nVSxqSy1v3k1kD+Bd7VwA1iZTpRaEnXIqHko0okLhQxNF0naK/ANZxCj1qmDiumhTaju OW+j+8xcWIUKZIUmZWOYyHantJdO/e74CyBuJuyvhEHNg9Jn1xGJdRGNEw8AlbbUhssD KyPEONbUCNu16vaG7ERjogwP5xkQCvzS9QrSgww9BmYFDWqyvP+26hwoMmFH2OEYNRvX zYwOtofv+NzEFZ380wQTMAhFR0yXiDYZoRbHrBlDM/UwYEoxmQDDU+r9ldRiPVbzfhrW Febg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=FzViMpqX; 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=pass (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 n1si44639369pgh.172.2018.11.20.23.05.26; Tue, 20 Nov 2018 23:05:41 -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; dkim=pass header.i=@nxp.com header.s=selector1 header.b=FzViMpqX; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727343AbeKURhE (ORCPT + 99 others); Wed, 21 Nov 2018 12:37:04 -0500 Received: from mail-eopbgr20087.outbound.protection.outlook.com ([40.107.2.87]:2609 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726195AbeKURhE (ORCPT ); Wed, 21 Nov 2018 12:37:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=57CpxbVIez743VY6DNXhoOyFV+wA4u1PWruxv3MQiSk=; b=FzViMpqXjO6isiq3lymsGOHDH+MvOH18AoQg/khI8v9CiEzPQ5LSqsdULuX9OqI3uPwvYMTR3ePg13IIPksX3klXizAJAX6onosyq+1b4Mvxqvxj350D07gviMBJAjT1xYxOSCQQiMyAivG9fMspzOtSLHEe9v8ezU6tLKoceOY= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3836.eurprd04.prod.outlook.com (52.134.71.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1339.26; Wed, 21 Nov 2018 07:03:44 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::e992:8455:42e:7a0b]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::e992:8455:42e:7a0b%2]) with mapi id 15.20.1294.048; Wed, 21 Nov 2018 07:03:44 +0000 From: Anson Huang To: "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , Fabio Estevam , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: dl-linux-imx Subject: [PATCH] ARM: dts: imx6sll-evk: add debug LED support Thread-Topic: [PATCH] ARM: dts: imx6sll-evk: add debug LED support Thread-Index: AQHUgWhXHZckUhe/r02CTCvNkt/KZg== Date: Wed, 21 Nov 2018 07:03:44 +0000 Message-ID: <1542783500-19546-1-git-send-email-Anson.Huang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK0P153CA0036.APCP153.PROD.OUTLOOK.COM (2603:1096:203:17::24) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB3PR0402MB3836;6:PgWgO3QVAoNjtw59lQPUS0SsbdFB0XZHyNOAdtZwcpNNMp+DYxkLOcZqH4SiXpFESfPfSpJpK9RKWHpRmnmMwquHAJzqppZglJRrwpaGrNliykUx+SWP7ntf0qXgXGZ02yIbLASKQb+Df44hVNZdPOoN5eSaVGvjQRdgzl0eTHgXkSJN93sFbbZ8BgBiDGoVG2EatcGaBrxl4ItLIRXW6DDRpKBnhNfEb5D5PC4TbCekxl+Zgs2xT3v50mP1T9sNDDPStVPC80TELzs5Hol/ayWFXF3/aB7kJUAUJk/I+oJdNqJv9IKG3n2ZzqMUtbcqFcZVsZL46gc8Wyext/CcVkmvekLgnJHpg3MK2mGJr1EjZYk7o0vFmisO62TLCUgBDyKDxvUY0gLejoZTMoevDwRa+T5zwLTvxV72TaumL0SAB+O3MB+jRs2xZGsGdBq3dSEguAFvoHaOA7JFeLroPA==;5:6oZjPPWCvJZkZijjm2iy8MsaAF7XYzT5deW0Y/orB5UdiFCSg6j4Ug7h37jL1w7jBWYs13DK7JztyeyzLUG44W2QRehfEoICVRKPuKyGveM+enaD6lEAyjGTVwmBMU3QhT6bgnZ4NPTKrZwg0PH/VmVKobcxKprnRKqUcq+SBFM=;7:Q/FEhOd2u3vcRntdhiQ/GELR/UBg1B0o3ERUunX6w9xP+A8V02QbS8DyOAmnNjFqFh9gzsTuUDAjns08OBhbM6ZEa6qgN7MOX6CiPTn9n/dlchrAMHm4nV9PMXRAlgOYeN+3+BsVEAJFnl8MjPI5Bg== x-ms-office365-filtering-correlation-id: e6e512fb-e016-4914-d4da-08d64f7f79a7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:DB3PR0402MB3836; x-ms-traffictypediagnostic: DB3PR0402MB3836: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231442)(944501410)(52105112)(10201501046)(3002001)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(201708071742011)(7699051)(76991095);SRVR:DB3PR0402MB3836;BCL:0;PCL:0;RULEID:;SRVR:DB3PR0402MB3836; x-forefront-prvs: 08635C03D4 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(39860400002)(366004)(136003)(346002)(396003)(199004)(189003)(71190400001)(71200400001)(6116002)(3846002)(50226002)(6512007)(68736007)(2201001)(14454004)(97736004)(2906002)(316002)(2616005)(4326008)(6436002)(8936002)(110136005)(6486002)(5660300001)(66066001)(105586002)(102836004)(81166006)(8676002)(305945005)(7736002)(256004)(36756003)(478600001)(2900100001)(26005)(53936002)(81156014)(106356001)(86362001)(1857600001)(25786009)(186003)(386003)(6506007)(52116002)(2501003)(99286004)(486006)(476003)(32563001)(414714003)(473944003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3836;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: ZfE/N26tOoSi/mK69wXXjUEAZbBilcNGtKNDF//L2s0Mt52uZVMaRh2k9KeM7w0AGXj7R0EXoOudFwqD9Lk6sPBEopi2SmwZSEqFEKZn0I2QeOzZHp3Uz+CsCFT6DVHkkxyhuQzqyiVDtxhmpP8/n5aomG3qBVEp/Kn1mmx7mn3UN1sqN8fYqKnNGTvP99rMUxP9b12p91kzqFyX1DwE7fbl06rpK1Kj9J+fSCgze2TA1KD3V2C/vqkPeq64U09h3KbYNwbwHLSCmf7K3NSV8CCAOJH2AohFLsLEHB38jRiiA32XcpNjsKotNMdFaMiHFtp86W48Fj02gmQ/ud8VSoCuhvNd7hi6gkZO7iYTtsA= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e6e512fb-e016-4914-d4da-08d64f7f79a7 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Nov 2018 07:03:44.5981 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3836 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On i.MX6SLL EVK board, there is a debug LED controlled by MX6SLL_PAD_EPDC_VCOM1__GPIO2_IO04 pin, add support for it. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6sll-evk.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/imx6sll-evk.dts b/arch/arm/boot/dts/imx6sll-= evk.dts index c8e1155..9c90cbd 100644 --- a/arch/arm/boot/dts/imx6sll-evk.dts +++ b/arch/arm/boot/dts/imx6sll-evk.dts @@ -31,6 +31,18 @@ status =3D "okay"; }; =20 + leds { + compatible =3D "gpio-leds"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_led>; + + user { + label =3D "debug"; + gpios =3D <&gpio2 4 GPIO_ACTIVE_HIGH>; + linux,default-trigger =3D "heartbeat"; + }; + }; + reg_usb_otg1_vbus: regulator-otg1-vbus { compatible =3D "regulator-fixed"; pinctrl-names =3D "default"; @@ -455,6 +467,12 @@ >; }; =20 + pinctrl_led: ledgrp { + fsl,pins =3D < + MX6SLL_PAD_EPDC_VCOM1__GPIO2_IO04 0x17059 + >; + }; + pinctrl_pwm1: pmw1grp { fsl,pins =3D < MX6SLL_PAD_PWM1__PWM1_OUT 0x110b0 --=20 2.7.4