From patchwork Tue May 21 12:14:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 2597121 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 0EA41DFB79 for ; Tue, 21 May 2013 12:14:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754213Ab3EUMOf (ORCPT ); Tue, 21 May 2013 08:14:35 -0400 Received: from perceval.ideasonboard.com ([95.142.166.194]:54571 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753661Ab3EUMOf (ORCPT ); Tue, 21 May 2013 08:14:35 -0400 Received: from avalon.ideasonboard.com (unknown [91.178.253.14]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id BD2EE366A3; Tue, 21 May 2013 14:14:32 +0200 (CEST) From: Laurent Pinchart To: linux-sh@vger.kernel.org Cc: devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, Linus Walleij , Magnus Damm , Guennadi Liakhovetski Subject: [PATCH v4 21/21] ARM: shmobile: marzen-reference: Add LED2-LED4 to the device tree Date: Tue, 21 May 2013 14:14:42 +0200 Message-Id: <1369138482-5871-22-git-send-email-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 1.8.1.5 In-Reply-To: <1369138482-5871-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> References: <1369138482-5871-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org LED2 to LED4 are GPIO LEDs. Add corresponding DT nodes. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7779-marzen-reference.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/r8a7779-marzen-reference.dts b/arch/arm/boot/dts/r8a7779-marzen-reference.dts index 596e313..48e254b 100644 --- a/arch/arm/boot/dts/r8a7779-marzen-reference.dts +++ b/arch/arm/boot/dts/r8a7779-marzen-reference.dts @@ -48,6 +48,19 @@ vddvario-supply = <&fixedregulator3v3>; vdd33a-supply = <&fixedregulator3v3>; }; + + leds { + compatible = "gpio-leds"; + led2 { + gpios = <&gpio4 29 0>; + }; + led3 { + gpios = <&gpio4 30 0>; + }; + led4 { + gpios = <&gpio4 31 0>; + }; + }; }; &pfc {