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: 2880581 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 7F1229F1E3 for ; Thu, 12 Sep 2013 18:36:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4EC6B20184 for ; Thu, 12 Sep 2013 18:36:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3CFF820034 for ; Thu, 12 Sep 2013 18:36:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756338Ab3ILSfv (ORCPT ); Thu, 12 Sep 2013 14:35:51 -0400 Received: from mail-we0-f170.google.com ([74.125.82.170]:38155 "EHLO mail-we0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756340Ab3ILSfr (ORCPT ); Thu, 12 Sep 2013 14:35:47 -0400 Received: by mail-we0-f170.google.com with SMTP id w62so192566wes.1 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=CzYioTQ8FXAZvnZiP7hodnVWctLbIw4NW10m1UmjqapQWG1OzLCESMY+d6mh/yiqyj 8VmCg2z2e92qZ1Yatn7b5UPBDPX0hqsG2OV3KfsQq0NHdPObqwZ014rF4myn+uLha0To IN1au294syxKWL3kjvEnO/rz/v3DSlBaeQbAdAaveGhIB0jPrhJEdDXgkh7iGdN76W65 pww0W0ds3woERQM4Pz59cEFLsPcvft0qwIH9BoE3xmZMk4K+0SUB05ApOcHqjaSyfIjt t/9gDw9JJeheMdGsioz4LL/fQz8OVZBpcAAyAHxG2ICQ35y2V7Ena1noKCXSKBnYolVo YNKw== X-Gm-Message-State: ALoCoQn8qQNItDxMj2w76NZgjSHYV8obij48B0wmm0bkiFe0kEaj33ajOLZ7xmMuaGO0VR3QX1VU 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 Cc: bcousson@baylibre.com, tony@atomide.com, rob.herring@calxeda.com, pawel.moll@arm.com, mark.rutland@arm.com, swarren@wwwdotorg.org, ijc+devicetree@hellion.org.uk, linux@arm.linux.org.uk, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Koen Kooi 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> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_HI, 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 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"; }; };