From patchwork Sun Jan 12 13:22:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Lifshitz X-Patchwork-Id: 3472041 Return-Path: X-Original-To: patchwork-linux-omap@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 7D38D9F39B for ; Sun, 12 Jan 2014 13:23:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ABB7020123 for ; Sun, 12 Jan 2014 13:23:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CF54020121 for ; Sun, 12 Jan 2014 13:23:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751223AbaALNXR (ORCPT ); Sun, 12 Jan 2014 08:23:17 -0500 Received: from softlayer.compulab.co.il ([50.23.254.55]:59830 "EHLO compulab.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751118AbaALNXE (ORCPT ); Sun, 12 Jan 2014 08:23:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=compulab.co.il; s=default; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=ntaoXjuFurGmlYxH9UoyvFPwgfFdD2H0SDTfgtkHDrg=; b=KiErWssW3yaWotaB8UFgtP5nnX9uTSgPsaTeJ1lg0kS2MmLIVCkx1YaP+Oilmahnd6m3LEjd8XTGxiFEb7USaXNidQORrfGGmQB8igcQOy5IV1wpYPG85R/la9yswfhQkPqdtZfmRkAxRCSUsNrXKfIbkAcr5eCAF+oQ8u2ouKw=; Received: from [82.166.188.245] (port=9042 helo=zimbra-mta.compulab.co.il) by softlayer.compulab.co.il with esmtp (Exim 4.80.1) (envelope-from ) id 1W2L0K-0002ti-4I; Sun, 12 Jan 2014 15:23:04 +0200 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id 3F22B644192; Sun, 12 Jan 2014 15:23:03 +0200 (IST) X-Virus-Scanned: amavisd-new at compulab.co.il Received: from zimbra-mta.compulab.co.il ([127.0.0.1]) by localhost (zimbra-mta.compulab.co.il [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Uw1sm3DtRpEp; Sun, 12 Jan 2014 15:23:02 +0200 (IST) Received: from localhost.localdomain (lifshitz-linux.compulab.local [192.168.11.10]) by zimbra-mta.compulab.co.il (Postfix) with ESMTPSA id EE7F464419D; Sun, 12 Jan 2014 15:23:00 +0200 (IST) From: Dmitry Lifshitz To: Tony Lindgren , Benoit Cousson Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 05/12] ARM: dts: cm-t3x: add gpio-led pinmux Date: Sun, 12 Jan 2014 15:22:48 +0200 Message-Id: <1389532975-28281-6-git-send-email-lifshitz@compulab.co.il> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1389532975-28281-1-git-send-email-lifshitz@compulab.co.il> References: <1389532975-28281-1-git-send-email-lifshitz@compulab.co.il> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - softlayer.compulab.co.il X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - compulab.co.il X-Get-Message-Sender-Via: softlayer.compulab.co.il: acl_c_relayhosts_text_entry: lifshitz@compulab.co.il|compulab.co.il Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,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 GPIO186 is used for the heartbeat led. Setup the pinmux for the GPIO186. Signed-off-by: Dmitry Lifshitz --- arch/arm/boot/dts/omap3-cm-t3x.dtsi | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap3-cm-t3x.dtsi b/arch/arm/boot/dts/omap3-cm-t3x.dtsi index 842201c..abda493 100644 --- a/arch/arm/boot/dts/omap3-cm-t3x.dtsi +++ b/arch/arm/boot/dts/omap3-cm-t3x.dtsi @@ -11,6 +11,8 @@ leds { compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&green_led_pins>; ledb { label = "cm-t3x:green"; gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>; /* gpio186 */ @@ -38,6 +40,12 @@ OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */ >; }; + + green_led_pins: pinmux_green_led_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x21e2, PIN_OUTPUT | MUX_MODE4) /* sys_clkout2.gpio_186 */ + >; + }; }; &uart3 {