From patchwork Fri Dec 21 17:37:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongjin Kim X-Patchwork-Id: 1904461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 67D933FC64 for ; Fri, 21 Dec 2012 17:42:19 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Tm6Z7-0002q2-HL; Fri, 21 Dec 2012 17:39:21 +0000 Received: from mail-pb0-f50.google.com ([209.85.160.50]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Tm6Z0-0002p6-Nj for linux-arm-kernel@lists.infradead.org; Fri, 21 Dec 2012 17:39:15 +0000 Received: by mail-pb0-f50.google.com with SMTP id wz7so2874210pbc.23 for ; Fri, 21 Dec 2012 09:39:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=H88D3zaACeefvrHT3ePXKzjSI3tNWwoQTfDjHxDlxYM=; b=m/243WXcz64GmPfs+HRSp4agOP7iJ5ZdOgXeJ7dmzkZqrsoo24XS1dlElelbAswd9J 2mGL/WclK58LEzK36X1DmzZgzSVR1+HssF+1tfQmIWgC1305Ogb1sAf4blOVfoUuVPQK FB6jBg/u543PJ8lQ6PNxT+M4YQYsy+Eyn4438cAVsaT8nNuvAdEwiKotX241qSV4xYE/ W9STLP22Q+/9MI3QsJIFQvi9zPiLDxZGtmTvHR7FY3c4PHyUplKQqAqzB3QBMHYlpcE+ k2biGAUC+2CfhlRWdgwYIQqhfma/mAUg6jnegjt45hnWJ4oqeSm09ioSPD4Q3z7o5MGh s2SA== X-Received: by 10.68.191.200 with SMTP id ha8mr41708074pbc.51.1356111552636; Fri, 21 Dec 2012 09:39:12 -0800 (PST) Received: from localhost.localdomain ([125.177.223.206]) by mx.google.com with ESMTPS id pu5sm7308867pbb.73.2012.12.21.09.39.09 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Dec 2012 09:39:11 -0800 (PST) From: Dongjin Kim To: Subject: [PATCH v2 3/4] ODROID-X: dts: Add nodes for leds based on GPIO. Date: Sat, 22 Dec 2012 02:37:02 +0900 Message-Id: <1356111423-3454-4-git-send-email-tobetter@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1356111423-3454-1-git-send-email-tobetter@gmail.com> References: <1356111423-3454-1-git-send-email-tobetter@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121221_123914_957244_FF75B38C X-CRM114-Status: GOOD ( 10.62 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.50 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tobetter[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Kukjin Kim , Russell King , linux-kernel@vger.kernel.org, Thomas Abraham , Dongjin Kim , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch adds GPIO connected LEDS on ODROID-X board, and describe its properties. Signed-off-by: Dongjin Kim --- arch/arm/boot/dts/exynos4412-odroidx.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts index 3d53663..e5c57c1 100644 --- a/arch/arm/boot/dts/exynos4412-odroidx.dts +++ b/arch/arm/boot/dts/exynos4412-odroidx.dts @@ -54,4 +54,18 @@ enable-active-high; regulator-boot-on; }; + + leds { + compatible = "gpio-leds"; + led1 { + label = "led1:heart"; + gpios = <&gpc1 0 0>; + linux,default-trigger = "heartbeat"; + }; + led2 { + label = "led2:mmc0"; + gpios = <&gpc1 2 0>; + linux,default-trigger = "mmc0"; + }; + }; };