diff options
author | Chen-Yu Tsai <wens@csie.org> | 2016-07-06 11:10:48 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-07-11 08:26:17 +0200 |
commit | 1384a147b11d7377df4009bbefc8706471a12784 (patch) | |
tree | 5f8a9323e62c69bd7e5b272eb85c460a19fb9a14 /arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts | |
parent | ARM: dts: sun7i: bananapi-m1-plus: Unify suffix for board specific labels (diff) | |
download | linux-1384a147b11d7377df4009bbefc8706471a12784.tar.xz linux-1384a147b11d7377df4009bbefc8706471a12784.zip |
ARM: dts: sun7i: bananapi-m1-plus: red LED is power LED
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>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts')
-rw-r--r-- | arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts b/arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts index 14fb463758e4..ba5bca0fe997 100644 --- a/arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts +++ b/arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts @@ -70,12 +70,11 @@ 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 { @@ -202,7 +201,7 @@ }; 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>; |