From patchwork Sat Jul 11 19:17:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Mehlis X-Patchwork-Id: 494030 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 D04DD1402D6 for ; Sun, 12 Jul 2015 05:18:13 +1000 (AEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id A1C172802BA; Sat, 11 Jul 2015 21:17:48 +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 autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id DFD4F280158 for ; Sat, 11 Jul 2015 21:17:43 +0200 (CEST) X-policyd-weight: using cached result; rate: -7.6 Received: from phoenix.uberspace.de (phoenix.uberspace.de [95.143.172.135]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Sat, 11 Jul 2015 21:17:43 +0200 (CEST) Received: (qmail 1455 invoked from network); 11 Jul 2015 19:18:01 -0000 Received: from localhost (HELO silver.lan) (127.0.0.1) by phoenix.uberspace.de with SMTP; 11 Jul 2015 19:18:01 -0000 From: Christian Mehlis To: openwrt-devel@lists.openwrt.org Date: Sat, 11 Jul 2015 21:17:09 +0200 Message-Id: <1436642229-3841-1-git-send-email-christian@m3hlis.de> X-Mailer: git-send-email 2.4.0.rc0.16.g283cd32 Subject: [OpenWrt-Devel] [PATCH] ramips: added led support for wrtnode board 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" This syncs the dts file with the one provided by the wrtnode team: https://github.com/WRTnode/openwrt-patches/blob/master/R41508/wrtnode_factory_firmware_dts.patch Signed-off-by: Christian Mehlis --- target/linux/ramips/dts/WRTNODE.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/target/linux/ramips/dts/WRTNODE.dts b/target/linux/ramips/dts/WRTNODE.dts index 3fb2303..793c02f 100644 --- a/target/linux/ramips/dts/WRTNODE.dts +++ b/target/linux/ramips/dts/WRTNODE.dts @@ -7,6 +7,10 @@ model = "WRTNODE"; palmbus@10000000 { + gpio1: gpio@638 { + status = "okay"; + }; + gpio2: gpio@660 { status = "okay"; }; @@ -77,4 +81,12 @@ }; }; }; + + gpio-leds { + compatible = "gpio-leds"; + indicator { + label = "wrtnode:blue:indicator"; + gpios = <&gpio1 14 1>; + }; + }; };