From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756672AbbJIOhh (ORCPT ); Fri, 9 Oct 2015 10:37:37 -0400 Received: from ducie-dc1.codethink.co.uk ([185.25.241.215]:51448 "EHLO ducie-dc1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756375AbbJIOhR (ORCPT ); Fri, 9 Oct 2015 10:37:17 -0400 From: Edward Cragg To: linux-arm-kernel@lists.infradead.org Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Carlo Caione , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] ARM: meson: Add status LED for Odroid-C1 Date: Fri, 9 Oct 2015 15:37:10 +0100 Message-Id: <1444401430-4396-2-git-send-email-edward.cragg@codethink.co.uk> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1444401430-4396-1-git-send-email-edward.cragg@codethink.co.uk> References: <1444401430-4396-1-git-send-email-edward.cragg@codethink.co.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the blue status LED to the Hardkernel Odroid C1 board DTS. This is the only programmable LED on the board. Signed-off-by: Edward Cragg --- arch/arm/boot/dts/meson8b-odroidc1.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index a8e2911..3b03523 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -1,6 +1,8 @@ /* * Copyright 2015 Endless Mobile, Inc. * Author: Carlo Caione + * Copyright 2015 Codethink Ltd. + * 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 +48,7 @@ /dts-v1/; #include "meson8b.dtsi" +#include / { model = "Hardkernel ODROID-C1"; @@ -58,6 +61,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"; + }; + }; }; &uart_AO { -- 2.5.0