summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-11-17 14:33:19 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-11-27 00:01:57 +0400
commit2f4b84f8ecd2e4680a2e205e78d5ccdf56bd87d7 (patch)
treec67efd6c950b3db8c27ade613176ac6f719e6abe /arch/arm/boot
parentfd8f9eac9dca386f54dfeff94afd03c84ec72ca1 (diff)
downloadlinux-2f4b84f8ecd2e4680a2e205e78d5ccdf56bd87d7.tar.xz
ARM: ux500: move snowball LED pin control to device tree
This moves the Snowball LED pin config to the device tree. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/ste-snowball.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-snowball.dts b/arch/arm/boot/dts/ste-snowball.dts
index 744ab956059a..605188ba30cd 100644
--- a/arch/arm/boot/dts/ste-snowball.dts
+++ b/arch/arm/boot/dts/ste-snowball.dts
@@ -76,6 +76,8 @@
leds {
compatible = "gpio-leds";
+ pinctrl-names = "default";
+ pinctrl-0 = <&gpioled_snowball_mode>;
used-led {
label = "user_led";
gpios = <&gpio4 14 0x4>;
@@ -414,6 +416,15 @@
};
};
+ gpio_led {
+ gpioled_snowball_mode: gpioled_default {
+ snowball_cfg1 {
+ ste,pins = "GPIO142_C11";
+ ste,config = <&gpio_out_hi>;
+ };
+
+ };
+ };
};
mcde@a0350000 {