mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
mips: bmips: add Comtrend VR-3032u bcm6328-leds
This board has several LEDs attached to its BCM6328 led controller. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
6def1b24d5
commit
09e2a57150
2 changed files with 47 additions and 0 deletions
|
@ -21,6 +21,49 @@
|
|||
};
|
||||
};
|
||||
|
||||
&leds {
|
||||
status = "okay";
|
||||
brcm,serial-leds;
|
||||
brcm,serial-dat-low;
|
||||
brcm,serial-shift-inv;
|
||||
|
||||
led@2 {
|
||||
reg = <2>;
|
||||
active-low;
|
||||
label = "VR-3032u:red:inet";
|
||||
};
|
||||
|
||||
led@3 {
|
||||
reg = <3>;
|
||||
active-low;
|
||||
label = "VR-3032u:green:dsl";
|
||||
};
|
||||
|
||||
led@4 {
|
||||
reg = <4>;
|
||||
active-low;
|
||||
label = "VR-3032u:green:usb";
|
||||
};
|
||||
|
||||
led@7 {
|
||||
reg = <7>;
|
||||
active-low;
|
||||
label = "VR-3032u:green:wps";
|
||||
};
|
||||
|
||||
led@8 {
|
||||
reg = <8>;
|
||||
active-low;
|
||||
label = "VR-3032u:green:inet";
|
||||
};
|
||||
|
||||
led@20 {
|
||||
reg = <20>;
|
||||
active-low;
|
||||
label = "VR-3032u:green:power";
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
u-boot,dm-pre-reloc;
|
||||
status = "okay";
|
||||
|
|
|
@ -16,6 +16,7 @@ CONFIG_CMD_CPU=y
|
|||
# CONFIG_CMD_GPIO is not set
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
# CONFIG_CMD_IMPORTENV is not set
|
||||
CONFIG_CMD_LED=y
|
||||
CONFIG_CMD_LICENSE=y
|
||||
CONFIG_CMD_LOADB=y
|
||||
# CONFIG_CMD_LOADS is not set
|
||||
|
@ -31,6 +32,9 @@ CONFIG_DISPLAY_CPUINFO=y
|
|||
CONFIG_DM_GPIO=y
|
||||
CONFIG_DM_SERIAL=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_LED=y
|
||||
CONFIG_LED_BCM6328=y
|
||||
CONFIG_LED_BLINK=y
|
||||
CONFIG_MIPS=y
|
||||
# CONFIG_MIPS_BOOT_CMDLINE_LEGACY is not set
|
||||
# CONFIG_MIPS_BOOT_ENV_LEGACY is not set
|
||||
|
|
Loading…
Add table
Reference in a new issue