From patchwork Sat Jul 18 00:06:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: nyt-openwrt@countercultured.net X-Patchwork-Id: 497307 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 56050140271 for ; Sat, 18 Jul 2015 10:07:23 +1000 (AEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id CE1792841C6; Sat, 18 Jul 2015 02:06:45 +0200 (CEST) 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_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 492D3280351 for ; Sat, 18 Jul 2015 02:06:39 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_FROM_MX=-3.1; rate: -7.6 Received: from countercultured.net (countercultured.net [209.51.175.25]) by arrakis.dune.hu (Postfix) with SMTP for ; Sat, 18 Jul 2015 02:06:36 +0200 (CEST) Received: (qmail 23857 invoked by uid 1000); 18 Jul 2015 00:06:58 -0000 From: nyt-openwrt@countercultured.net To: kaloz@openwrt.org Date: Fri, 17 Jul 2015 20:06:58 -0400 Message-Id: <1437178018-23821-1-git-send-email-nyt-openwrt@countercultured.net> X-Mailer: git-send-email 2.1.4 Cc: openwrt-devel@lists.openwrt.org Subject: [OpenWrt-Devel] [PATCH] mvebu: update dts files for mamba / WRT1900AC 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" From: notnyt Fix for default button states in WRT1900AC dts files. This prevents overlay wipe when reset is pressed. More info at: https://forum.openwrt.org/viewtopic.php?pid=282900#p282900 Signed-off-by: notnyt --- target/linux/mvebu/patches-3.18/001-add_mamba_support.patch | 4 ++-- target/linux/mvebu/patches-4.0/001-add_mamba_support.patch | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/mvebu/patches-3.18/001-add_mamba_support.patch b/target/linux/mvebu/patches-3.18/001-add_mamba_support.patch index 437cc3a..44a1adc 100644 --- a/target/linux/mvebu/patches-3.18/001-add_mamba_support.patch +++ b/target/linux/mvebu/patches-3.18/001-add_mamba_support.patch @@ -337,13 +337,13 @@ Signed-off-by: Gregory CLEMENT + button@1 { + label = "WPS"; + linux,code = ; -+ gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>; ++ gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; + }; + + button@2 { + label = "Factory Reset Button"; + linux,code = ; -+ gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>; ++ gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; + }; + }; + diff --git a/target/linux/mvebu/patches-4.0/001-add_mamba_support.patch b/target/linux/mvebu/patches-4.0/001-add_mamba_support.patch index 305479a..0fc2638 100644 --- a/target/linux/mvebu/patches-4.0/001-add_mamba_support.patch +++ b/target/linux/mvebu/patches-4.0/001-add_mamba_support.patch @@ -337,13 +337,13 @@ Signed-off-by: Gregory CLEMENT + button@1 { + label = "WPS"; + linux,code = ; -+ gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>; ++ gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; + }; + + button@2 { + label = "Factory Reset Button"; + linux,code = ; -+ gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>; ++ gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; + }; + }; +