mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
riscv: dts: starfive: jh7110-common: add status power led node
Add status power led node for StarFive VisionFive2 and variant boards. Signed-off-by: E Shattow <e@freeshell.de> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
This commit is contained in:
parent
2a84cb3ede
commit
1ec99dfe9e
1 changed files with 9 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
#include "jh7110.dtsi"
|
||||
#include "jh7110-pinfunc.h"
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/leds/common.h>
|
||||
#include <dt-bindings/pinctrl/starfive,jh7110-pinctrl.h>
|
||||
|
||||
/ {
|
||||
|
@ -38,6 +39,14 @@
|
|||
priority = <224>;
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led_status_power: led-0 {
|
||||
gpios = <&aongpio 3 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
pwmdac_codec: audio-codec {
|
||||
compatible = "linux,spdif-dit";
|
||||
#sound-dai-cells = <0>;
|
||||
|
|
Loading…
Add table
Reference in a new issue