From patchwork Tue Dec 2 08:37:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 5417811 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 16FCA9F1CD for ; Tue, 2 Dec 2014 08:37:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4959D2027D for ; Tue, 2 Dec 2014 08:37:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 69D0C2026C for ; Tue, 2 Dec 2014 08:37:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751285AbaLBIhU (ORCPT ); Tue, 2 Dec 2014 03:37:20 -0500 Received: from mail-wi0-f181.google.com ([209.85.212.181]:58346 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751447AbaLBIhQ (ORCPT ); Tue, 2 Dec 2014 03:37:16 -0500 Received: by mail-wi0-f181.google.com with SMTP id r20so20128484wiv.8 for ; Tue, 02 Dec 2014 00:37:15 -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=NObz0U5YfpG8e2J8oBN7oX8+zzT9+jHv9QnydgZAZto=; b=naa4HMmObtjI5krPja0Kt+BFut5Je9a/sujtiUg9WWmziYFubq5U55mKXY4C5aBolD ZUeoGdMIJO8M3JnoMPdWKEf4BmEWdxH1Ss0kfBoFQICrsn5S1YNv0hlKk5Pl8ozGmojP d18LGixNsMTPmn9HuBJaOmbb40uJwvhdRLIgSrwOaqV3PaWWAdMt020N8pG8cytAVJo1 dOsdK/DlFmKmGVeoggJDRgId4DNiYWSQVWC8pV4etIfoOqt7vobxpJR5LZXo1vIxcdsS MB/EbVDKrbJgLqBDJvXu4Xve62QGhHng0/+WTF574AoWwHvId8nUbW2sO8TvE1OcCCu9 XTRw== X-Received: by 10.194.187.235 with SMTP id fv11mr71726591wjc.16.1417509435676; Tue, 02 Dec 2014 00:37:15 -0800 (PST) Received: from groucho.site (ipbcc02219.dynamic.kabel-deutschland.de. [188.192.34.25]) by mx.google.com with ESMTPSA id bc1sm45402970wib.16.2014.12.02.00.37.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Dec 2014 00:37:15 -0800 (PST) From: Ulrich Hecht To: horms@verge.net.au Cc: geert@linux-m68k.org, linux-sh@vger.kernel.org, magnus.damm@gmail.com, Ulrich Hecht Subject: [PATCH 2/3] ARM: shmobile: ape6evm-reference: Add LEDs to the device tree Date: Tue, 2 Dec 2014 09:37:06 +0100 Message-Id: <1417509427-31690-3-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1417509427-31690-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1417509427-31690-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 --- arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts index a218c26..a2c73c4 100644 --- a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts +++ b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts @@ -82,6 +82,34 @@ vdd33a-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 {