diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-06-15 08:30:30 (GMT) |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2012-07-13 07:55:45 (GMT) |
commit | 7fd975fabe65ee8cc1d53811c9aa607e95def406 (patch) | |
tree | 74cf5ef57921e1f999fa895675cf8fb03f95b09a /arch/arm | |
parent | 8733f53c67544ccf358437cc8bb5a175c351ceba (diff) | |
download | linux-fsl-qoriq-7fd975fabe65ee8cc1d53811c9aa607e95def406.tar.xz |
ARM: ux500: Enable the user LED on Snowball via Device Tree
This patch enables and illuminates the user_led on the
Snowball low-cost development board using DT. It also
removes initialisation carried out from platform code.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/snowball.dts | 1 | ||||
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/snowball.dts b/arch/arm/boot/dts/snowball.dts index 68f66f3..aefcb7f 100644 --- a/arch/arm/boot/dts/snowball.dts +++ b/arch/arm/boot/dts/snowball.dts @@ -77,6 +77,7 @@ used-led { label = "user_led"; gpios = <&gpio4 14 0x4>; + default-state = "on"; }; }; diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index 2130fae..e4e63c7 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -819,7 +819,7 @@ static void __init u8500_init_machine(void) } else if (of_machine_is_compatible("calaosystems,snowball-a9500")) { /* * Devices to be DT:ed: - * snowball_led_dev = todo + * snowball_led_dev = done * snowball_key_dev = todo * snowball_sbnet_dev = done * ab8500_device = done |