From patchwork Wed Nov 18 22:20:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 7653021 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 676E39F392 for ; Wed, 18 Nov 2015 22:22:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A7FE320490 for ; Wed, 18 Nov 2015 22:22:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 946AC20494 for ; Wed, 18 Nov 2015 22:22:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751958AbbKRWWA (ORCPT ); Wed, 18 Nov 2015 17:22:00 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:54698 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751685AbbKRWV7 (ORCPT ); Wed, 18 Nov 2015 17:21:59 -0500 Received: from penelope.kanocho.kobe.vergenet.net (unknown [68.65.169.20]) by kirsty.vergenet.net (Postfix) with ESMTPSA id A777825B827; Thu, 19 Nov 2015 09:21:54 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1447885314; bh=1ECcmSwh1rp2uMzEwpdZRcTkwaFALa1334ZgQQ6nT2g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=G11C4iFbe6a7VQavTKzOYei0KqJJrQqtu/1Yba5o5p5KLf1gmF9XkkshjTIlNuvNh 9xAqFdyVg3hsKGOGNW1uitgt/EWDH8fy7sNCFMoiouEfh4c/wW07YKgEwZ3RgPCVOi 2eKNpfC9EJez4LQfh2e8CsNefrTepu9POHHOBKhc= Received: by penelope.kanocho.kobe.vergenet.net (Postfix, from userid 7100) id 3FCB8618B0; Thu, 19 Nov 2015 07:20:37 +0900 (JST) From: Simon Horman To: linux-sh@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Simon Horman , Magnus Damm Subject: [PATCH 2/2] ARM: shmobile: gose: Add GPIO leds to DT Date: Wed, 18 Nov 2015 14:20:35 -0800 Message-Id: <1447885235-17858-3-git-send-email-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1447885235-17858-1-git-send-email-horms+renesas@verge.net.au> References: <1447885235-17858-1-git-send-email-horms+renesas@verge.net.au> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.3 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. Cc: Magnus Damm Signed-off-by: Simon Horman --- * Compile Tested Only --- 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 ff391d2fb767..7e1794736aa9 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 {