From patchwork Wed Jan 17 09:40:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 124799 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp1320364lje; Wed, 17 Jan 2018 01:41:11 -0800 (PST) X-Google-Smtp-Source: ACJfBotsPGxu5LPc4x9AGYnKK5n38dIbwve3xMWrApiMA+Y781CvY0YgVDWjhy+bExZ0gs1K7kb1 X-Received: by 10.101.99.129 with SMTP id h1mr19692191pgv.101.1516182071621; Wed, 17 Jan 2018 01:41:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516182071; cv=none; d=google.com; s=arc-20160816; b=m+pu8MaCTQR9EBbPXxIFQnCFYO4pEDhJA/c8IwZX2N4MPCjJ2cHLJ3dbaYjOAT3LnY d3WHKnz+mHAs08ngqI6fHY4Ur4dvxRquEYmdIIFCDqqdpvI+T43s5z8uzLJ48s2cxDro joq7zRC7LLwcQvu1e1UkfEd5sEOuW3RSRxcqbsAgLhVglq3RD4dy4qTz8MNm/xwqEDIg gn2B8+/UyTudhPApaqyEN6HvpCwzhWFKa8Cc41MadNNt8uRskgvp+okLNKJfe5+m2MJf XHIXGV8PcMzLyKALay0Hk6XsICQbstBGXig3PZ+T74awHqonw3Q+WHQBkNbbjd8aSwEi XJFg== 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=gOv0dExFIulzT0LITi4aavIftaAXttuEHw1gyHCdFA0=; b=C5fRSsUH08t8OtU57+P1QB4psE7BJ74ZnwpMGpweF8/1Bx3qncynMoyBk5G7u8ASs0 7Jbt7TJNG5xUsJAdPkvWCA0rfDRuWnoQNaCXhgR+s/hvxHJqYiZwshM4v2qmyw3KW2Cg tYqlUYS4G3mDGEJbd/BgBkVLwLtd5auKqIKpnr5r/fBiQvEML/3fFKHkOR8fIpYsQYwD CHc1Tx4rE/ZzZ6ph5Bm2dw6x/Anx9m0P+YKXy2/INf1/vF4fAxmuF19LR3wecApRRiKh ytRGixq5LO/bN1kNB7AHOZZB9yq94FmTfJGiIRlM4kIvli7omGNLoTuA7w8VSalbEMwd U29Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BGPOtU2d; 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 d10si3421279pgp.717.2018.01.17.01.41.11; Wed, 17 Jan 2018 01:41:11 -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=BGPOtU2d; 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 S1752664AbeAQJlH (ORCPT + 28 others); Wed, 17 Jan 2018 04:41:07 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:34560 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752484AbeAQJkX (ORCPT ); Wed, 17 Jan 2018 04:40:23 -0500 Received: by mail-wr0-f195.google.com with SMTP id 36so18177948wrh.1 for ; Wed, 17 Jan 2018 01:40:23 -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=gOv0dExFIulzT0LITi4aavIftaAXttuEHw1gyHCdFA0=; b=BGPOtU2dIr8Nt5/UNmu9zzRbjQUiwlEFRqXllGn7Be+/Vez8taAO9OjJSt+24alqAV GGpWQWHlUH7+ZwgInX+S9pAIxXxMzpAXYIgsDWhF4sBBqgznrAWbFrK1VTbqHCzXA66Y anz19YEHHOPZEpXCz4pZcz5cp+O6t3St8QTsg= 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=gOv0dExFIulzT0LITi4aavIftaAXttuEHw1gyHCdFA0=; b=mfojRuc9xDfPJ2D7GmLE84KloYvstyXf44yUTlP4TBlaHYEyuEGK6p9PWAw+IFI/df Xl0JGxCJ8nrGRC3wz/nXjrHdStspxwuLCJgezjXCvVEorhCKrIa5DdS6zLbX7hT+ZX2X NBeLar7FooeUXh4MHYWCyG5qeewdRPQNbrzsfseiJIduX+XbW4q2z5dQtCFBtz++I19R PGe/nZ7zAy4qeoN5KGi2ZL5Y8mkr7t3m8X3MTnQfj1lJc6nQZYY8mYzkm/MSxtBIWwHI ZdFU76IWDX3mSz6uewLmpBSoqBUNwe7i8VW5JHbXPXmDWTm1wQKFIse8+UX1p7CyP2Hb ONSQ== X-Gm-Message-State: AKwxytfK8ChzCGyRisJAd1SQjCLSl2RyxkNzH0o56BjlOKJ4XEfAYLQi eRlkzMDXFGerSYcuG1oKLTLHsw== X-Received: by 10.223.198.198 with SMTP id c6mr489298wrh.159.1516182022365; Wed, 17 Jan 2018 01:40:22 -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.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Jan 2018 01:40:21 -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 push button to stm32f769 Discovery board Date: Wed, 17 Jan 2018 10:40:05 +0100 Message-Id: <20180117094005.20728-4-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 node for user push button. Signed-off-by: Benjamin Gaignard --- arch/arm/boot/dts/stm32f769-disco.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 2.15.0 diff --git a/arch/arm/boot/dts/stm32f769-disco.dts b/arch/arm/boot/dts/stm32f769-disco.dts index 25a4b71f0317..8b3e1b518570 100644 --- a/arch/arm/boot/dts/stm32f769-disco.dts +++ b/arch/arm/boot/dts/stm32f769-disco.dts @@ -71,6 +71,18 @@ gpios = <&gpioj 13 0>; }; }; + + gpio_keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + autorepeat; + button@0 { + label = "User"; + linux,code = ; + gpios = <&gpioa 0 0>; + }; + }; }; &cec {