diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-06-05 14:23:12 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-07-04 21:18:02 +0200 |
commit | a46579bfd990ad15d633543b21d650b21a6d200d (patch) | |
tree | cf6837c475e43fb68c0fc842e1f0c31f25c83ce7 /arch/arm/boot/dts/sun6i-a31-mele-a1000g-quad.dts | |
parent | ARM: dts: sun4i: The blue led on the Mele A1000 is a power led (diff) | |
download | linux-a46579bfd990ad15d633543b21d650b21a6d200d.tar.xz linux-a46579bfd990ad15d633543b21d650b21a6d200d.zip |
ARM: dts: sun6i: The blue led on the Mele A1000G quad 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 m9:blue:usr to a1000g:blue:pwr (fixing a copy
and paste error in the prefix while at it) 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>
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31-mele-a1000g-quad.dts')
-rw-r--r-- | arch/arm/boot/dts/sun6i-a31-mele-a1000g-quad.dts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-mele-a1000g-quad.dts b/arch/arm/boot/dts/sun6i-a31-mele-a1000g-quad.dts index 4dd70cce2127..e063dabfeae8 100644 --- a/arch/arm/boot/dts/sun6i-a31-mele-a1000g-quad.dts +++ b/arch/arm/boot/dts/sun6i-a31-mele-a1000g-quad.dts @@ -65,8 +65,9 @@ pinctrl-0 = <&led_pins_m9>; blue { - label = "m9:blue:usr"; + label = "a1000g:blue:pwr"; gpios = <&pio 7 13 GPIO_ACTIVE_HIGH>; + default-state = "on"; }; }; }; |