From patchwork Mon Dec 8 21:41:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Kunze X-Patchwork-Id: 418881 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 3CBAD1400D5 for ; Tue, 9 Dec 2014 08:44:00 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id BE0F728C190; Mon, 8 Dec 2014 22:41:02 +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,FREEMAIL_FROM autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 31B1D28C186 for ; Mon, 8 Dec 2014 22:40:08 +0100 (CET) X-policyd-weight: using cached result; rate:hard: -5.5 Received: from hemingway.tivano.net (hemingway.tivano.net [145.253.242.196]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Mon, 8 Dec 2014 22:40:08 +0100 (CET) Received: (qmail 8994 invoked from network); 8 Dec 2014 21:41:50 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 8 Dec 2014 21:41:50 -0000 X-Virus-Scanned: amavisd-new at tivano.de Received: from unknown ([127.0.0.1]) by localhost (hemingway.tivano.net [127.0.0.1]) (amavisd-new, port 10628) id noi3IBDG_-pG; Mon, 8 Dec 2014 22:41:49 +0100 (CET) Received: from dslb-084-058-012-017.084.058.pools.vodafone-ip.de (HELO doyle.lan) (kunze@84.58.12.17) by hemingway.tivano.net with ESMTPA; 8 Dec 2014 21:41:49 -0000 From: Richard Kunze To: blogic@openwrt.org, openwrt-devel@lists.openwrt.org Date: Mon, 8 Dec 2014 22:41:28 +0100 Message-Id: <1418074889-24888-2-git-send-email-richard.kunze@web.de> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1418074889-24888-1-git-send-email-richard.kunze@web.de> References: <5484841F.5030907@openwrt.org> <1418074889-24888-1-git-send-email-richard.kunze@web.de> Subject: [OpenWrt-Devel] [PATCH RESEND 1/2] kirkwood: Iomega ix2-200: wire up the GPIO poweroff driver in the 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" Signed-off-by: Richard Kunze --- .../linux/kirkwood/patches-3.14/171-ix2_200_poweroff.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 target/linux/kirkwood/patches-3.14/171-ix2_200_poweroff.patch diff --git a/target/linux/kirkwood/patches-3.14/171-ix2_200_poweroff.patch b/target/linux/kirkwood/patches-3.14/171-ix2_200_poweroff.patch new file mode 100644 index 0000000..62f244c --- /dev/null +++ b/target/linux/kirkwood/patches-3.14/171-ix2_200_poweroff.patch @@ -0,0 +1,13 @@ +--- a/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts ++++ b/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts +@@ -168,6 +168,10 @@ + gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; + }; + }; ++ gpio-poweroff { ++ compatible = "gpio-poweroff"; ++ gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; ++ }; + }; + + &nand {