From patchwork Mon Dec 17 19:55:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongjin Kim X-Patchwork-Id: 1888821 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 709F8DF266 for ; Mon, 17 Dec 2012 20:00:03 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Tkgoh-0003Mx-Pe; Mon, 17 Dec 2012 19:57:36 +0000 Received: from mail-pb0-f49.google.com ([209.85.160.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TkgoQ-0003Gt-5H for linux-arm-kernel@lists.infradead.org; Mon, 17 Dec 2012 19:57:20 +0000 Received: by mail-pb0-f49.google.com with SMTP id un15so3822729pbc.36 for ; Mon, 17 Dec 2012 11:57:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=kg00WiA4fZXdQdww/VEDv15vnu6wpyidnRdZklfKDc8=; b=h9LW1yBXJPTakRZROr9Kcpo3e49rIWqz8x0VFRWFTW9i+dviD7rYgEF+4KJnGNqHsZ ri7wa/gMicsGdcYMacwbwgcZfXEWMZQg0Bz81zbylVl5IuL6RWbo/donyAYs0khS1zK3 DJegy1pGI7Bo2Twk4tN/5xI8nygRo8GFdfomqBx9Hywq89hIBEIZ/g+n+IR2VdwIwe8y 3WSlsHDqlnMwbdH8ySeF/hqUtur7WDighsY6jVBIbxrXQpwkf4OPXHh0pMxQ5Ai1XCX8 sO+Ho2hn6wH3RUsN8j+ZZ3rOLcLDQwGXnuVQ75Ameiao3BneEnU1tWdw/us19zcrqoxA tuiA== Received: by 10.68.224.165 with SMTP id rd5mr47412972pbc.49.1355774237281; Mon, 17 Dec 2012 11:57:17 -0800 (PST) Received: from localhost.localdomain ([125.177.223.206]) by mx.google.com with ESMTPS id ay5sm9094745pab.1.2012.12.17.11.57.13 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Dec 2012 11:57:16 -0800 (PST) From: Dongjin Kim To: Subject: [PATCH 3/4] ODROID-X: dts: Add nodes for leds based on GPIO. Date: Tue, 18 Dec 2012 04:55:06 +0900 Message-Id: <1355774107-364-4-git-send-email-tobetter@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1355774107-364-1-git-send-email-tobetter@gmail.com> References: <1355774107-364-1-git-send-email-tobetter@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121217_145718_424498_471D9079 X-CRM114-Status: UNSURE ( 9.72 ) X-CRM114-Notice: Please train this message. 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.49 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: kgene.kim@samsung.com, Russell King , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, thomas.abraham@linaro.org, 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 2d45dcb..3943011 100644 --- a/arch/arm/boot/dts/exynos4412-odroidx.dts +++ b/arch/arm/boot/dts/exynos4412-odroidx.dts @@ -59,4 +59,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"; + }; + }; };