From patchwork Wed Nov 4 12:17:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ed X-Patchwork-Id: 7549381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D07A69F399 for ; Wed, 4 Nov 2015 12:19:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 166B02066B for ; Wed, 4 Nov 2015 12:19:15 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 12BF92066A for ; Wed, 4 Nov 2015 12:19:14 +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 1Ztx0f-0004jA-TQ; Wed, 04 Nov 2015 12:17:49 +0000 Received: from ducie-dc1.codethink.co.uk ([185.25.241.215]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ztx0b-0004c2-E9 for linux-arm-kernel@lists.infradead.org; Wed, 04 Nov 2015 12:17:46 +0000 Received: from localhost (localhost [127.0.0.1]) by ducie-dc1.codethink.co.uk (Postfix) with ESMTP id D3928461D07; Wed, 4 Nov 2015 12:17:20 +0000 (GMT) X-Virus-Scanned: Debian amavisd-new at ducie-dc1.codethink.co.uk Received: from ducie-dc1.codethink.co.uk ([127.0.0.1]) by localhost (ducie-dc1.codethink.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZoYbB6-AWyOm; Wed, 4 Nov 2015 12:17:20 +0000 (GMT) Received: from pomo (pomo.dyn.ducie.codethink.co.uk [10.24.2.122]) by ducie-dc1.codethink.co.uk (Postfix) with ESMTPSA id A76B94600CE; Wed, 4 Nov 2015 12:17:20 +0000 (GMT) Received: from ed by pomo with local (Exim 4.86) (envelope-from ) id 1Ztx0C-000144-B5; Wed, 04 Nov 2015 12:17:20 +0000 From: Edward Cragg To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2] ARM: meson: Add status LED for Odroid-C1 Date: Wed, 4 Nov 2015 12:17:20 +0000 Message-Id: <1446639440-4057-1-git-send-email-edward.cragg@codethink.co.uk> X-Mailer: git-send-email 2.6.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151104_041745_690676_651954CB X-CRM114-Status: GOOD ( 12.18 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Russell King , Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, Rob Herring , ct173-kernel-internal@lists.codethink.co.uk, Kumar Gala , Carlo Caione MIME-Version: 1.0 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 Add the blue status LED to the Hardkernel Odroid C1 board DTS. Signed-off-by: --- Changes in v2: - Remove additional copyright arch/arm/boot/dts/meson8b-odroidc1.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index 88669a7..1f03406 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -1,6 +1,7 @@ /* * Copyright 2015 Endless Mobile, Inc. * Author: Carlo Caione + * Author: Edward Cragg * * This file is dual-licensed: you can use it either under the terms * of the GPL or the X11 license, at your option. Note that this dual @@ -46,6 +47,7 @@ /dts-v1/; #include "meson8b.dtsi" +#include / { model = "Hardkernel ODROID-C1"; @@ -58,6 +60,16 @@ memory { reg = <0x40000000 0x40000000>; }; + + leds { + compatible = "gpio-leds"; + blue { + label = "c1:blue:alive"; + gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>; + linux,default-trigger = "heartbeat"; + default-state = "off"; + }; + }; }; &mmc0 {