提交 1384a147 编写于 作者: C Chen-Yu Tsai 提交者: Maxime Ripard

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: NChen-Yu Tsai <wens@csie.org>
Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
上级 28b725e0
......@@ -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>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册