From patchwork Wed Jan 17 09:40:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 10168869 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 755156055D for ; Wed, 17 Jan 2018 09:41:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6238B2856E for ; Wed, 17 Jan 2018 09:41:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 60A0228584; Wed, 17 Jan 2018 09:41:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DAA962856E for ; Wed, 17 Jan 2018 09:41:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=rrNbFo3TzHkGUiVmfxIt6VjKeUdily2wMQsLwrfuLUw=; b=lfTbtbGrH1O6kJN4b/bi8omX5d PUVupFzZiyF7Xj3zpy/rMTL8hzGMFgX8Vc1TyDNLSMUgA29DsoCd7L1etq+VsnLEBR+LN3/Rc9+6v 1sC/sBl+1z+8BjNVIBhF1y0dT9vECNP9CSyoN8mCUEANq2GroavX+2aCso4KmNnV4IPlTk70AlKki MG/G7S+PupOXNWZuEtW1XhBv6neF1i6CydC/00alht0d4e0Q0B+eISXvJW5eq+nx18N83PApS6t2K 5lTbGKITENPiKYZU+iNxIKYJcZ8RjJuCwCv7kd0AB9pITz6V3obYjLXrxjGNF+xUHDYEyf/AJJYJ/ oVMUSPRg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ebkDU-0008Ku-9y; Wed, 17 Jan 2018 09:41:08 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ebkCs-0007eE-Sn for linux-arm-kernel@lists.infradead.org; Wed, 17 Jan 2018 09:40:36 +0000 Received: by mail-wm0-x242.google.com with SMTP id v71so14321375wmv.2 for ; Wed, 17 Jan 2018 01:40:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PGfo7hu4IPVO/Uy/3NP9mosMDnvw9aKcbcYMzBJwiXE=; b=CU/HvbYezrvaHaohDvX1qT14h8+IBlCENL7Kit6JHOrsZKyNlNFceypjFiaXi8OzAJ VIH8dCIsoHUq2akYS07l5Cwt6pcJq9P6cwoBQDkZA48iy/wGz0yrckRL5yJQBxTanfJT G4LSHaltWUZUmHPcF7XOYNs+6tSAC1JE1C9WQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PGfo7hu4IPVO/Uy/3NP9mosMDnvw9aKcbcYMzBJwiXE=; b=Xb2fdhaOUSAfLvJi5qRJua5Y6WH6Klg0djD0SEuegNErJOAB08Y4A2z9XDS0O6MLlW GtW6q0ChMKJHpe0fozf2hzYtH4YgURas+Txy+n9EOx7WW6OpCtedeVIY36x80jrD9fry oVkBTpdkFDM6AYbb+RqC4syI/UkBfJj2u9VgMPqZ+/2A1YAKvJ4sqmLLxZjyF6qMsqQU ObaNolMSi7T7/kPJPk3hn93sauKqNtzRI59hp+I4rXvIVtvpn/Gt8OppQky/b5+QO15O +HlVnrhD7/FDdbWOSbxhWl5AqJdsU3nIo+8+SK0zdVt3TLVTAcv6qftxW0Wqqhi0lr4k IYsQ== X-Gm-Message-State: AKwxytfFG2BqB7B1LmrwDs4ZrIy5OvaxVT6tTc8JjJ/sKTQqHz7rWxAs tFgu4EnrOYqcrJHYRGniW3KLIg== X-Google-Smtp-Source: ACJfBos0O4NRlGjq3iZtF6hna7Hrmh9wKfq41idA/SB9S191FxJA58NWFn2YxgqLVc37pvl6F1v1qw== X-Received: by 10.28.54.221 with SMTP id y90mr1487494wmh.156.1516182018949; Wed, 17 Jan 2018 01:40:18 -0800 (PST) Received: from lmecxl0911.lme.st.com ([80.215.196.6]) by smtp.gmail.com with ESMTPSA id p32sm7076124wrc.9.2018.01.17.01.40.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Jan 2018 01:40:18 -0800 (PST) From: Benjamin Gaignard X-Google-Original-From: Benjamin Gaignard To: robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com Subject: [PATCH] ARM: dts: stm32: Add leds support to stm32f769 Discovery board Date: Wed, 17 Jan 2018 10:40:03 +0100 Message-Id: <20180117094005.20728-2-benjamin.gaignard@st.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20180117094005.20728-1-benjamin.gaignard@st.com> References: <20180117094005.20728-1-benjamin.gaignard@st.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Benjamin Gaignard MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add nodes for the two user leds. Signed-off-by: Benjamin Gaignard --- arch/arm/boot/dts/stm32f769-disco.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stm32f769-disco.dts b/arch/arm/boot/dts/stm32f769-disco.dts index 4463ca13a740..25a4b71f0317 100644 --- a/arch/arm/boot/dts/stm32f769-disco.dts +++ b/arch/arm/boot/dts/stm32f769-disco.dts @@ -61,6 +61,16 @@ serial0 = &usart1; }; + leds { + compatible = "gpio-leds"; + green { + gpios = <&gpioj 5 0>; + linux,default-trigger = "heartbeat"; + }; + red { + gpios = <&gpioj 13 0>; + }; + }; }; &cec {