From mboxrd@z Thu Jan 1 00:00:00 1970 From: nicolas.ferre@atmel.com (Nicolas Ferre) Date: Wed, 4 Mar 2015 11:54:33 +0100 Subject: [PATCH] ARM: at91: dts: sama5d4ek: add leds in DT node In-Reply-To: <1423474820-19118-1-git-send-email-josh.wu@atmel.com> References: <1423474820-19118-1-git-send-email-josh.wu@atmel.com> Message-ID: <54F6E469.8020405@atmel.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Le 09/02/2015 10:40, Josh Wu a ?crit : > Add the leds DT node in the dts file. > In the leds, d10 is set as heartbeat led. > > Signed-off-by: Josh Wu Acked-by: Nicolas Ferre added to at91-4.1-dt branch. Thanks. > --- > > arch/arm/boot/dts/at91-sama5d4ek.dts | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts > index 9198b71..0c418be 100644 > --- a/arch/arm/boot/dts/at91-sama5d4ek.dts > +++ b/arch/arm/boot/dts/at91-sama5d4ek.dts > @@ -257,4 +257,26 @@ > gpio-key,wakeup; > }; > }; > + > + leds { > + compatible = "gpio-leds"; > + status = "okay"; > + > + d8 { > + label = "d8"; > + /* PE28, conflicts with usart4 rts pin */ > + gpios = <&pioE 28 GPIO_ACTIVE_LOW>; > + }; > + > + d9 { > + label = "d9"; > + gpios = <&pioE 9 GPIO_ACTIVE_HIGH>; > + }; > + > + d10 { > + label = "d10"; > + gpios = <&pioE 8 GPIO_ACTIVE_LOW>; > + linux,default-trigger = "heartbeat"; > + }; > + }; > }; > -- Nicolas Ferre From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Ferre Subject: Re: [PATCH] ARM: at91: dts: sama5d4ek: add leds in DT node Date: Wed, 4 Mar 2015 11:54:33 +0100 Message-ID: <54F6E469.8020405@atmel.com> References: <1423474820-19118-1-git-send-email-josh.wu@atmel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1423474820-19118-1-git-send-email-josh.wu@atmel.com> Sender: linux-kernel-owner@vger.kernel.org To: Josh Wu Cc: linux-arm-kernel@lists.infradead.org, Boris Brezillon , Alexandre Belloni , Andrew Victor , Jean-Christophe Plagniol-Villard , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org Le 09/02/2015 10:40, Josh Wu a =E9crit : > Add the leds DT node in the dts file. > In the leds, d10 is set as heartbeat led. >=20 > Signed-off-by: Josh Wu Acked-by: Nicolas Ferre added to at91-4.1-dt branch. Thanks. > --- >=20 > arch/arm/boot/dts/at91-sama5d4ek.dts | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) >=20 > diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts= /at91-sama5d4ek.dts > index 9198b71..0c418be 100644 > --- a/arch/arm/boot/dts/at91-sama5d4ek.dts > +++ b/arch/arm/boot/dts/at91-sama5d4ek.dts > @@ -257,4 +257,26 @@ > gpio-key,wakeup; > }; > }; > + > + leds { > + compatible =3D "gpio-leds"; > + status =3D "okay"; > + > + d8 { > + label =3D "d8"; > + /* PE28, conflicts with usart4 rts pin */ > + gpios =3D <&pioE 28 GPIO_ACTIVE_LOW>; > + }; > + > + d9 { > + label =3D "d9"; > + gpios =3D <&pioE 9 GPIO_ACTIVE_HIGH>; > + }; > + > + d10 { > + label =3D "d10"; > + gpios =3D <&pioE 8 GPIO_ACTIVE_LOW>; > + linux,default-trigger =3D "heartbeat"; > + }; > + }; > }; >=20 --=20 Nicolas Ferre From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934372AbbCDKyk (ORCPT ); Wed, 4 Mar 2015 05:54:40 -0500 Received: from eusmtp01.atmel.com ([212.144.249.242]:17170 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932983AbbCDKyi (ORCPT ); Wed, 4 Mar 2015 05:54:38 -0500 Message-ID: <54F6E469.8020405@atmel.com> Date: Wed, 4 Mar 2015 11:54:33 +0100 From: Nicolas Ferre Organization: atmel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Josh Wu CC: , Boris Brezillon , Alexandre Belloni , Andrew Victor , Jean-Christophe Plagniol-Villard , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , "Kumar Gala" , Russell King , , Subject: Re: [PATCH] ARM: at91: dts: sama5d4ek: add leds in DT node References: <1423474820-19118-1-git-send-email-josh.wu@atmel.com> In-Reply-To: <1423474820-19118-1-git-send-email-josh.wu@atmel.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.161.30.18] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 09/02/2015 10:40, Josh Wu a écrit : > Add the leds DT node in the dts file. > In the leds, d10 is set as heartbeat led. > > Signed-off-by: Josh Wu Acked-by: Nicolas Ferre added to at91-4.1-dt branch. Thanks. > --- > > arch/arm/boot/dts/at91-sama5d4ek.dts | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts > index 9198b71..0c418be 100644 > --- a/arch/arm/boot/dts/at91-sama5d4ek.dts > +++ b/arch/arm/boot/dts/at91-sama5d4ek.dts > @@ -257,4 +257,26 @@ > gpio-key,wakeup; > }; > }; > + > + leds { > + compatible = "gpio-leds"; > + status = "okay"; > + > + d8 { > + label = "d8"; > + /* PE28, conflicts with usart4 rts pin */ > + gpios = <&pioE 28 GPIO_ACTIVE_LOW>; > + }; > + > + d9 { > + label = "d9"; > + gpios = <&pioE 9 GPIO_ACTIVE_HIGH>; > + }; > + > + d10 { > + label = "d10"; > + gpios = <&pioE 8 GPIO_ACTIVE_LOW>; > + linux,default-trigger = "heartbeat"; > + }; > + }; > }; > -- Nicolas Ferre