From patchwork Wed Jan 17 09:40:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 124797 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp1320140lje; Wed, 17 Jan 2018 01:40:21 -0800 (PST) X-Google-Smtp-Source: ACJfBouvu3SkammN5BV4VYTjErkGhvYceOQtO1Qqq8CtKTIxVSWg/PgdcJaczGoGKQOPwz/MRP5N X-Received: by 10.99.185.74 with SMTP id v10mr32349419pgo.361.1516182021471; Wed, 17 Jan 2018 01:40:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516182021; cv=none; d=google.com; s=arc-20160816; b=vZsGuqexrNsonGMcrj4IJtfE+YFHfbpYlNaguqB3qebNJblfnt0R6n0PZvRa3X8zCd WhQ30xKPE62aY83OZRZvqlojkzWbot/lGcEQxktqqLpQctFdfWjPpERX1bR1SyDxekN5 i7Nm0nQY906S2CuXPSKgJZL2S8HQIR1HyQI5ebGdvps6sqAeqkEtAZgiU10V84EdPz0P bHQmJK9+sN78tYCxFXZODLno2EcMEEdMCAmTXQufgmAxC+LEFrK9caYrS/YOx/C44T8K aspuS0vDL1FrO3QeSeXpxdoGbBRBAyozcmrtzwzXUZtaI4d7Z/VwzpEUKU/TBSy6Du2c oRAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=C0NzioKTmTHIUVcn606+NJAZOZMqBGZz7s2XAIiSL+A=; b=yb6+96h7rx7Cp+o5VCYCkfAsjGTRAuwKRszbFcPTm8q87UyL0+841yaj2s1YHyDzCi jO1db4H3p7a5SH3MJsP6GrFlKvtvOQi3rJFzv8XP5zn69c629FWo4VIYIHTP0maC2D0B qPQ3s5DesJuBfsgzEOc+wJ0Q2kPBPhuBiAw8Ow/Bvlw7z+S3TreqzXq9f5lcKxEdJvfi WFA44A68rmsZPzzVp0rYKCiGywl+yh6S5pcHUssZj+g3BEGnRr9OXyAYP3fpez61Er2u n+mUkfSX9L/D1YbInQXK2riuLkDOo04vnldtUmBHaEvOwdtkhh3fd0MsCQpHbL1JfQbs t95A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=iFyWlILN; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (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 o4si3440743pga.659.2018.01.17.01.40.21; Wed, 17 Jan 2018 01:40:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=iFyWlILN; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750830AbeAQJkT (ORCPT + 6 others); Wed, 17 Jan 2018 04:40:19 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35023 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750815AbeAQJkS (ORCPT ); Wed, 17 Jan 2018 04:40:18 -0500 Received: by mail-wm0-f65.google.com with SMTP id r78so14343437wme.0 for ; Wed, 17 Jan 2018 01:40:17 -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; bh=cqn/K3VWBqXK08mIpxM5n5jBZllVRwbaYebTQ3UyN70=; b=iFyWlILNSYsC2yJ2CGZPQJNjPEUGyPdYp2Up84v/SpA8oUaQmc0SBKP4dydHfYQAeD 07BRPXXKbzkxKrG78462nWR6zWX/Hr4oExLBx4jmHMP7vF8Q3AWwWJ6GjaOMafXe4x/o LfUTavhr5AL6ske71fzuthDNt6jmzOzPoy9rI= 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; bh=cqn/K3VWBqXK08mIpxM5n5jBZllVRwbaYebTQ3UyN70=; b=HGUWLdCQ1V7vsPX2Akmb6jEMyftuB/SQ+OoFviQkHi6371bxxrQp15Xvjq4b7voKAs Ai3LmL/e8jqfU5ndHrm9oHlCuCVI2fzyEfzoPkF2HYqY4H7xhPmrn/CrdOd9IJhDUeZW L/8gYlhGDzdiWq7phkbHyQo+ESXyLOMVvevhN34hDhJbB/5SYZAf3ZtQM35+2mcAEWkB xT5bdf5jJbaEgEOURfqzfN4wXbHWG0yosJ0qayHw8I91sYL7lsQHX+UgVxXDVoYodj15 46BDpqLm5Ojmn+Dlaj8qADt9f5drIZwTvYS9iBND28ZFVwf7eIqSkAN9IlDwAkXOFKeS K3Iw== X-Gm-Message-State: AKwxyte9UOJDmJV9Q8+vhbt+9Uq9YJ1iTG56s+vuF8QM/zwpAMDOGXui oBOJ27e0VKvY6WNxBtuRm0EyRw== X-Received: by 10.28.147.66 with SMTP id v63mr1469978wmd.118.1516182016968; Wed, 17 Jan 2018 01:40:16 -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.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Jan 2018 01:40:16 -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 stm32f469 Discovery board Date: Wed, 17 Jan 2018 10:40:02 +0100 Message-Id: <20180117094005.20728-1-benjamin.gaignard@st.com> X-Mailer: git-send-email 2.15.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add nodes for the four user leds. Signed-off-by: Benjamin Gaignard --- arch/arm/boot/dts/stm32f469-disco.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts index c18acbe4cf4e..5e9994840a24 100644 --- a/arch/arm/boot/dts/stm32f469-disco.dts +++ b/arch/arm/boot/dts/stm32f469-disco.dts @@ -70,6 +70,22 @@ dma-ranges = <0xc0000000 0x0 0x10000000>; }; + leds { + compatible = "gpio-leds"; + green { + gpios = <&gpiog 6 1>; + linux,default-trigger = "heartbeat"; + }; + orange { + gpios = <&gpiod 4 1>; + }; + red { + gpios = <&gpiod 5 1>; + }; + blue { + gpios = <&gpiok 3 1>; + }; + /* This turns on vbus for otg for host mode (dwc2) */ vcc5v_otg: vcc5v-otg-regulator { compatible = "regulator-fixed";