2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00

ARM: dts: sun4i: The blue led on the Mele A1000 is a power led

The blue led on the Mele A1000 is wired to light up as soon as the board
has powered (it will be on while the gpio is still in input / floating
mode), also its location on the top-set box clearly signals "power led".

Until now we've been treating this as a generic usr function led, which
means that when you plug power into the top-set box, the power-led lights
and then turns off as soon as the kernel loads, which looks wrong.

This renames the led from a1000:blue:usr to a1000:blue:pwr and marks
it as default on, fixing this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
This commit is contained in:
Hans de Goede 2016-06-05 14:23:11 +02:00 committed by Maxime Ripard
parent b2face5229
commit d22d64a506

View File

@ -72,8 +72,9 @@
}; };
blue { blue {
label = "a1000:blue:usr"; label = "a1000:blue:pwr";
gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>; gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>;
default-state = "on";
}; };
}; };