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: 8031401 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 70F5C9F3F6 for ; Thu, 14 Jan 2016 12:23:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8F14A2043C for ; Thu, 14 Jan 2016 12:23:07 +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 C582E20437 for ; Thu, 14 Jan 2016 12:23:06 +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 1aJguK-0002sH-VJ; Thu, 14 Jan 2016 12:21:41 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aJgrH-0005hd-6Z for linux-arm-kernel@lists.infradead.org; Thu, 14 Jan 2016 12:18:35 +0000 Received: by mail-wm0-x242.google.com with SMTP id f206so43122704wmf.2 for ; Thu, 14 Jan 2016 04:18:16 -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=M+EgQZIp8cgp8wVVozRyLTiZoYfAx0G8nV00MaSPT5zJLc8CKnuPPqd880EKZmAvlR /qRgntfvE+QZ43j8REvqhGAZua/CPGFOSAXkaN7AQwMY0eJbPDcO7nfu/vS01pMmZqt/ 2LHW69KPg0s1iIzofLk/iC/+MqWC3hpCBZZgoGZtI9GAxtWplTgvvbDSNlSJXAadIXz7 2VpGQvRtRurYAhmafh/hgo3fDyEDfGQI7aXLn/PliPxIdV01/RggwhLo8Tue6sBsP+Sa Jm2Cy4jjVArhNXZw0yhgBq5q4yVEZF/4x/JYAbYFP6qp3A0EQyeI7bwknUGY0SzICnkM oIHg== X-Gm-Message-State: ALoCoQliYza+NwG+7hBnmRFGJsSDxEb+K5HlK69EMObzZU1yXliwjs0wCXGkOGeAUQzMOYfsl7URxwnGv0sc9GSvs7FvJObLOw== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160114_041831_761279_AF75B55D X-CRM114-Status: UNSURE ( 9.40 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) 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: devicetree@vger.kernel.org, Daniel Thompson , bruherrera@gmail.com, linux-kernel@vger.kernel.org, afaerber@suse.de, linux-arm-kernel@lists.infradead.org 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.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 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 {