From patchwork Thu Jan 14 12:16:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Coquelin X-Patchwork-Id: 567351 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 CF29F14032B for ; Thu, 14 Jan 2016 23:18:35 +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=sk+imHB9; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753010AbcANMST (ORCPT ); Thu, 14 Jan 2016 07:18:19 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:36284 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754406AbcANMSQ (ORCPT ); Thu, 14 Jan 2016 07:18:16 -0500 Received: by mail-wm0-f65.google.com with SMTP id l65so43090879wmf.3; Thu, 14 Jan 2016 04:18:15 -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=pPbjZ9HTD+fYGp+pPAjEghgcGsXtzBCev3hyEsxRx5w=; b=sk+imHB9IZBai1eUihfVCi1W6J4FubGIqz+/vQJR9Rkfj5lzCMshbPKBzJ307QbCMd sI7rKQA88vmoOUk/ZuA3vFpRUaTcUmsja3Pj+sOfl4HECmGRaOXpjc/Z3m6jd2b+7p4r hc7yc9WWLMW4G6lAeF1+yKKPkhJct43htlFsVbsQw/tD77+jjkeAX7THO7gI3XBjylMJ 8GX1AziVhrrEpCfGu2l6ZLbmSwnT/yfs95vzODosv6rMQNfIUuxfJWmxfBwLdPLdSpkX I+2rBDNoBMUodd9WUJs9amUCmlB/1cvJ2kO1s1PTKqXH9/cmndWlrJaOGYBFgkrAx+ti 6LUw== 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=pPbjZ9HTD+fYGp+pPAjEghgcGsXtzBCev3hyEsxRx5w=; b=QcZCHiwzFU0wYSndOlJqSbxkc4mRwZK06MOMMoA7prH+nQR+QdnbJJfXggvLRqLGBf 7TOziiPcQLfGb1+G0qhPwb1en7ZXW36UyO7nzX+PgoDk92wyiIAGuA56vjIBAZ92kQ/n 6lr7Mlly044sMECIrmRi3wL1ZhEarEFkpvJ3/j9EX3jFgS0r1h9Eviddxe3fCpuncEPu 6qpgPs2aedSrAAfdnDTpRmTv5daM+2TtqN0Rf/WPhGy9a8p/MG6oA9PU5mR0OGgTcrW6 TC/gQxcTVlPw5s+AKyW4dtsPs2NjCz04u3UoBFMu1ARoI9qdkPZtzcoHz5WwsaNSYluz FJDw== X-Gm-Message-State: ALoCoQmhTC6M8kvwrdKHP0UnqOEhQkN5FcGjrlzy4BnPpTMsCvryUCZeYi8HTqeekAn9YWmVMFylE9g2uBFqavOAf5eUp9yJVw== X-Received: by 10.28.111.217 with SMTP id c86mr29529477wmi.31.1452773894787; Thu, 14 Jan 2016 04:18:14 -0800 (PST) Received: from lmecul0520.st.com. (101.204.154.77.rev.sfr.net. [77.154.204.101]) by smtp.gmail.com with ESMTPSA id t9sm5822917wjf.33.2016.01.14.04.18.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Jan 2016 04:18:14 -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 v4 8/9] ARM: dts: Add leds support to STM32F429 boards Date: Thu, 14 Jan 2016 13:16:34 +0100 Message-Id: <1452773795-24216-9-git-send-email-mcoquelin.stm32@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1452773795-24216-1-git-send-email-mcoquelin.stm32@gmail.com> References: <1452773795-24216-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 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 {