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: 124800 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp1320665lje; Wed, 17 Jan 2018 01:42:39 -0800 (PST) X-Google-Smtp-Source: ACJfBov+linhnzuXaih1r3JKtOD+Ud7K/VEJiIhxk+XeYPEn74FrxoAmZaYoEXegdzLiPwZNvGSZ X-Received: by 10.84.231.22 with SMTP id f22mr9303969plk.180.1516182159623; Wed, 17 Jan 2018 01:42:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516182159; cv=none; d=google.com; s=arc-20160816; b=ocXl8lgYNOr5lUXSDeI/WRtODluk9ycBuVFvOw8PSSaXLMYZVfIqUGEWLq5wyq+Hu6 MrT5iiSghdklsydqLPHmTd92KYCTW27sXz4cJVpOiFoFmRtY4teAjldDaUzSyU1Xgjyp dQTSCa3eIbqpqeLvAxKyd4Agz2WQ19+u0NxMoLhFJTYirQUHnPcjsJCfJu3SPKoyNgBU PXD5ERBlOOgVPC/qrkYLOIwMSkTIktQB2HLZaXamZEjW0zx/Wh921/iFczd76S2BJYe0 6qCMNhX07tiAxm3jlFq4qX7XPsttBPG7h+y92cKYbY2GsBg+DHLxxcF429PfoCIe76f3 fNuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=PGfo7hu4IPVO/Uy/3NP9mosMDnvw9aKcbcYMzBJwiXE=; b=sle5PuxCMM3HuRf1WtROJjU9SfxMD11+r1V+xniJ/LU+oVzuJNVcbRe6+3ollJsaHx VhQGQxc5eo2yEXtgY2BU5hs8XYmPHes2/j48vIlnm/5dwMZcML2M2+TaZySZTMWssLUH NsoO375g8dawtK9hbvx/sY+cfdvNLEn4HVS+YLiZD23j32O0cIC7BijgThPZ+GLevKUw wLbUCsG6ZwRr3LL3PwzogstArkA4W+vxYrQWFaIiZWitkNk0NYy09U/gr//fIhkB1Wkr 0lTYXJBofSRqfXuYeQoUtKfIREz1d9/XiDc+UfkDPJaIMsPuhi6N6gQt5nLuVo3KofuZ 3RCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CU/HvbYe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2si3509169pgc.37.2018.01.17.01.42.39; Wed, 17 Jan 2018 01:42:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CU/HvbYe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752725AbeAQJmh (ORCPT + 28 others); Wed, 17 Jan 2018 04:42:37 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:38925 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750815AbeAQJkU (ORCPT ); Wed, 17 Jan 2018 04:40:20 -0500 Received: by mail-wm0-f67.google.com with SMTP id i11so14185607wmf.4 for ; Wed, 17 Jan 2018 01:40:19 -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=C/OTmSSa5IurdoT2i8ZkqKmuQvCggHpTV/3MdW8U7ORjnTxnoxvrBiIqXFw/H0e3oO pbguJLJJaSkFdHiETsPRS806H3MbxaGiaWZEMwSKS09jvq3OVrgKPUcu0zJb+l7QCpR3 CfPDgSEordS5BpJd6ZkbCEaSZC+7Dem9UJ5JZA7ywDlc3jH+i4ixv5k8leScFNYnTvBw fge/LbwzOHfw/neTP6H4flvKAg/OT0XtS6T9/2Dk99Gr3vHSH+knGv9tu9MgIYyIIre5 Cac0m3a6yFuQNLeDcRMxu5edEirJ3DrCdB8j+Bsqya5DpLklurT6n8aFeodF0tOqBYKO 7dMQ== X-Gm-Message-State: AKwxytdxxNGoPLYolvLeWj2/vmGMX8OJaaNBd6w4McqVpcPHIheSYAwK cxsBVYPCe4P4yjV1qmFdYcuxjQ== 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 Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Benjamin Gaignard 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.15.0 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 {