From patchwork Tue Dec 16 16:25:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 5501941 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 78E1CBEEA8 for ; Tue, 16 Dec 2014 16:27:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3D261209BB for ; Tue, 16 Dec 2014 16:27:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5319720A21 for ; Tue, 16 Dec 2014 16:27:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751811AbaLPQ0R (ORCPT ); Tue, 16 Dec 2014 11:26:17 -0500 Received: from mail-lb0-f179.google.com ([209.85.217.179]:35059 "EHLO mail-lb0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751799AbaLPQ0N (ORCPT ); Tue, 16 Dec 2014 11:26:13 -0500 Received: by mail-lb0-f179.google.com with SMTP id z11so11141769lbi.10 for ; Tue, 16 Dec 2014 08:26:12 -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=1/AfmbiYBs4EnT0mVMzxU6dwnlMscgvY39X4WooSsc8=; b=bBJ+1tk4BzXRphubtqPs/Aee0v6R1V3EfxcBs8H+dTEGJriUAIzdzuUeTy7ggqdtQo T7sovtQuYbTXR7vuzyb/u/Vq1gGmTfws6M3LPbcrvGAg36LKg3zo5ctK7m/HvjhS4TV3 0Ku69OHt8d1CBm84wGMBWpssJ9p/NWvEuKqK4q1Qmeg7V1IBhxEFwxC6dZ7xP13A81/H K5X63S8NYjym/eJ8WusMueZBz2zoOnLhkm1dbY1gE06jnsul6OJaKk97TGvJT8diN4aP qLe0l2c/ML2LzvQVGfeVzvhKxtjD78HYakm51KChBXKA0afa7On7ZsUWTNWl42DDDFNm 737g== X-Received: by 10.152.3.100 with SMTP id b4mr35195207lab.68.1418747172301; Tue, 16 Dec 2014 08:26:12 -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.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Dec 2014 08:26:11 -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 2/7] ARM: shmobile: ape6evm: Add LEDs to the device tree Date: Tue, 16 Dec 2014 17:25:58 +0100 Message-Id: <1418747163-21729-3-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 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm.dts b/arch/arm/boot/dts/r8a73a4-ape6evm.dts index c98cd14..b939a37 100644 --- a/arch/arm/boot/dts/r8a73a4-ape6evm.dts +++ b/arch/arm/boot/dts/r8a73a4-ape6evm.dts @@ -82,6 +82,34 @@ vddvario-supply = <&ape6evm_fixed_3v3>; }; }; + + leds { + compatible = "gpio-leds"; + led1 { + gpios = <&pfc 28 GPIO_ACTIVE_LOW>; + label = "GNSS_EN"; + }; + led2 { + gpios = <&pfc 126 GPIO_ACTIVE_LOW>; + label = "NFC_NRST"; + }; + led3 { + gpios = <&pfc 132 GPIO_ACTIVE_LOW>; + label = "GNSS_NRST"; + }; + led4 { + gpios = <&pfc 232 GPIO_ACTIVE_LOW>; + label = "BT_WAKEUP"; + }; + led5 { + gpios = <&pfc 250 GPIO_ACTIVE_LOW>; + label = "STROBE"; + }; + led6 { + gpios = <&pfc 288 GPIO_ACTIVE_LOW>; + label = "BBRESETOUT"; + }; + }; }; &i2c5 {