ARM: dts: sun7i: bananapi-m1-plus: red LED is power LED
authorChen-Yu Tsai <wens@csie.org>
Wed, 6 Jul 2016 09:10:48 +0000 (17:10 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 11 Jul 2016 06:26:17 +0000 (08:26 +0200)
The red led on the Bananapi M1+ is wired to light up as soon as the
board is powered, and continues to be lit while the GPIO is floating.

Rename the LED to "pwr", remove the default trigger, and mark it as
default on.

Also fix the pinmux node that was specifying a different pin for this
LED.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts

index 14fb463758e4d331255eb046dfded0d251a029be..ba5bca0fe997b755f113c14597588668f04e477d 100644 (file)
                        gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>;
                };
 
-               red {
-                       label = "bananapi-m1-plus:red:usr";
+               pwr {
+                       label = "bananapi-m1-plus:pwr:usr";
                        gpios = <&pio 7 25 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "default-on";
+                       default-state = "on";
                };
-
        };
 
        mmc3_pwrseq: mmc3_pwrseq {
        };
 
        led_pins_bpi_m1p: led_pins@0 {
-               allwinner,pins = "PH24", "PG2";
+               allwinner,pins = "PH24", "PH25";
                allwinner,function = "gpio_out";
                allwinner,drive = <SUN4I_PINCTRL_10_MA>;
                allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
This page took 0.026244 seconds and 5 git commands to generate.