diff mbox

[2/3] ARM: shmobile: ape6evm-reference: Add LEDs to the device tree

Message ID 1417509427-31690-3-git-send-email-ulrich.hecht+renesas@gmail.com (mailing list archive)
State Changes Requested
Delegated to: Simon Horman
Headers show

Commit Message

Ulrich Hecht Dec. 2, 2014, 8:37 a.m. UTC
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
---
 arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts | 28 +++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Comments

Geert Uytterhoeven Dec. 2, 2014, 9:23 p.m. UTC | #1
Hi Ulrich,

On Tue, Dec 2, 2014 at 9:37 AM, Ulrich Hecht
<ulrich.hecht+renesas@gmail.com> wrote:
> --- a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts
> +++ b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts
> @@ -82,6 +82,34 @@
>                         vdd33a-supply = <&ape6evm_fixed_3v3>;
>                 };
>         };
> +
> +       leds {
> +               compatible = "gpio-leds";
> +               led1 {
> +                       gpios = <&pfc 28 GPIO_ACTIVE_LOW>;
> +                       label = "gnss-en";
> +               };
> +               led2 {
> +                       gpios = <&pfc 126 GPIO_ACTIVE_LOW>;
> +                       label = "nfc-nrst";
> +               };
> +               led3 {
> +                       gpios = <&pfc 132 GPIO_ACTIVE_LOW>;
> +                       label = "gnss-nrst";
> +               };
> +               led4 {
> +                       gpios = <&pfc 232 GPIO_ACTIVE_LOW>;
> +                       label = "bt-wakeup";
> +               };
> +               led5 {
> +                       gpios = <&pfc 250 GPIO_ACTIVE_LOW>;
> +                       label = "strobe";
> +               };
> +               led6 {
> +                       gpios = <&pfc 288 GPIO_ACTIVE_LOW>;
> +                       label = "bbresetout";

Are the labels in lower or upper case?

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts
index a218c26..a2c73c4 100644
--- a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts
+++ b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts
@@ -82,6 +82,34 @@ 
 			vdd33a-supply = <&ape6evm_fixed_3v3>;
 		};
 	};
+
+	leds {
+		compatible = "gpio-leds";
+		led1 {
+			gpios = <&pfc 28 GPIO_ACTIVE_LOW>;
+			label = "gnss-en";
+		};
+		led2 {
+			gpios = <&pfc 126 GPIO_ACTIVE_LOW>;
+			label = "nfc-nrst";
+		};
+		led3 {
+			gpios = <&pfc 132 GPIO_ACTIVE_LOW>;
+			label = "gnss-nrst";
+		};
+		led4 {
+			gpios = <&pfc 232 GPIO_ACTIVE_LOW>;
+			label = "bt-wakeup";
+		};
+		led5 {
+			gpios = <&pfc 250 GPIO_ACTIVE_LOW>;
+			label = "strobe";
+		};
+		led6 {
+			gpios = <&pfc 288 GPIO_ACTIVE_LOW>;
+			label = "bbresetout";
+		};
+	};
 };
 
 &i2c5 {