From patchwork Sat Jan 31 01:05:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wengbj X-Patchwork-Id: 435069 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id A76D11402BE for ; Sat, 31 Jan 2015 12:05:45 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 440F128BEED; Sat, 31 Jan 2015 02:02:32 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 4547328AD60 for ; Sat, 31 Jan 2015 02:02:17 +0100 (CET) X-policyd-weight: using cached result; rate: -5.5 Received: from regular1.263xmail.com (regular1.263xmail.com [211.150.99.134]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Sat, 31 Jan 2015 02:02:15 +0100 (CET) Received: from fl.service?t-firefly.com (unknown [192.168.167.105]) by regular1.263xmail.com (Postfix) with SMTP id CC3906E65; Sat, 31 Jan 2015 09:04:36 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-ADDR-CHECKED: 1 Received: from mae.263xmail.com (unknown [121.40.187.163]) by smtp.263.net (Postfix) with ESMTP id 3A5BB1F1C7; Sat, 31 Jan 2015 09:04:34 +0800 (CST) Received: from fl.service?t-firefly.com (localhost [127.0.0.1]) by mae.263xmail.com (Postfix) with SMTP id 2F63727EC02; Sat, 31 Jan 2015 09:04:36 +0800 (CST) X-MAE-MAIL_UID: 0054cc2a2401d101@maes@abfe8ed6c4b1ccd8 X-MAE-ID: 223.6.254.61 X-RL-NAME: fl.service@t-firefly.com X-LOGIN-NAME: fl.service@t-firefly.com X-SENDER-IP: 183.32.185.92 X-SENDER: fl.service@t-firefly.com From: wengbj To: blogic@openwrt.org Date: Sat, 31 Jan 2015 09:05:12 +0800 Message-Id: <1422666313-6205-2-git-send-email-fl.service@t-firefly.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1422666313-6205-1-git-send-email-fl.service@t-firefly.com> References: <1422666313-6205-1-git-send-email-fl.service@t-firefly.com> Cc: fl.service@t-firefly.com, zxf@t-chip.com.cn, linux.c@foxmail.com, dxj@t-chip.com.cn, wbj@t-chip.com.cn, openwrt-devel@lists.openwrt.org Subject: [OpenWrt-Devel] [PATCH 2/3] ralink: add FireWRT led detail X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Signed-off-by: wengbj --- target/linux/ramips/dts/FIREWRT.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/target/linux/ramips/dts/FIREWRT.dts b/target/linux/ramips/dts/FIREWRT.dts index 4e9e28b..faebe2f 100644 --- a/target/linux/ramips/dts/FIREWRT.dts +++ b/target/linux/ramips/dts/FIREWRT.dts @@ -83,4 +83,13 @@ mtd-mac-address = <&factory 0xe000>; }; + gpio-leds { + compatible = "gpio-leds"; + + power { + label = "firewrt:green:power"; + gpios = <&gpio0 22 1>; + }; + }; + };