From patchwork Tue Nov 27 00:03:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 1807951 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 6E01340AE5 for ; Tue, 27 Nov 2012 00:03:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932794Ab2K0ADB (ORCPT ); Mon, 26 Nov 2012 19:03:01 -0500 Received: from perceval.ideasonboard.com ([95.142.166.194]:48914 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932957Ab2K0AC7 (ORCPT ); Mon, 26 Nov 2012 19:02:59 -0500 Received: from avalon.ideasonboard.com (unknown [91.178.20.73]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0903535A90; Tue, 27 Nov 2012 01:02:47 +0100 (CET) From: Laurent Pinchart To: linux-sh@vger.kernel.org Cc: Paul Mundt , Magnus Damm , Simon Horman , Linus Walleij , Kuninori Morimoto , Phil Edworthy , Nobuhiro Iwamatsu Subject: [PATCH v2 77/77] ARM: shmobile: kzm9g: Add LED1-LED4 to the device tree Date: Tue, 27 Nov 2012 01:03:16 +0100 Message-Id: <1353974596-30033-78-git-send-email-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 1.7.8.6 In-Reply-To: <1353974596-30033-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> References: <1353974596-30033-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 LED1 to LED4 are GPIO LEDs. Add corresponding DT nodes. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/sh73a0-kzm9g.dts | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/sh73a0-kzm9g.dts b/arch/arm/boot/dts/sh73a0-kzm9g.dts index 7b37901..203efb8 100644 --- a/arch/arm/boot/dts/sh73a0-kzm9g.dts +++ b/arch/arm/boot/dts/sh73a0-kzm9g.dts @@ -19,4 +19,20 @@ device_type = "memory"; reg = <0x41000000 0x1e800000>; }; + + leds { + compatible = "gpio-leds"; + led1 { + gpios = <&gpio 20 1>; /* Active low */ + }; + led2 { + gpios = <&gpio 21 1>; /* Active low */ + }; + led3 { + gpios = <&gpio 22 1>; /* Active low */ + }; + led4 { + gpios = <&gpio 23 1>; /* Active low */ + }; + }; };