mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
board: presidio: add LED support
Add LED support for Cortina Access Presidio Engineering Board Signed-off-by: Jway Lin <jway.lin@cortina-access.com> Signed-off-by: Alex Nemirovsky <alex.nemirovsky@cortina-access.com> Reviewed-by: Simon Glass <sjg@chromium.org> CC: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
047e31ed4b
commit
edca8edd79
1 changed files with 31 additions and 0 deletions
|
@ -64,4 +64,35 @@
|
|||
spi-max-frequency = <108000000>;
|
||||
};
|
||||
};
|
||||
|
||||
leds: led-controller@f43200f0 {
|
||||
compatible = "cortina,ca-leds";
|
||||
reg = <0x0 0xf43200f0 0x40>;
|
||||
|
||||
cortina,blink-rate1 = <256>;
|
||||
cortina,blink-rate2 = <512>;
|
||||
|
||||
led@0 {
|
||||
pin = <0>;
|
||||
active-low;
|
||||
blink-sel =<0>;
|
||||
port = <0>;
|
||||
off-event = <0>;
|
||||
label = "led0";
|
||||
};
|
||||
|
||||
led@1 {
|
||||
pin = <1>;
|
||||
active-low;
|
||||
blink-sel =<1>;
|
||||
label = "led1";
|
||||
};
|
||||
|
||||
led@2 {
|
||||
pin = <2>;
|
||||
active-low;
|
||||
label = "led2";
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue