mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
ARM: dts: sun9i: optimus: Enable LED3
LED3 is connected to pin PM15 on R_PIO. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
parent
1ac56a6da9
commit
d2118f06d1
1 changed files with 14 additions and 2 deletions
|
@ -65,7 +65,7 @@ chosen {
|
|||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_pins_optimus>;
|
||||
pinctrl-0 = <&led_pins_optimus>, <&led_r_pins_optimus>;
|
||||
|
||||
/* The LED names match those found on the board */
|
||||
|
||||
|
@ -74,7 +74,10 @@ led2 {
|
|||
gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
/* led3 is on PM15, in R_PIO */
|
||||
led3 {
|
||||
label = "optimus:led3:usr";
|
||||
gpios = <&r_pio 1 15 GPIO_ACTIVE_HIGH>; /* PM15 */
|
||||
};
|
||||
|
||||
led4 {
|
||||
label = "optimus:led4:usr";
|
||||
|
@ -180,6 +183,15 @@ ®_usb1_vbus {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&r_pio {
|
||||
led_r_pins_optimus: led-pins@1 {
|
||||
allwinner,pins = "PM15";
|
||||
allwinner,function = "gpio_out";
|
||||
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
|
||||
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart0_pins_a>;
|
||||
|
|
Loading…
Reference in a new issue