From: Laurent Pinchart Date: Thu, 9 May 2013 22:23:04 +0000 (+0200) Subject: ARM: shmobile: marzen-reference: Add LED2-LED4 to the device tree X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=80d1126fae07fd4bd6a93ad626ad14e753f9d892;p=linux-beck.git ARM: shmobile: marzen-reference: Add LED2-LED4 to the device tree LED2 to LED4 are GPIO LEDs. Add corresponding DT nodes. Signed-off-by: Laurent Pinchart Signed-off-by: Simon Horman --- diff --git a/arch/arm/boot/dts/r8a7779-marzen-reference.dts b/arch/arm/boot/dts/r8a7779-marzen-reference.dts index 6d202478a139..b64705be258d 100644 --- a/arch/arm/boot/dts/r8a7779-marzen-reference.dts +++ b/arch/arm/boot/dts/r8a7779-marzen-reference.dts @@ -11,6 +11,7 @@ /dts-v1/; /include/ "r8a7779.dtsi" +#include / { model = "marzen"; @@ -47,6 +48,19 @@ vddvario-supply = <&fixedregulator3v3>; vdd33a-supply = <&fixedregulator3v3>; }; + + leds { + compatible = "gpio-leds"; + led2 { + gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>; + }; + led3 { + gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>; + }; + led4 { + gpios = <&gpio4 31 GPIO_ACTIVE_HIGH>; + }; + }; }; &pfc {