From patchwork Sun May 21 12:49:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ralph Sennhauser X-Patchwork-Id: 9739053 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AF5196032C for ; Sun, 21 May 2017 12:57:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9EB66286D7 for ; Sun, 21 May 2017 12:57:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 93916286DC; Sun, 21 May 2017 12:57:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 564C3286D7 for ; Sun, 21 May 2017 12:57:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=MbxxK2oi9ExbYAvzGKL1/lQuAz0JgTKSfikTnHOeICA=; b=PqG0VuYdGH5n5aKQ06fQKF4cXz B5TQhejvF/x8bpas/40NP66HcAcjjFcB6g+XwFSXMXAM5fM5AhF3D41jX5XbRiebjC31v0ymXHibY 5VEgqdJ30XswTaijosPf7kIUxLGcyqPHFverB1BDNMkC+Fb/ATpWze9VZPdCMT/dd/0154CKfvIFC Monuv6rmxgFmI5WFgBZaFHws36pbb9guKv5yKg6VTUrhVHLfHx5ShkiUTqFdYo6JGRrpXG6XYfuwT 3uvst4mk6uluP3TC32HUx6PdO1CAveeghuVNPTazhYxgLgrEnBXwtENUR3nmwBE9JGhEohXEbubxF z/H+2uyA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dCQQ0-0003MO-TV; Sun, 21 May 2017 12:57:08 +0000 Received: from mail-ua0-x242.google.com ([2607:f8b0:400c:c08::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dCQJH-00053q-VY for linux-arm-kernel@lists.infradead.org; Sun, 21 May 2017 12:50:15 +0000 Received: by mail-ua0-x242.google.com with SMTP id e28so6003556uah.2 for ; Sun, 21 May 2017 05:49:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QYi4Q8csvzH/fcT2ObzK1AQLvvShD2GeMVJbzf6qYuU=; b=GFEFc82dyly+D2gEb8eEBQk931/gkh1RLcNTBS7u1x8T5fcRvzK4hmDHYqf6sZIpoh KOdeNRXPwiocoT1Rm8g5IztPua/pCSEAAasewX1Rtr2vrQizz5Qjp3G2piZTS8oXrcff Opheuz+hGxRBF88uly8TAr0w7nZHdgQombNjoCvmMrsPbYvin9On0C/89lLUHL8vTpjC PoBeKjRhJjGKnOxwb+bhQMb0OkXtuvQsScUzfh9RYahLnYZe1/ocNQnYlyt+0Lfibo0X 7q8IFCCu1iiEPZgLmQMphuxd7kFRvTCgETgeBqhWwjuf20QJ0caJKPWmChrXt9XA6CXq eBAw== 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=QYi4Q8csvzH/fcT2ObzK1AQLvvShD2GeMVJbzf6qYuU=; b=ghvzRKBIBf8svYsNzM+njES4l4fkear2UdbGnvME8ZF9qT1b8r+70N3wt7GvKLLRtz h9B/+AfFOAbYnwyDi9fsJPTEq4CYzp4W931YAayiZPxLz3zkLJMJvpaqqRjXBV1CimOz xrjCmMZA0Yn/pC7LCA9Ex+l+totwzrpdNeKQ8X+wjnHXfEomikyih+T/kq4lRNuSwMok 1i92H8pyGlGuyzR37FwB39x9f5NYiicEzOZftOx0BFpH6TDrhIMx/6JHTNLJCZ7BZ4/D 8YzxdLhu32Sm584TnrnoaT0QXk2E0GXpV1KtVXmfDJYvX1FLeF3xgSxaz6CaE4IiYzzF nZAQ== X-Gm-Message-State: AODbwcCABhdzkIKv7kBzC+aGEYyCChRbKpMFV80Xo/mY4u2LW6/fcZ9X 6RQIPjVL2KP0Jg== X-Received: by 10.176.75.111 with SMTP id i47mr9031534uaf.69.1495370991135; Sun, 21 May 2017 05:49:51 -0700 (PDT) Received: from localhost.lan ([37.209.189.139]) by smtp.googlemail.com with ESMTPSA id q17sm2803410uab.7.2017.05.21.05.49.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 21 May 2017 05:49:50 -0700 (PDT) From: Ralph Sennhauser To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 11/13] ARM: dts: armada-385-linksys: fixup button node names Date: Sun, 21 May 2017 14:49:00 +0200 Message-Id: <20170521124903.11050-12-ralph.sennhauser@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170521124903.11050-1-ralph.sennhauser@gmail.com> References: <20170521124903.11050-1-ralph.sennhauser@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170521_055012_341545_D5488EB1 X-CRM114-Status: UNSURE ( 9.64 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Andrew Lunn , Jason Cooper , devicetree@vger.kernel.org, Russell King , linux-kernel@vger.kernel.org, Ralph Sennhauser , Rob Herring , Gregory Clement , Imre Kaloz , Sebastian Hesselbarth MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Buttons don't have a reg property; drop pseudo address and fixup names of individual button nodes. Also drop #address-cells and #size-cells properties. Signed-off-by: Ralph Sennhauser Reviewed-by: Andrew Lunn --- arch/arm/boot/dts/armada-385-linksys.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/armada-385-linksys.dtsi b/arch/arm/boot/dts/armada-385-linksys.dtsi index 1bb974a..e1f355f 100644 --- a/arch/arm/boot/dts/armada-385-linksys.dtsi +++ b/arch/arm/boot/dts/armada-385-linksys.dtsi @@ -81,18 +81,16 @@ gpio_keys: gpio-keys { compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; pinctrl-0 = <&gpio_keys_pins>; pinctrl-names = "default"; - button@1 { + wps { label = "WPS"; linux,code = ; gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; }; - button@2 { + reset { label = "Factory Reset Button"; linux,code = ; gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;