From patchwork Tue Dec 16 16:25:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 5501951 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8F7F4BEEA8 for ; Tue, 16 Dec 2014 16:27:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CDAF6209BB for ; Tue, 16 Dec 2014 16:27:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E8F1120A23 for ; Tue, 16 Dec 2014 16:27:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751450AbaLPQ1E (ORCPT ); Tue, 16 Dec 2014 11:27:04 -0500 Received: from mail-la0-f52.google.com ([209.85.215.52]:51534 "EHLO mail-la0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751562AbaLPQ0P (ORCPT ); Tue, 16 Dec 2014 11:26:15 -0500 Received: by mail-la0-f52.google.com with SMTP id hs14so11424197lab.39 for ; Tue, 16 Dec 2014 08:26:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=tFRKv9UchVk2EwViRJPYynZuxPhJe46nz34e1MzgzYE=; b=oKmGgQK/hNEnAso1y5oB9IdMmwhKNdgq1WyWHU5UiPRrerWbEB+lo4BM/nO/uRC31B NbkhsSVE/aZvXgDhggRhwhGCjMiGEslYezTykm2PJgWXVM5UeHPUcIfdH0uVyDsv5nT+ E3dNsZgKj/4Pid8B0r0Hp8VXLzoRvnEFidAVANZCQaQaOaVYBc54YbYt9KX607nAnmUK YgTc2YiNOW41PN+SmO7C37o59Oq3dg/DWvGcvgqcTrWc+QyodmDAO6Eztv/eRCskPQdp IzNLxX/UMdBpRaWVU421WO9U9R0FhCH/KB6vAiYA3IlvuMJoERWpEfNr5geLpEALvsKg GQ5A== X-Received: by 10.152.2.41 with SMTP id 9mr35520591lar.47.1418747174227; Tue, 16 Dec 2014 08:26:14 -0800 (PST) Received: from groucho.site (ipbcc0217c.dynamic.kabel-deutschland.de. [188.192.33.124]) by mx.google.com with ESMTPSA id l1sm307467lag.11.2014.12.16.08.26.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Dec 2014 08:26:13 -0800 (PST) From: Ulrich Hecht To: horms@verge.net.au Cc: linux-sh@vger.kernel.org, geert@linux-m68k.org, magnus.damm@gmail.com, Ulrich Hecht Subject: [PATCH v2 3/7] ARM: shmobile: ape6evm: Add keypad to the device tree Date: Tue, 16 Dec 2014 17:25:59 +0100 Message-Id: <1418747163-21729-4-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1418747163-21729-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1418747163-21729-1-git-send-email-ulrich.hecht+renesas@gmail.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Ulrich Hecht Acked-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a73a4-ape6evm.dts | 41 +++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm.dts b/arch/arm/boot/dts/r8a73a4-ape6evm.dts index b939a37..6b7bc1f 100644 --- a/arch/arm/boot/dts/r8a73a4-ape6evm.dts +++ b/arch/arm/boot/dts/r8a73a4-ape6evm.dts @@ -11,6 +11,7 @@ /dts-v1/; #include "r8a73a4.dtsi" #include +#include / { model = "APE6EVM"; @@ -110,6 +111,46 @@ label = "BBRESETOUT"; }; }; + + keyboard { + compatible = "gpio-keys"; + + zero-key { + gpios = <&pfc 324 GPIO_ACTIVE_LOW>; + linux,code = ; + label = "S16"; + }; + + menu-key { + gpios = <&pfc 325 GPIO_ACTIVE_LOW>; + linux,code = ; + label = "S17"; + }; + + home-key { + gpios = <&pfc 326 GPIO_ACTIVE_LOW>; + linux,code = ; + label = "S18"; + }; + + back-key { + gpios = <&pfc 327 GPIO_ACTIVE_LOW>; + linux,code = ; + label = "S19"; + }; + + volup-key { + gpios = <&pfc 328 GPIO_ACTIVE_LOW>; + linux,code = ; + label = "S20"; + }; + + voldown-key { + gpios = <&pfc 329 GPIO_ACTIVE_LOW>; + linux,code = ; + label = "S21"; + }; + }; }; &i2c5 {