Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D3BE5219E8C for ; Mon, 17 Feb 2025 11:43:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739792619; cv=none; b=nR2xDkZ2l9dAIn5KqbAnz7DXh+K7DjiPP+JivIR0XWSaWRNWHoPzz6NJG73E1OexmPO7IIygs0Bdkce/N/p0OsAQrRte5owF85cwZpQkwARsjC/EdY9acFId/Oim92yDo3h8D3KJ6l4TsgyvlYQm/piv56jmJVIfbdeKM6wsGRw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739792619; c=relaxed/simple; bh=Jo1Z3lTHpP719r3iagWioDhuXVeVEAs6604CB/diJEY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=DsWUzijISIyUz8jdD+EsKdB2GZDbh5eFu+HleU5c9IskNlsMQF1zOq9RQGxNczT7Asr88Hf2NdChDffIdmvRuEy/3GNF/wxZuxdNMDKuZBJdvVuXaYCB8a1+WJnouhPJtC/bNnp6ruVqwalcb/1E1tCtFQVMHfcbBRWrLV4hjbc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com; spf=pass smtp.mailfrom=amarulasolutions.com; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b=MhHRHgdH; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="MhHRHgdH" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4398e3dfc66so1436655e9.0 for ; Mon, 17 Feb 2025 03:43:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1739792616; x=1740397416; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xvO6VVVrxL25G9tkhpz936tDjybjrpvtb36RnaeyFF0=; b=MhHRHgdHFHE+8MjhV4SeI9NC6maYXS/o1AG2pevFAc4NGb7Fllm4Im4dEvp8Ayu7PJ ZeU7sHXcPsQTmcYia+JdvwrQIogK/LW/cCc51rPKd2nUnplrD0snAaHQHDWMj+FzgZGg DxPLryJjPpqSsTtXiwGZbYU2LzhrD/8feGoAU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739792616; x=1740397416; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xvO6VVVrxL25G9tkhpz936tDjybjrpvtb36RnaeyFF0=; b=eVW7irR6u+3dqClATjatHR8cBqR7e1vhcYUazb+U/Jl0Jz1grCejaWcojim1EyF0rO Tx5vbTl1gtghmuR7zLl3Zhz6bopRYmc7gCVoGUZdlJ1QFqjZIh55TCNM7/53HamT8Q+Q SWLRUm7WroO0rSWTgfD6g4XwthPGiHt9N2lnxpHIbrHtqu/ahawT3qK+AFC3YM2Y1kZg 4eM4jB3B6vLR7E1JuYJXLepxEXmCrCB6hWooadYMzL5zNYF7iGfBBACvhXjeJ5AJG9xc inLsvmDLXvmM2L0NEkhLgto8MTmVPBnikujXfrEudYvka5U3csRL1r6ihT55qx2n9NK+ aR8g== X-Forwarded-Encrypted: i=1; AJvYcCVPZPBRoIztqx4vHQ7UXngKFjLZpImwnBJqLGoZn8B4QJbFI1M0W3YkM275Gv5NTkd4UFPXOY8LmgNT@vger.kernel.org X-Gm-Message-State: AOJu0Yxil07SrRztrbNvf0NNOUVzQwY0gMtl0gSvPiNsCBLexPo/aKLY OyoYSPhjfTjNoU/ewcDzsymeZQBPtleDRFJgWVIDiGN+9iZDRYH9qaCiFE7N9Mg= X-Gm-Gg: ASbGnct00jkPsWPRg8Zwl8chqiC9QCtz/gCbGAZbOr2XhTNyrIdobSjLMlw9IvUzwO2 ByJZoYQYFw/TdM2zPmlCHM+4AwX+cdc/XZD+H/0mMsjiWx3e3TkUznalX4xxsy52Fr7k1wSAIr5 4K0tvtjBcOHH/Lal21K6Ljf1p4pWY13t4DrmrzCOvEBc1VmuX3lsiEvsyKP/Z4YdJLOborKpsXc bzUnv4ipnLMSHy8wbjBmWc1xXxKdyafeofdpefMhx8tE2N6XI/dhjlGKWSrTyobk+KneKQxS2fe dGZFrBju0gfIT2Dw3D+gV4d0VlbJOtHhKcaO3uKxZhNFTApq3v+hGGdbXpfZTNYtKRSHYw3hrT6 7iwJ08HC2h8Q= X-Google-Smtp-Source: AGHT+IG1kMvLCwkIlZ/7WxOf9BHdIUQElSPpYHSnhNergf/DVzd0TcB4oDWYyjgd4zWn0XxpcWvmxw== X-Received: by 2002:a05:600c:468a:b0:439:6ab6:5d45 with SMTP id 5b1f17b1804b1-4396e73742fmr77147445e9.28.1739792616186; Mon, 17 Feb 2025 03:43:36 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:78d7:ec72:38e9:87de]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43987088ecbsm18918465e9.31.2025.02.17.03.43.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Feb 2025 03:43:35 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Dario Binacchi , Alexandre Torgue , Conor Dooley , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH 2/2] ARM: dts: stm32: add push button to stm32f746 Discovery board Date: Mon, 17 Feb 2025 12:43:23 +0100 Message-ID: <20250217114332.1098482-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250217114332.1098482-1-dario.binacchi@amarulasolutions.com> References: <20250217114332.1098482-1-dario.binacchi@amarulasolutions.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add node for user push button. Signed-off-by: Dario Binacchi --- arch/arm/boot/dts/st/stm32f746-disco.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32f746-disco.dts b/arch/arm/boot/dts/st/stm32f746-disco.dts index 8bdd10644bf1..b57dbdce2f40 100644 --- a/arch/arm/boot/dts/st/stm32f746-disco.dts +++ b/arch/arm/boot/dts/st/stm32f746-disco.dts @@ -86,6 +86,16 @@ led-usr { }; }; + gpio-keys { + compatible = "gpio-keys"; + autorepeat; + button-0 { + label = "User"; + linux,code = ; + gpios = <&gpioi 11 GPIO_ACTIVE_HIGH>; + }; + }; + usbotg_hs_phy: usb-phy { #phy-cells = <0>; compatible = "usb-nop-xceiv"; -- 2.43.0