From patchwork Thu Feb 12 00:55:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 5814951 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2780FBF440 for ; Thu, 12 Feb 2015 00:59:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4D350201ED for ; Thu, 12 Feb 2015 00:59:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 89ACA20148 for ; Thu, 12 Feb 2015 00:59:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YLi5a-0005y0-VQ; Thu, 12 Feb 2015 00:57:06 +0000 Received: from cantor2.suse.de ([195.135.220.15] helo=mx2.suse.de) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YLi4O-000500-2L for linux-arm-kernel@lists.infradead.org; Thu, 12 Feb 2015 00:55:53 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 09167ACAB; Thu, 12 Feb 2015 00:55:31 +0000 (UTC) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: Michal Simek Subject: [PATCH 3/5] ARM: dts: zynq: Add LED for Parallella Date: Thu, 12 Feb 2015 01:55:11 +0100 Message-Id: <1423702513-4032-4-git-send-email-afaerber@suse.de> X-Mailer: git-send-email 2.2.2 In-Reply-To: <1423702513-4032-1-git-send-email-afaerber@suse.de> References: <1423702513-4032-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150211_165552_358080_98F95A3A X-CRM114-Status: UNSURE ( 9.15 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: Mark Rutland , "open list:OPEN FIRMWARE AND..." , Russell King , Ola Jeppsson , Pawel Moll , Andreas Olofsson , Ian Campbell , open list , Rob Herring , =?UTF-8?q?S=C3=B6ren=20Brinkmann?= , Matteo Vit , Sean Rickerd , Olof Johansson , Kumar Gala , =?UTF-8?q?Andreas=20F=C3=A4rber?= , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This is the green LED CR10. Signed-off-by: Andreas Färber --- arch/arm/boot/dts/zynq-parallella1.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/zynq-parallella1.dtsi b/arch/arm/boot/dts/zynq-parallella1.dtsi index e77a4968fe17..8b2895c06c8e 100644 --- a/arch/arm/boot/dts/zynq-parallella1.dtsi +++ b/arch/arm/boot/dts/zynq-parallella1.dtsi @@ -18,6 +18,7 @@ * GNU General Public License for more details. */ /include/ "zynq-7000.dtsi" +#include / { compatible = "adapteva,parallella", "xlnx,zynq-7000"; @@ -36,6 +37,16 @@ bootargs = "console=ttyPS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait"; linux,stdout-path = "/amba/serial@e0001000"; }; + + leds { + compatible = "gpio-leds"; + + cr10 { + label = "parallella:cr10:usr"; + gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + }; }; &clkc {