summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Murphy <patrick.muprphy@multitech.com>2021-06-18 01:47:30 -0500
committerPatrick Murphy <patrick.muprphy@multitech.com>2021-06-18 01:47:30 -0500
commit26b61db6c8a08da2ceaeea1a635c1651936adfd6 (patch)
tree1a0aec210390e8de2a2dbb502831438d30cca11d
parent507501e89b26c42ff3345c3d2a07c4750c5d0840 (diff)
downloadmt-dt-overlay-26b61db6c8a08da2ceaeea1a635c1651936adfd6.tar.gz
mt-dt-overlay-26b61db6c8a08da2ceaeea1a635c1651936adfd6.tar.bz2
mt-dt-overlay-26b61db6c8a08da2ceaeea1a635c1651936adfd6.zip
added mtac-003 overlays for the mtcdt environment
-rw-r--r--mtcdt/ap1-003-0.0.dtso36
-rw-r--r--mtcdt/ap2-003-0.0.dtso35
2 files changed, 71 insertions, 0 deletions
diff --git a/mtcdt/ap1-003-0.0.dtso b/mtcdt/ap1-003-0.0.dtso
new file mode 100644
index 0000000..2c9ada9
--- /dev/null
+++ b/mtcdt/ap1-003-0.0.dtso
@@ -0,0 +1,36 @@
+/*
+ * DTS overlay for MTCDT 0.0 hardware version.
+ */
+
+/dts-v1/;
+
+/*
+ * Location(s):
+ * Put: MTCDT/0.0/ap1-lora.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>
+
+
+/ {
+ compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
+ fragment@0 {
+ target-path = "/ahb/apb/spi@f0000000 ";
+ __overlay__ {
+ ap1-spi@0 {
+ compatible = "mts,mtac";
+ spi-max-frequency = <0x1e8480>;
+ reg = <0x0>;
+ };/*ap1-spi0*/
+ ap1-spi@1 {
+ compatible = "mts,mtac";
+ spi-max-frequency = <0x1e8480>;
+ reg = <0x1>;
+ }; /*ap1-spi1*/
+ }; /*overlay*/
+ }; /*fragment@0*/
+};
diff --git a/mtcdt/ap2-003-0.0.dtso b/mtcdt/ap2-003-0.0.dtso
new file mode 100644
index 0000000..509eb9d
--- /dev/null
+++ b/mtcdt/ap2-003-0.0.dtso
@@ -0,0 +1,35 @@
+/*
+ * DTS overlay for MTCDT 0.0 hardware version.
+ */
+
+/dts-v1/;
+
+/*
+ * Location(s):
+ * Put: MTCDT/0.0/ap2-lora.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>
+
+/ {
+ compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
+ fragment@0 {
+ target-path = "/ahb/apb/spi@f0004000";
+ __overlay__ {
+ ap1-spi@0 {
+ compatible = "mts,mtac";
+ spi-max-frequency = <0x1e8480>;
+ reg = <0x0>;
+ };/*ap1-spi0*/
+ ap1-spi@1 {
+ compatible = "mts,mtac";
+ spi-max-frequency = <0x1e8480>;
+ reg = <0x1>;
+ }; /*ap1-spi1*/
+ }; /*overlay*/
+ }; /*fragment@0*/
+};