From patchwork Thu Sep 12 18:35:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Koen Kooi X-Patchwork-Id: 2880681 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 4C26EBFF05 for ; Thu, 12 Sep 2013 18:38:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5E36C2038C for ; Thu, 12 Sep 2013 18:38:08 +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 2924A2034F for ; Thu, 12 Sep 2013 18:38:07 +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 1VKBlC-0007sf-JR; Thu, 12 Sep 2013 18:36:59 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VKBkt-00035o-9C; Thu, 12 Sep 2013 18:36:39 +0000 Received: from mail-wi0-f178.google.com ([209.85.212.178]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VKBkO-000313-At for linux-arm-kernel@lists.infradead.org; Thu, 12 Sep 2013 18:36:09 +0000 Received: by mail-wi0-f178.google.com with SMTP id hn9so209255wib.5 for ; Thu, 12 Sep 2013 11:35:46 -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=x7HEy6t7B5bmfHhMbKiUZXCAjSTyQj/BdVJtY4TpPmo=; b=NhwZ3kTcdODw37T5x85SfZaDAm9x0RBjVQf8eXoJU+XGT7njaQCa+FhDBmJkp3aNFT KeO1xCRrh0NvtVXnWE851LJqwJxCgFfeHf1j+aoWqMrSAfbBFbLC3TN6gmHHh8lR1KBf wXfLofg5OFaKc3ZAKDR94aGTUrSZE3khQVuTpPYtXXenEUQJidzpNyIonTe6Dd5F92Yv Wdf7kixXplqL8HRKnQ1uG2hNH2kwctxbNgliLfrZ3We/t2+qj+1kKGR/hcgEgZRhA0zA c06oFBcpMb5oirQXCHCNkPGQRel+XeNfnW4r8F1PjgAMwRhiJgn89Mu8qLNwJj57x6rg K+Bw== X-Gm-Message-State: ALoCoQnH6RgLPT1f7558zknq0m8dVl7SiDLizEmPDh00+2PIIK0eTrXb1t9pGfNwtM86Qf52zZcC X-Received: by 10.194.158.67 with SMTP id ws3mr7479209wjb.5.1379010946655; Thu, 12 Sep 2013 11:35:46 -0700 (PDT) Received: from localhost.localdomain (ip4da2a5ae.direct-adsl.nl. [77.162.165.174]) by mx.google.com with ESMTPSA id fz8sm19642639wic.0.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 12 Sep 2013 11:35:46 -0700 (PDT) From: Koen Kooi To: linux-kernel@vger.kernel.org Subject: [PATCH v4 4/4] ARM: dts: am335x-bone-common: add cpu0 and mmc1 triggers Date: Thu, 12 Sep 2013 20:35:35 +0200 Message-Id: <1379010935-25943-5-git-send-email-koen@dominion.thruhere.net> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1379010935-25943-1-git-send-email-koen@dominion.thruhere.net> References: <1379010935-25943-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_143608_526318_E849E17F X-CRM114-Status: UNSURE ( 9.91 ) 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 in between 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 303df81..adce9fe 100644 --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi @@ -204,12 +204,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"; }; };