From patchwork Thu Jul 26 00:35:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 10545021 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7D0BCA517 for ; Thu, 26 Jul 2018 00:40:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 68C662A6CE for ; Thu, 26 Jul 2018 00:40:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5B67E2A6D6; Thu, 26 Jul 2018 00:40:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F14452A6CE for ; Thu, 26 Jul 2018 00:40:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=BDU+P4oUpsKS65E7vPPQA77zimcUB3jx5LPIwXflGVs=; b=c0J3rBp30gLGvhPj314AMCHRfj QV+yXdaa+DiruLkgQIF1INMUEsMSlPwfFbNwi9b6G+l9KrsZZ6qQMWEeJX7mCkR/wW0a/16ENMWu4 H85nRcvAc5wVBYxUE6byRVUaeDNAqVfndpXBQKTCtUwD6jQ7VzF4B4gw0hhTdY5S+rOGoIV1Eg9hG CgWpZlm8jB8tuLcEnPeOa1VE4s+Tx/iWUleRO0QUUwXFvLFL7LK6zjGdxKsxZASZmbanPQHqe5jMY 4/s/+GLSkYKzKDR5rLxkvAfKgJxhbArD4Larw6c+Q1s4M5HQgkDSJQ/8hEnxqm2NahQvwErJ1C8lq QKYi4bBA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fiUJw-0005JX-Fi; Thu, 26 Jul 2018 00:39:56 +0000 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fiUHp-0002bj-OR for linux-arm-kernel@lists.infradead.org; Thu, 26 Jul 2018 00:37:49 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B2C881713; Wed, 25 Jul 2018 17:37:33 -0700 (PDT) Received: from localhost.localdomain (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D10203F6A8; Wed, 25 Jul 2018 17:37:31 -0700 (PDT) From: Andre Przywara To: Maxime Ripard Subject: [PATCH v2 07/18] arm64: dts: allwinner: a64: Orange Pi Win: Add LED node Date: Thu, 26 Jul 2018 01:35:21 +0100 Message-Id: <20180726003532.18751-8-andre.przywara@arm.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180726003532.18751-1-andre.przywara@arm.com> References: <20180726003532.18751-1-andre.przywara@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180725_173746_312744_5BCDBD79 X-CRM114-Status: GOOD ( 14.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Samuel Holland , linux-sunxi@googlegroups.com, Chen-Yu Tsai , Icenowy Zheng , Martin Lucina , Jagan Teki , linux-arm-kernel@lists.infradead.org, Sergey Suloev MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Samuel Holland The Orange Pi Win has a green status LED, add the DT node for it. Signed-off-by: Samuel Holland Signed-off-by: Andre Przywara --- arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts index 10f63d0b99cb..55eea0b077d0 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts @@ -64,6 +64,15 @@ stdout-path = "serial0:115200n8"; }; + leds { + compatible = "gpio-leds"; + + status { + label = "orangepi:green:status"; + gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */ + }; + }; + reg_gmac_3v3: gmac-3v3 { compatible = "regulator-fixed"; regulator-name = "gmac-3v3";