From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13BF1C47082 for ; Tue, 8 Jun 2021 09:47:29 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 099BA61008 for ; Tue, 8 Jun 2021 09:47:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 099BA61008 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4C0C182D71; Tue, 8 Jun 2021 11:47:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="IYvL8Jwn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1308A82E2B; Tue, 8 Jun 2021 11:47:23 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C939B82D58 for ; Tue, 8 Jun 2021 11:47:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: by mail.kernel.org (Postfix) with ESMTPSA id 1F07F61182; Tue, 8 Jun 2021 09:47:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623145637; bh=B2T4D6kooCM613cOQx455emqFdAxHqyfQg6GNUtP2Iw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IYvL8JwnVVuQMhdCkYzaBEsua58XfG4fGXsrRHaiywGfnPLrt67tEM9+st884rHcJ GB/Pz3oVS0is9YBb9WULyU8twX6FWZ0jO2q3dAXgQ93OwRjX8pxWs4jMKtUirYn6AE A6BsfyOZp2E6u3y97EGd9jvQlnJVRE5QijMcW2ndzPWJCc8BwFfgK+B1udWsErbeqB q+5xJFbMKDiTPCFeEt0uX2pZ2GbbffGMzlrqhFMtiz7ce2dXTG2E2129akGMmFvXPq 6QTehlpKP5q9LgbxLN6EuMwq6MU7beQSvxrdZlGuCOek1+YctCNSLyjidFsNLl72az PFGorhh/KLzwQ== Received: by pali.im (Postfix) id A706F7CC; Tue, 8 Jun 2021 11:47:14 +0200 (CEST) Date: Tue, 8 Jun 2021 11:47:14 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Marek =?utf-8?B?QmVow7pu?= Cc: Stefan Roese , u-boot@lists.denx.de Subject: Re: [PATCH u-boot-marvell v2 1/6] arm: mvebu: dts: turris_mox: add button and LED nodes Message-ID: <20210608094714.5yl4oe7lsp3wheqs@pali> References: <20210607143451.5343-1-marek.behun@nic.cz> <20210607143451.5343-2-marek.behun@nic.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210607143451.5343-2-marek.behun@nic.cz> User-Agent: NeoMutt/20180716 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean On Monday 07 June 2021 16:34:46 Marek Behún wrote: > Add nodes for indicator LED and reset button so that board code can > implement board factory reset mechanism. > > Signed-off-by: Marek Behún Reviewed-by: Pali Rohár > --- > arch/arm/dts/armada-3720-turris-mox.dts | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/arch/arm/dts/armada-3720-turris-mox.dts b/arch/arm/dts/armada-3720-turris-mox.dts > index 8e0ebf508d..741b0eeeee 100644 > --- a/arch/arm/dts/armada-3720-turris-mox.dts > +++ b/arch/arm/dts/armada-3720-turris-mox.dts > @@ -11,6 +11,8 @@ > /dts-v1/; > > #include > +#include > +#include > #include "armada-372x.dtsi" > > / { > @@ -34,6 +36,28 @@ > reg = <0x00000000 0x00000000 0x00000000 0x20000000>; > }; > > + leds { > + compatible = "gpio-leds"; > + > + led { > + gpios = <&gpiosb 21 GPIO_ACTIVE_LOW>; > + color = ; > + function = LED_FUNCTION_ACTIVITY; > + }; > + }; > + > + gpio-keys { > + compatible = "gpio-keys"; > + > + reset { > + compatible = "gpio-keys"; > + label = "reset"; > + linux,code = ; > + gpios = <&gpiosb 20 GPIO_ACTIVE_LOW>; > + debounce-interval = <60>; > + }; > + }; > + > reg_usb3_vbus: usb3_vbus@0 { > compatible = "regulator-fixed"; > regulator-name = "usb3-vbus"; > -- > 2.31.1 >