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: 8200501 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2E538BEEE5 for ; Wed, 3 Feb 2016 11:08:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4FCF720279 for ; Wed, 3 Feb 2016 11:08:02 +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 0BCC520263 for ; Wed, 3 Feb 2016 11:08:00 +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 1aQvGU-00015b-K3; Wed, 03 Feb 2016 11:06:26 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aQvFY-0008M1-2h for linux-arm-kernel@lists.infradead.org; Wed, 03 Feb 2016 11:05:29 +0000 Received: by mail-wm0-x244.google.com with SMTP id r129so6829707wmr.0 for ; Wed, 03 Feb 2016 03:05:09 -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=RU+T9xyO6yUEdXfUsPCMKlw9sLL6ycOz59Oa03F6L+wkWqjDchMhZqz6MLhUlnPhQ/ F9JhsuLkU+vExiZGEwmAVqoSYHnNZOI40+TzmLGrjcUvU2sA8yoqNqySUTF4ozjod2fJ uGO0BfO5wZ8KMrnacOrmcQDPbRyOI7mAl7JU+2xwgduccHMhFnqqSrTKa+c5+S6jF0wg 6FYyIwSIwDrlRHbJ4IIG1j8LpvLO+tmiAUDTcO0DT4rGZCGW6bRAkHh9QcH7EUzEimU9 n1J3KJdKiDCT/PDOJ3NvE8LXPM5ta5ltnSWUpnPmabtmq9Yf+LxnOBrFCKoIQETcXo5Z 6RFw== X-Gm-Message-State: AG10YOSLE5dLoLxr0WXQ68fJsGjAn3zUG8lCOyRBzfzdImQjye1xiSVI6eEQ1dYnCgtQAA== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160203_030528_410947_6BCF6795 X-CRM114-Status: UNSURE ( 9.89 ) 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.5 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 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 {