summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJway Lin <jway.lin@cortina-access.com>2020-06-30 21:08:07 -0700
committerTom Rini <trini@konsulko.com>2020-08-07 22:31:32 -0400
commitedca8edd79583e6dd04d8d07767288c4fc0948b9 (patch)
treef69acb833a8fe5b98bd76e8030066add7dfe83a5 /arch
parent047e31ed4b4d6388dddf053092597b9c84deebb3 (diff)
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/ca-presidio-engboard.dts31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/dts/ca-presidio-engboard.dts b/arch/arm/dts/ca-presidio-engboard.dts
index 40c93d7042..eef433e768 100644
--- a/arch/arm/dts/ca-presidio-engboard.dts
+++ b/arch/arm/dts/ca-presidio-engboard.dts
@@ -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";
+ };
+
+ };
};