summaryrefslogtreecommitdiff
path: root/mtcdt/leds-0.2.dtso
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-11-12 13:52:40 -0600
committerJohn Klug <john.klug@multitech.com>2021-11-12 13:52:40 -0600
commit661ce792b5cf155098511743772b6ea77d67dcfb (patch)
tree2b474e08d1eac4339c5f03eed893e963b738b25e /mtcdt/leds-0.2.dtso
parentd9846f23826db7744fbb3c187e2de2a76b54d6ac (diff)
downloadmt-dt-overlay-661ce792b5cf155098511743772b6ea77d67dcfb.tar.gz
mt-dt-overlay-661ce792b5cf155098511743772b6ea77d67dcfb.tar.bz2
mt-dt-overlay-661ce792b5cf155098511743772b6ea77d67dcfb.zip
MTCDT-0.2 support -- MTAC-003 removed1.1.0
Diffstat (limited to 'mtcdt/leds-0.2.dtso')
-rw-r--r--mtcdt/leds-0.2.dtso49
1 files changed, 49 insertions, 0 deletions
diff --git a/mtcdt/leds-0.2.dtso b/mtcdt/leds-0.2.dtso
new file mode 100644
index 0000000..6543513
--- /dev/null
+++ b/mtcdt/leds-0.2.dtso
@@ -0,0 +1,49 @@
+/*
+ * DTS file for Multi-Tech Systems MTCDT 0.2 Hardware
+ *
+ * Copyright (C) 2021 by Multi-Tech Systems,
+ *
+ * Licensed under GPLv2 or later.
+ */
+
+/*
+ * Location(s):
+ * Put: MTCDT/0.2/leds.dtbo
+ */
+
+#include <dt-bindings/dma/at91.h>
+#include <dt-bindings/pinctrl/at91.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/clock/at91.h>
+#include <dt-bindings/gpio/mt-at91.h> // Explicit PHandles
+
+/dts-v1/;
+
+/ {
+ model = "Multi-Tech Systems MTCDT-0.2";
+ compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
+ fragment@0 {
+ target-path = "/leds";
+ __overlay__ {
+ status = "okay";
+ led-a {
+ label = "led-a"; // LED5
+ gpios = <GPIO5_PCA9557_PH 0 GPIO_ACTIVE_LOW>;
+ };
+ led-b {
+ label = "led-b"; // LED1
+ gpios = <GPIO4_PCA9557_PH 2 GPIO_ACTIVE_LOW>;
+ };
+ led-c {
+ label = "led-c"; // LED4
+ gpios = <GPIO4_PCA9557_PH 1 GPIO_ACTIVE_LOW>;
+ };
+ led-d {
+ label = "led-d"; //LED3
+ gpios = <GPIO4_PCA9557_PH 0 GPIO_ACTIVE_LOW>;
+ };
+
+ };
+ }; /* fragment@0 */
+};