From patchwork Thu Feb 4 14:28:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 8222601 Return-Path: X-Original-To: patchwork-linux-renesas-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B4425BEEED for ; Thu, 4 Feb 2016 14:30:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2A23620155 for ; Thu, 4 Feb 2016 14:30:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7E66C2017E for ; Thu, 4 Feb 2016 14:30:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754205AbcBDOaM (ORCPT ); Thu, 4 Feb 2016 09:30:12 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:49245 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756916AbcBDOaL (ORCPT ); Thu, 4 Feb 2016 09:30:11 -0500 Received: from penelope.kanocho.kobe.vergenet.net (d54c0ad22.access.telenet.be [84.192.173.34]) by kirsty.vergenet.net (Postfix) with ESMTPSA id 77E3625BE8B; Fri, 5 Feb 2016 01:30:08 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1454596208; bh=Dro7UfOjJsjj3X5RLDx8Dvh5T25RZc1O6GZuZitgshg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rzR0FEraRuNIMK4v0nVtpOQ/IcIa5uB8BSpT0BE8bSSqJMUditjkh7lqUZA9jRH1N O05Lt+bGkOVCyTT/8Sl+vvaC6d6tKAp1sLMKM3EXZgHNCP9CF/TbW8cYnlzfTsPxWa h2gwZTeSgrFB/0I8HV0lVKTEf84DN/2pc9Mo/u7g= Received: by penelope.kanocho.kobe.vergenet.net (Postfix, from userid 7100) id 123F760436; Fri, 5 Feb 2016 01:30:05 +1100 (AEDT) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Simon Horman Subject: [PATCH 02/70] ARM: dts: gose: Add GPIO leds to DT Date: Thu, 4 Feb 2016 15:28:56 +0100 Message-Id: <3b18d8593d4cb6880c6647c26ccfcd3eb5a849d9.1454595846.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.7.0.rc3.207.g0ac5344 In-Reply-To: References: Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Instantiate the GPIO leds in the gose device tree. Based on similar work for the koelsch board by Magnus Damm. Signed-off-by: Simon Horman Tested-by: Magnus Damm --- arch/arm/boot/dts/r8a7793-gose.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts index ccbc1c66cc6c..90b587c3c736 100644 --- a/arch/arm/boot/dts/r8a7793-gose.dts +++ b/arch/arm/boot/dts/r8a7793-gose.dts @@ -113,6 +113,22 @@ debounce-interval = <20>; }; }; + + leds { + compatible = "gpio-leds"; + led6 { + gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>; + label = "LED6"; + }; + led7 { + gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>; + label = "LED7"; + }; + led8 { + gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; + label = "LED8"; + }; + }; }; &extal_clk {