From patchwork Thu Sep 12 15:42:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Koen Kooi X-Patchwork-Id: 2879071 Return-Path: X-Original-To: patchwork-linux-arm@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 12142BFF05 for ; Thu, 12 Sep 2013 16:14:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B5BCB20371 for ; Thu, 12 Sep 2013 16:14:14 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5825820367 for ; Thu, 12 Sep 2013 16:14:13 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VK93W-00054J-1P; Thu, 12 Sep 2013 15:43:42 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VK93A-0004kG-2j; Thu, 12 Sep 2013 15:43:20 +0000 Received: from mail-wi0-f177.google.com ([209.85.212.177]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VK92d-0004cq-6K for linux-arm-kernel@lists.infradead.org; Thu, 12 Sep 2013 15:42:51 +0000 Received: by mail-wi0-f177.google.com with SMTP id cb5so3759816wib.4 for ; Thu, 12 Sep 2013 08:42:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=5QHVFU2hfNSg9kmUDntoMmy0sG3eAWk21gwmEpUBAcw=; b=MWrxYSBsXifwMd7+ZXeTtek70ypPuFsebkH4+8crZDV75H09RWIMMtT6d6aqRvnQUT oVGUnWJz7i1cXNCqw0Ymbq/mBfpRrbz2oFmwEzp50BJtnm1wkBPSFPrOHk7ikllbMh2o cB+MBC1DRnfNMkwW15Un7k4s36hqApT7VNcCShlx8L3/7kxScnfIV+8FTN0OIh+ovJnA 1f4uUDZu3ZeUKDmPdB64cfgaCO6ZF0IswOj0AP/BcQj3jSEKNQ6f4VGamWfC1PyeU97f HtBoTNRyWbhbpTkxKFxJhysJcVDdyQkXpInLlCjRcjStoJBz4DwOSAu7eaP4H1zZqHsz 9jsA== X-Gm-Message-State: ALoCoQkB/cav33w+F3hxUkZhG+1lGCon4NwgGNDbEgIcY9BMyc11uDduo5k3dXogtAo9k3adFch3 X-Received: by 10.180.185.166 with SMTP id fd6mr22593225wic.5.1379000545587; Thu, 12 Sep 2013 08:42:25 -0700 (PDT) Received: from localhost.localdomain (ip4da2a5ae.direct-adsl.nl. [77.162.165.174]) by mx.google.com with ESMTPSA id ey2sm5362318wib.5.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 12 Sep 2013 08:42:25 -0700 (PDT) From: Koen Kooi To: linux-kernel@vger.kernel.org Subject: [PATCH 4/4] ARM: dts: am335x-bone-common: add cpu0 and mmc1 triggers Date: Thu, 12 Sep 2013 17:42:12 +0200 Message-Id: <1379000532-27376-5-git-send-email-koen@dominion.thruhere.net> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1379000532-27376-1-git-send-email-koen@dominion.thruhere.net> References: <1379000532-27376-1-git-send-email-koen@dominion.thruhere.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130912_114247_413130_FBE59CEC X-CRM114-Status: UNSURE ( 8.78 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux@arm.linux.org.uk, pawel.moll@arm.com, swarren@wwwdotorg.org, tony@atomide.com, Koen Kooi , ijc+devicetree@hellion.org.uk, rob.herring@calxeda.com, bcousson@baylibre.com, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 This matches the vendor 3.8.x configuration that is shipping with the boards. The LED layout is now: USR0: heartbeat USR1: mmc0 (micro-SD slot) USR2: cpu0 USR3: mmc1 (eMMC) The cpu0 triggers was put inbetween the mmc triggers to make is easier to see where the disk activity is. Signed-off-by: Koen Kooi --- arch/arm/boot/dts/am335x-bone-common.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi index 80407ff..3057f30 100644 --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi @@ -203,12 +203,14 @@ led@4 { label = "beaglebone:green:usr2"; gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "cpu0"; default-state = "off"; }; led@5 { label = "beaglebone:green:usr3"; gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "mmc1"; default-state = "off"; }; };