Commit 2f4b84f8 authored by Linus Walleij's avatar Linus Walleij

ARM: ux500: move snowball LED pin control to device tree

This moves the Snowball LED pin config to the device tree.
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent fd8f9eac
......@@ -76,6 +76,8 @@ button@5 {
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 @@ snowball_cfg3 {
};
};
gpio_led {
gpioled_snowball_mode: gpioled_default {
snowball_cfg1 {
ste,pins = "GPIO142_C11";
ste,config = <&gpio_out_hi>;
};
};
};
};
mcde@a0350000 {
......
......@@ -297,8 +297,6 @@ static struct pinctrl_map __initdata ab8505_pinmap[] = {
};
static struct pinctrl_map __initdata snowball_pinmap[] = {
/* User LED */
DB8500_PIN_HOG("GPIO142_C11", gpio_out_hi),
/* Accelerometer/Magnetometer */
DB8500_PIN_HOG("GPIO163_C20", gpio_in_pu), /* ACCEL_IRQ1 */
DB8500_PIN_HOG("GPIO164_B21", gpio_in_pu), /* ACCEL_IRQ2 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment