summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun4i-a10-a1000.dts
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-06-05 15:23:11 +0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-07-04 22:18:02 +0300
commitd22d64a506d279f9706f23d3fe5de401b6725ebe (patch)
treecdc2e044c99c471be577772eaf38f833c0db784e /arch/arm/boot/dts/sun4i-a10-a1000.dts
parentb2face522994e1367ecf2763bd0451f55a4b5ec8 (diff)
downloadlinux-d22d64a506d279f9706f23d3fe5de401b6725ebe.tar.xz
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>
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10-a1000.dts')
-rw-r--r--arch/arm/boot/dts/sun4i-a10-a1000.dts3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-a1000.dts b/arch/arm/boot/dts/sun4i-a10-a1000.dts
index fa70b8fbf221..39e368ec3428 100644
--- a/arch/arm/boot/dts/sun4i-a10-a1000.dts
+++ b/arch/arm/boot/dts/sun4i-a10-a1000.dts
@@ -72,8 +72,9 @@
};
blue {
- label = "a1000:blue:usr";
+ label = "a1000:blue:pwr";
gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
};
};