From patchwork Wed Feb 3 11:04:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Coquelin X-Patchwork-Id: 577823 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 17B4D14033E for ; Wed, 3 Feb 2016 22:06:50 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=oZ2qst9V; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753420AbcBCLFP (ORCPT ); Wed, 3 Feb 2016 06:05:15 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35163 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754741AbcBCLFJ (ORCPT ); Wed, 3 Feb 2016 06:05:09 -0500 Received: by mail-wm0-f67.google.com with SMTP id l66so6823195wml.2; Wed, 03 Feb 2016 03:05:08 -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:in-reply-to:references; bh=8LoGq9C92uLPdtb/bpmqjQ459083as1G5Eiu+nQrGXQ=; b=oZ2qst9VekZ4LT+yxmSpDp2s24yaypD53w/jerWswy/eyVubLD0n8AOut/finN/Qci 1e1UtV6iZa36C4YrNiW+D/EYDdLxoXM6KnxXMEg4oMS+5NmnMaPY9+wjP7bOCSmveCoD h7GVzS1qnlYU9iH4nU1AyPw1HT1ySoEULhI80gQQkQiAlQWeHVwoQBzHl7Bal8xu9Ixv DQmT4xnHAZvPIIpw8vHQgJH+DcvLmotr5ZduD0HrUnGT0j2rdfMNEykmiu52X8HlUvxj yeqMxLVhSLY/vwGnBEG5ufqPrkkH6XSTfpL60W0mcBqnORNMMfHA8EFvTMn5oI12VkZD P4jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8LoGq9C92uLPdtb/bpmqjQ459083as1G5Eiu+nQrGXQ=; b=LhiIaiLrBQqn8HS5JvGuxHpx4I6L8x4hOOQP1ExOWBGm4opeDTXllVj4sgZ9a4LqaZ AWYef4HRURpFyoldHHC5tBdvVXooOI+PFOgcF2wFeti8KcJz6/yfgGfj0+rI0PL/tapJ UL6L8PSalgAqlcrNna7nMBo5Z+hXVxnUtEJ0NmihMCNKrpuxjCWJe+On98IpOIm89sYy 2D8PYfyic5Gp0ZCNAq98zANmtmKXGiiLEWk8Zc+v1dg6fm5UXryEgvOCxVuc2a2C0r7e qR8q1lfrdSaRjvRtmdZrVqrypDiW0Wq5dr7IlcfaAq3Qu80vE1ssN1f6b+neYk+VY4jj +8OQ== X-Gm-Message-State: AG10YOTLQC01pyK7cmzZBd49AkAKSAW//vtQKlOQM+DlDOQtM4qq9PlyBr4pCsuSBfboQg== X-Received: by 10.28.175.209 with SMTP id y200mr22532363wme.70.1454497508428; Wed, 03 Feb 2016 03:05:08 -0800 (PST) Received: from lmecul0520.st.com. (238.204.154.77.rev.sfr.net. [77.154.204.238]) by smtp.gmail.com with ESMTPSA id p9sm5911996wjy.41.2016.02.03.03.05.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Feb 2016 03:05:08 -0800 (PST) From: Maxime Coquelin To: patrice.chotard@st.com, Linus Walleij , Mark Rutland , Rob Herring , linux-gpio@vger.kernel.org, arnd@arndb.de Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, afaerber@suse.de, devicetree@vger.kernel.org, Daniel Thompson , bruherrera@gmail.com Subject: [PATCH v5 8/9] ARM: dts: Add leds support to STM32F429 boards Date: Wed, 3 Feb 2016 12:04:44 +0100 Message-Id: <1454497485-464-9-git-send-email-mcoquelin.stm32@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1454497485-464-1-git-send-email-mcoquelin.stm32@gmail.com> References: <1454497485-464-1-git-send-email-mcoquelin.stm32@gmail.com> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Acked-by: Patrice Chotard Acked-by: Linus Walleij Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stm32429i-eval.dts | 17 +++++++++++++++++ arch/arm/boot/dts/stm32f429-disco.dts | 11 +++++++++++ 2 files changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index 71fe17a..e3921d9 100644 --- a/arch/arm/boot/dts/stm32429i-eval.dts +++ b/arch/arm/boot/dts/stm32429i-eval.dts @@ -64,6 +64,23 @@ aliases { serial0 = &usart1; }; + + leds { + compatible = "gpio-leds"; + green { + gpios = <&gpiog 6 1>; + linux,default-trigger = "heartbeat"; + }; + orange { + gpios = <&gpiog 7 1>; + }; + red { + gpios = <&gpiog 10 1>; + }; + blue { + gpios = <&gpiog 12 1>; + }; + }; }; &clk_hse { diff --git a/arch/arm/boot/dts/stm32f429-disco.dts b/arch/arm/boot/dts/stm32f429-disco.dts index e3ce796..0140807 100644 --- a/arch/arm/boot/dts/stm32f429-disco.dts +++ b/arch/arm/boot/dts/stm32f429-disco.dts @@ -64,6 +64,17 @@ aliases { serial0 = &usart1; }; + + leds { + compatible = "gpio-leds"; + red { + gpios = <&gpiog 14 0>; + }; + green { + gpios = <&gpiog 13 0>; + linux,default-trigger = "heartbeat"; + }; + }; }; &clk_hse {