summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun6i-a31-m9.dts
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-06-05 14:23:13 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-07-04 21:18:03 +0200
commit3d9e2b66cf9f1b0eda3cb0891a775a625c14bb9f (patch)
treebf69cc50028c30dbce9e1dc3390a91cb070151ec /arch/arm/boot/dts/sun6i-a31-m9.dts
parenta46579bfd990ad15d633543b21d650b21a6d200d (diff)
ARM: dts: sun6i: The blue led on the Mele M9 is a power led
The blue led on the Mele M9 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 m9: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/sun6i-a31-m9.dts')
-rw-r--r--arch/arm/boot/dts/sun6i-a31-m9.dts3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-m9.dts b/arch/arm/boot/dts/sun6i-a31-m9.dts
index 6e0e5687a09c..66d29b866abe 100644
--- a/arch/arm/boot/dts/sun6i-a31-m9.dts
+++ b/arch/arm/boot/dts/sun6i-a31-m9.dts
@@ -65,8 +65,9 @@
pinctrl-0 = <&led_pins_m9>;
blue {
- label = "m9:blue:usr";
+ label = "m9:blue:pwr";
gpios = <&pio 7 13 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
};
};
};