Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp669421pxb; Sat, 6 Mar 2021 12:38:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJxU5vx8jtSqD8oTKvs16wVXrbO9IdjgpU/VGTBQzFTgIDDMH44BzoaSP5qx+EQbDDnv/RLx X-Received: by 2002:a50:fe08:: with SMTP id f8mr15131721edt.217.1615063136689; Sat, 06 Mar 2021 12:38:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615063136; cv=none; d=google.com; s=arc-20160816; b=N4pXzx1B7ZzLusHu5k3+C00c86HSpKeo5R5IyqbLBs2bj8JlGai39P70rZgz36QLuX 0FMWmfy0b8caq0ekDU4BDj2WoseBwLRC/agUMKxMoUskhT0OGtLV2LG2VXRp6igbXRAO dkQheFC5eHmh+9/RFct3zdfsQNdl3lnNwgrD3+UJQpn67e2lOCqaOaM5uhWt1/G5+YAB cf0loqOtRqiDfqCPTjL5Q2jQSWdaUNFho3+G4B+PS1jcfwF+jsHga4uK9dNp4s89+vrE R7G+S28TubxCsYeAuNNXltvQaw4yU0TnNXKrB8DPD649Qo34GDQMpkCdxxU+Us/nm/vc CV0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=/PfFh/350qBZR++5NE/DGRZMD/SjEbP02q4FRv23iIM=; b=JTLt3Tqu56mysxtFoqjMahoOuiyC+l9NBBBJzblAX59jubUJIJd/AyfPq7kSfPTY+s 3LNqWv+cBMLkPIz3eDVCvVJOXbSMAXTb8F9S3JpkYZkD5kzN7ztEHWnB2JS91rHCSN5P 4Ho5yVn1A4oljIdYsFXdSiYsJibPDvbDNox4aqVu+g5hdtpqR0GXw3/RiIiMZ+idh+It Ewbtg8k5zSreHOoGaN/NnlruF+6ew9YzwjF+mWvL1PdEH0ghSBZvxUbkfARGqgGNuQy4 3KeGDN1odoyd9WaUOZ7xkbvkUi2V58qDn5ZKfVnDcS9Ntd+LAONIMXwWeOO50sTjFeZY PV1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s13si4638171edc.150.2021.03.06.12.38.34; Sat, 06 Mar 2021 12:38:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231397AbhCFUg3 (ORCPT + 99 others); Sat, 6 Mar 2021 15:36:29 -0500 Received: from mailoutvs22.siol.net ([185.57.226.213]:47005 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231211AbhCFUgZ (ORCPT ); Sat, 6 Mar 2021 15:36:25 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTP id 87CB1522D6D; Sat, 6 Mar 2021 21:36:18 +0100 (CET) X-Virus-Scanned: amavisd-new at psrvmta12.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta12.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ytDBUOGx0MJD; Sat, 6 Mar 2021 21:36:18 +0100 (CET) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTPS id 4C13C522E09; Sat, 6 Mar 2021 21:36:18 +0100 (CET) Received: from localhost.localdomain (89-212-178-211.dynamic.t-2.net [89.212.178.211]) (Authenticated sender: 031275009) by mail.siol.net (Zimbra) with ESMTPSA id ABC34522D6D; Sat, 6 Mar 2021 21:36:17 +0100 (CET) From: Jernej Skrabec To: mripard@kernel.org, wens@csie.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH] ARM: dts: sun8i: h3: beelink-x2: Add power button Date: Sat, 6 Mar 2021 21:36:11 +0100 Message-Id: <20210306203611.15534-1-jernej.skrabec@siol.net> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Beelink X2 has power button. Add node for it. Signed-off-by: Jernej Skrabec --- arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dt= s/sun8i-h3-beelink-x2.dts index 62b5280ec093..4a2cb072ecf6 100644 --- a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts +++ b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts @@ -111,6 +111,17 @@ spdif_out: spdif-out { #sound-dai-cells =3D <0>; compatible =3D "linux,spdif-dit"; }; + + r_gpio_keys { + compatible =3D "gpio-keys"; + + power { + label =3D "power"; + linux,code =3D ; + gpios =3D <&r_pio 0 3 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + }; }; =20 &de { --=20 2.30.1