summaryrefslogtreecommitdiff
path: root/mtcdt/pins-0.2.dtso
diff options
context:
space:
mode:
Diffstat (limited to 'mtcdt/pins-0.2.dtso')
-rw-r--r--mtcdt/pins-0.2.dtso53
1 files changed, 53 insertions, 0 deletions
diff --git a/mtcdt/pins-0.2.dtso b/mtcdt/pins-0.2.dtso
new file mode 100644
index 0000000..0e9ef6a
--- /dev/null
+++ b/mtcdt/pins-0.2.dtso
@@ -0,0 +1,53 @@
+/*
+ * 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/pins.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 = "/mts-io";
+ __overlay__ {
+ AP1_GPIO3-gpios = <GPIO2_PH 10 GPIO_ACTIVE_HIGH>;
+ AP1_GPIO4-gpios = <GPIO2_PH 11 GPIO_ACTIVE_HIGH>;
+ AP2_GPIO4-gpios = <GPIO2_PH 29 GPIO_ACTIVE_HIGH>;
+ AP2_GPIO3-gpios = <GPIO2_PH 30 GPIO_ACTIVE_HIGH>;
+
+ SIG3_LED-gpios = <GPIO4_PCA9557_PH 0 GPIO_ACTIVE_HIGH>;
+ WIFI_BT_LPWKUP-gpios = <GPIO4_PCA9557_PH 1 GPIO_ACTIVE_HIGH>;
+ RADIO_STATUS-gpios = <GPIO4_PCA9557_PH 2 GPIO_ACTIVE_HIGH>;
+ AP1_TDB1-gpios = <GPIO4_PCA9557_PH 3 GPIO_ACTIVE_HIGH>;
+ AP1_TDB2-gpios = <GPIO4_PCA9557_PH 4 GPIO_ACTIVE_HIGH>;
+ AP1_TDB3-gpios = <GPIO4_PCA9557_PH 5 GPIO_ACTIVE_HIGH>;
+ AP1_TDB4-gpios = <GPIO4_PCA9557_PH 6 GPIO_ACTIVE_HIGH>;
+ AP1_TDB5-gpios = <GPIO4_PCA9557_PH 7 GPIO_ACTIVE_HIGH>;
+
+ CD_LED-gpios = <GPIO5_PCA9557_PH 0 GPIO_ACTIVE_HIGH>;
+ SIG1_LED-gpios = <GPIO5_PCA9557_PH 1 GPIO_ACTIVE_HIGH>;
+ SIG2_LED-gpios = <GPIO5_PCA9557_PH 2 GPIO_ACTIVE_HIGH>;
+ AP2_TDB1-gpios = <GPIO5_PCA9557_PH 3 GPIO_ACTIVE_HIGH>;
+ AP2_TDB2-gpios = <GPIO5_PCA9557_PH 4 GPIO_ACTIVE_HIGH>;
+ AP2_TDB3-gpios = <GPIO5_PCA9557_PH 5 GPIO_ACTIVE_HIGH>;
+ AP2_TDB4-gpios = <GPIO5_PCA9557_PH 6 GPIO_ACTIVE_HIGH>;
+ AP2_TDB5-gpios = <GPIO5_PCA9557_PH 7 GPIO_ACTIVE_HIGH>;
+ };
+ }; /* fragment@0 */
+};