From patchwork Mon Dec 28 06:48:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Careba X-Patchwork-Id: 561230 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id B069B140CBB for ; Mon, 28 Dec 2015 17:49:02 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=yahoo.com header.i=@yahoo.com header.b=YZEJBcsa; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 3665F28BE55; Mon, 28 Dec 2015 07:48:34 +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=-2.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RP_MATCHES_RCVD,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 12C1228BE48 for ; Mon, 28 Dec 2015 07:48:29 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .yahoo. - helo: .nm5-vm0.bullet.mail.bf1.yahoo. - helo-domain: .yahoo.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -8.5 Received: from nm5-vm0.bullet.mail.bf1.yahoo.com (nm5-vm0.bullet.mail.bf1.yahoo.com [98.139.213.150]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Mon, 28 Dec 2015 07:48:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1451285330; bh=M4QpA4KSxibZ8kUKNuKkOOq8K4dop3effFJrWMBN9dQ=; h=From:To:Cc:Subject:Date:From:Subject; b=YZEJBcsaUy7ttLSUZRMx5NjXR2fBHCZz235A+2LBN4GWoJOz9+vIMuxcaW4N9HRdoU1crqgqxMPKt0veZrJ7ShBI2olkx6d5Q/GdPMa+bsuJ3BJDIkETCJi7nQRqj49mKvl1ZnNi74+OOjje0tJnlc9+V72JjQ2FyuVM3b7ez9cN1+kPDrJCGy78AfJqkwm1Hrd7lQLulthP4iAr8Xf85cWqGEhevNtGR7A0tTknXdALX5Gzc0egBk4g6ig0l8Z4ejDCFHnsVzD1sHFXssU30A/Lp3iU/zMsOLjl7FpA0fjS//gKZd9E+iiYt/IyPdaGKC3Xjwo6fvwg95QbyWA+sQ== Received: from [98.139.215.141] by nm5.bullet.mail.bf1.yahoo.com with NNFMP; 28 Dec 2015 06:48:50 -0000 Received: from [68.142.230.65] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 28 Dec 2015 06:48:50 -0000 Received: from [127.0.0.1] by smtp222.mail.bf1.yahoo.com with NNFMP; 28 Dec 2015 06:48:50 -0000 X-Yahoo-Newman-Id: 428131.54044.bm@smtp222.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: D5gfWjoVM1l_mGrWF9szKG4wU2yVJDhLEmsejtHqvPyYGuk IoDtIPZrIsF3vSbybJoC91ARwmuiO0wFDw1bFbAs9lComq0Zc5hAeOQvvpBD C.UQY5JiGMQQPBy94W2SJRvH8X4d4Ir9ZOldr6.jW1gE7HzXtZzX5pWBiCPD WIuNraQwUISpQzA6zkM_Mtfre0NYq41YQtA5dV_14fktVj9A2IXhmXHzsAqP zIm7RrJ1bq985TBzBdAtfHCHBc74UDYFRu3.vz5q7TWOe_NGyNbHWAh4flZc hzIs7Pa91VbGMl6TBOqqBhqNciQtp4vn_Wxkd9R2pC4LAnmBYiRJD95M58FR 7EqUn8UJyHHd3UmaitpZ3O2oid.JhR9J88VuLkoxkQoy17EXCHhLyKjAnK3c jttw7C8oKoEZiYEWkIaEbe.Ffny_ipP8eVH.NkwDvi9AGAllV8jjGD7oanaL xeH9.Is6.WaI3nP78DJvE.5LddKssFL0jM7LzE97wcYO6vYNUpzROZb_CW7m MtnIm_sanBQZM0M8rrWtANzHlFQ0XeXY- X-Yahoo-SMTP: adF5FPaswBDq.GpHrd8D4UL8LrDj1dI- From: Sebastian Careba To: openwrt-devel@lists.openwrt.org Date: Mon, 28 Dec 2015 08:48:41 +0200 Message-Id: <1451285321-2200-1-git-send-email-nitroshift@yahoo.com> X-Mailer: git-send-email 2.1.4 Cc: Sebastian Careba Subject: [OpenWrt-Devel] [PATCH v1] Remove LED GPIO definitions in MQmaker WiTi device tree 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" LED's were defined wrong in the device tree file, they are hardware driven because they are connected directly to the switch chip and wireless chips respectively, thus no GPIO addresses are assigned to them. It is safe to remove them from the device tree file to stop confusion. Signed-off-by: Sebastian Careba --- target/linux/ramips/dts/WITI.dts | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/target/linux/ramips/dts/WITI.dts b/target/linux/ramips/dts/WITI.dts index 9b03147..fe60de6 100644 --- a/target/linux/ramips/dts/WITI.dts +++ b/target/linux/ramips/dts/WITI.dts @@ -103,25 +103,6 @@ mtd-mac-address = <&factory 0xe000>; }; - gpio-leds { - compatible = "gpio-leds"; - - power { - label = "witi:green:power"; - gpios = <&gpio0 25 1>; - }; - - sys { - label = "witi:green:sys"; - gpios = <&gpio0 24 1>; - }; - - internet { - label = "witi:green:internet"; - gpios = <&gpio0 23 1>; - }; - }; - gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>;