From: Laurent Pinchart Date: Tue, 16 Jul 2013 09:45:56 +0000 (+0200) Subject: ARM: shmobile: lager-reference: Add LED6-LED8 to the device tree X-Git-Tag: next-20130822~12^2~5^2~14 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=466f302e076236a4796079681ca2a2f34a5792a3;p=karo-tx-linux.git ARM: shmobile: lager-reference: Add LED6-LED8 to the device tree LED6 to LED8 are GPIO LEDs. Add corresponding DT nodes. Signed-off-by: Laurent Pinchart Signed-off-by: Simon Horman --- diff --git a/arch/arm/boot/dts/r8a7790-lager-reference.dts b/arch/arm/boot/dts/r8a7790-lager-reference.dts index fa5b81bddd53..5ee71cf5e364 100644 --- a/arch/arm/boot/dts/r8a7790-lager-reference.dts +++ b/arch/arm/boot/dts/r8a7790-lager-reference.dts @@ -10,6 +10,7 @@ /dts-v1/; /include/ "r8a7790.dtsi" +#include / { model = "Lager"; @@ -28,4 +29,17 @@ #address-cells = <1>; #size-cells = <1>; }; + + leds { + compatible = "gpio-leds"; + led6 { + gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>; + }; + led7 { + gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>; + }; + led8 { + gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>; + }; + }; };