From patchwork Fri Jan 30 09:04:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wengbj X-Patchwork-Id: 434780 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 0C0551400B6 for ; Fri, 30 Jan 2015 20:05:27 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 028B528BF43; Fri, 30 Jan 2015 10:01:58 +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 C66C928BF23 for ; Fri, 30 Jan 2015 10:01:37 +0100 (CET) X-policyd-weight: using cached result; rate: -5.5 Received: from regular1.263xmail.com (regular1.263xmail.com [211.150.99.139]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Fri, 30 Jan 2015 10:01:34 +0100 (CET) Received: from fl.service?t-firefly.com (unknown [192.168.167.158]) by regular1.263xmail.com (Postfix) with SMTP id C72A94881; Fri, 30 Jan 2015 17:03:56 +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 [114.215.175.228]) by smtp.263.net (Postfix) with ESMTP id 910B42B16B; Fri, 30 Jan 2015 17:03:52 +0800 (CST) Received: from fl.service?t-firefly.com (localhost [127.0.0.1]) by mae.263xmail.com (Postfix) with SMTP id D92B027ED09; Fri, 30 Jan 2015 17:03:55 +0800 (CST) X-MAE-MAIL_UID: 0054cb48fb0c76a7@maes@fdc73058aeef40af 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: Fri, 30 Jan 2015 17:04:29 +0800 Message-Id: <1422608670-8506-2-git-send-email-fl.service@t-firefly.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1422608670-8506-1-git-send-email-fl.service@t-firefly.com> References: <1422608670-8506-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" --- 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>; + }; + }; + };