Add gpio-leds for Sinovoip BananaPi BPI-M3.
The green LED on the board is wired to AXP813 GPIO0 and the blue LED is wired to AXP813 GPIO1.
This commit is contained in:
parent
fafd846c91
commit
4e760f013d
@ -104,5 +104,23 @@
|
||||
reg = <0x3a3>;
|
||||
interrupt-parent = <&nmi_intc>;
|
||||
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
/ {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
green_led {
|
||||
gpios = <&axp81x 0>; /* AXP PMIC GPIO0 */
|
||||
label = "green_led";
|
||||
};
|
||||
|
||||
blue_led {
|
||||
gpios = <&axp81x 1>; /* AXP PMIC GPIO1 */
|
||||
label = "blue_led";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user