From patchwork Thu Dec 24 12:28:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathias Kresin X-Patchwork-Id: 560919 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 9392C140C36 for ; Thu, 24 Dec 2015 23:37:46 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kresin-me.20150623.gappssmtp.com header.i=@kresin-me.20150623.gappssmtp.com header.b=sgMxxtRK; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id BAD1928C17C; Thu, 24 Dec 2015 13:31:24 +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,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 EEE6E280143 for ; Thu, 24 Dec 2015 13:29:04 +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: .kresin. - helo: .mail-wm0-f48.google. - helo-domain: .google.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=1; rate: -5.5 Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Thu, 24 Dec 2015 13:28:48 +0100 (CET) Received: by mail-wm0-f48.google.com with SMTP id p187so178766171wmp.1 for ; Thu, 24 Dec 2015 04:29:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kresin-me.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=xYkau2Sls0BmucRkpkniACq+/kss/vwK6N46h+1YEqY=; b=sgMxxtRKX/ZkqaGeJ/uLUSl/F+oTZX/B0iiNzM38kefAtyJ9t39ttrSuKZb6NIn//5 NaH+wLha04TEKT/aQ55HCmIN7VkAArQ2BOD0h2t7fH+oGaHOO9sugb/h0ZRCzyK9346C 2zX8meDRBrTPgHAXf0nOrJ+u9lUgMRWVCkwAidJ1+nqRPbPV+1dyJPdjrF4dT2ciLPTt y9r1UbHm9dZ2OD5oeOQiOWvuMsezKNTcoHv7hAAbwGQJP67zQeTbfBG9crF1ZH0jWFS9 4Dm+RbfbSL7l9aYGrYR0RkkL8UQT49a/buMko4uRObkHFhAw5KS9jilJUxSCEqhsNWpn W75w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=xYkau2Sls0BmucRkpkniACq+/kss/vwK6N46h+1YEqY=; b=KbX2Ukfx8+VaJWYqin4E6A3L/LmkdujiUCP/Izzo4imXN15QLpl8hc5jCI8fUbpIyv sLv/rCAcH/aJgx20igDlN46zh70qjhufbBAwAe3k/Y6f6eQYPO/os/+tJjgKtKgkgexf oPo/Nm8KO1OT38z0l4VM/NrWckOtb4a35fZsykIkSG9mJDAFoKHaPFg1GytvYI3bwHtd GhPsFEyw6DTcvqa4qFSayJdbMD0AbaQZ6YP7qXXW6yn9Ae4IVYhqFLjahf6IQv5PZ5yy lJEHeAN9q22mBhpFnk8WL/SCAg7srVx0hPYOkMMqlpD9d/GJwPUJP0oVECCmxENB1hQ8 kLpA== X-Gm-Message-State: ALoCoQmAmAzZdXZLd9bnpmTCyAXLsptSk8E6qCZ2edMLuCNxCKoFc81uLY2KaeCdntrk67l4jgDOgOfgthIpFcXjX5HGHi80BQ== X-Received: by 10.28.170.66 with SMTP id t63mr38754232wme.40.1450960146804; Thu, 24 Dec 2015 04:29:06 -0800 (PST) Received: from desktop.wvd.kresin.me (p54AF4408.dip0.t-ipconnect.de. [84.175.68.8]) by smtp.gmail.com with ESMTPSA id l194sm6292996wmb.14.2015.12.24.04.29.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Dec 2015 04:29:06 -0800 (PST) From: Mathias Kresin To: openwrt-devel@lists.openwrt.org Date: Thu, 24 Dec 2015 13:28:51 +0100 Message-Id: <1450960137-22752-7-git-send-email-openwrt@kresin.me> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1450960137-22752-1-git-send-email-openwrt@kresin.me> References: <1450960137-22752-1-git-send-email-openwrt@kresin.me> Subject: [OpenWrt-Devel] [PATCH v2 06/12] lantiq: ARV752DPW - fix dts file 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" Use the same led logic and labels as the OEM firmware (red = okay, blue = failure). Add the red internet led. Remove missing usb led workaround. The workaround shouldn't be in the default configuration. Signed-off-by: Mathias Kresin --- target/linux/lantiq/dts/ARV752DPW.dts | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/target/linux/lantiq/dts/ARV752DPW.dts b/target/linux/lantiq/dts/ARV752DPW.dts index fe478e1..8848c71 100644 --- a/target/linux/lantiq/dts/ARV752DPW.dts +++ b/target/linux/lantiq/dts/ARV752DPW.dts @@ -170,25 +170,29 @@ gpio-leds { compatible = "gpio-leds"; - power { - label = "power"; + power1 { + label = "power1"; gpios = <&gpio 3 1>; }; + internet { + label = "internet"; + gpios = <&gpio 4 1>; + }; message { label = "message"; gpios = <&gpio 5 1>; }; - power1 { - label = "power1"; + power { + label = "power"; gpios = <&gpio 6 1>; + default-state = "keep"; }; voice1 { label = "voice1"; gpios = <&gpio 8 1>; }; microphone { - /* use this led as te usb led */ - label = "usb"; + label = "umts"; gpios = <&gpiomm 3 1>; }; wifi { @@ -199,7 +203,7 @@ label = "fxs1"; gpios = <&gpiomm 5 1>; }; - fx2 { + fxs2 { label = "fxs2"; gpios = <&gpiomm 6 1>; }; @@ -207,8 +211,8 @@ label = "fxo"; gpios = <&gpiomm 7 1>; }; - internet { - label = "internet"; + internet2 { + label = "internet2"; gpios = <&gpiomm 8 1>; }; voice2 {