summaryrefslogtreecommitdiff
path: root/mtcdt
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2021-10-12 09:27:57 -0500
committerHarsh Sharma <harsh.sharma@multitech.com>2021-10-12 09:27:57 -0500
commitd9846f23826db7744fbb3c187e2de2a76b54d6ac (patch)
tree6356a8a777fdcc7653c6e0f71422b40f6dff3241 /mtcdt
parentdbf084f9a77c5be95613e356854eab7570f34eab (diff)
downloadmt-dt-overlay-d9846f23826db7744fbb3c187e2de2a76b54d6ac.tar.gz
mt-dt-overlay-d9846f23826db7744fbb3c187e2de2a76b54d6ac.tar.bz2
mt-dt-overlay-d9846f23826db7744fbb3c187e2de2a76b54d6ac.zip
Cleaned up lora/gpiob overlay for mtcdt1.0.5
Diffstat (limited to 'mtcdt')
-rw-r--r--mtcdt/ap1-003-0.0.dtso37
-rw-r--r--mtcdt/ap1-gpiob-0.0.dtso7
-rw-r--r--mtcdt/ap1-lora-0.0.dtso31
-rw-r--r--mtcdt/ap2-003-0.0.dtso36
-rw-r--r--mtcdt/ap2-gpiob-0.0.dtso6
-rw-r--r--mtcdt/ap2-lora-0.0.dtso28
6 files changed, 55 insertions, 90 deletions
diff --git a/mtcdt/ap1-003-0.0.dtso b/mtcdt/ap1-003-0.0.dtso
deleted file mode 100644
index f005945..0000000
--- a/mtcdt/ap1-003-0.0.dtso
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * DTS overlay for MTCDT 0.0 hardware version.
- */
-
-/dts-v1/;
-
-/*
- * Location(s):
- * Put: MTCDT/0.0/ap1-003.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,at91rm9200-spi";
- fragment@0 {
- target-path = "/ahb/apb/spi@f0000000";
-/* target = <0x75>;*/
- __overlay__ {
- ap1-spi@0 {
- compatible = "mts,mtac";
- spi-max-frequency = <2000000>;
- reg = <0>;
- };/*ap1-spi0*/
- ap1-spi@1 {
- compatible = "mts,mtac";
- spi-max-frequency = <2000000>;
- reg = <1>;
- }; /*ap1-spi1*/
- }; /*overlay*/
- }; /*fragment@0*/
-};
diff --git a/mtcdt/ap1-gpiob-0.0.dtso b/mtcdt/ap1-gpiob-0.0.dtso
index 263b79e..1b7b021 100644
--- a/mtcdt/ap1-gpiob-0.0.dtso
+++ b/mtcdt/ap1-gpiob-0.0.dtso
@@ -1,5 +1,5 @@
/*
- * DTS overlay for MTCDT 0.0 hardware version.
+ * DTS overlay for MTCDT hardware version.
*/
/dts-v1/;
@@ -7,6 +7,7 @@
/*
* Location(s):
* Put: MTCDT/0.0/ap1-gpiob.dtbo
+ * Link: MTCDT/0.1/ap1-gpiob.dtbo
*/
#include <dt-bindings/dma/at91.h>
@@ -15,13 +16,13 @@
#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";
-/* target = <0x75>;*/
+/* target = <0x75>;*/
__overlay__ {
+ status = "okay";
ap1-adc@0 {
compatible = "mts-io-ap1-adc";
spi-max-frequency = <0x1312d00>;
diff --git a/mtcdt/ap1-lora-0.0.dtso b/mtcdt/ap1-lora-0.0.dtso
index a05b725..72a8fea 100644
--- a/mtcdt/ap1-lora-0.0.dtso
+++ b/mtcdt/ap1-lora-0.0.dtso
@@ -1,5 +1,5 @@
/*
- * DTS overlay for MTCDT 0.0 hardware version.
+ * DTS overlay for MTCDT hardware version.
*/
/dts-v1/;
@@ -7,6 +7,7 @@
/*
* Location(s):
* Put: MTCDT/0.0/ap1-lora.dtbo
+ * Link: MTCDT/0.1/ap1-lora.dtbo
*/
#include <dt-bindings/dma/at91.h>
@@ -15,17 +16,33 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/at91.h>
-
/ {
- compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
+ compatible = "atmel,at91rm9200-spi";
fragment@0 {
- target-path = "/ahb/apb/spi@f0000000";
+ target-path = "/ahb/apb/spi@f0000000";
+/* target = <0x75>;*/
__overlay__ {
+ status = "okay";
+ ap1-spi@0 {
+ compatible = "mts,mtac";
+ spi-max-frequency = <20000000>;
+ reg = <0>;
+ };
+ ap1-spi@1 {
+ compatible = "mts,mtac";
+ spi-max-frequency = <2000000>;
+ reg = <1>;
+ };
ap1-spi@2 {
compatible = "mts,mtac";
- spi-max-frequency = <0x1e8480>;
- reg = <0x2>;
- }; /*ap1-spi*/
+ spi-max-frequency = <2000000>;
+ reg = <2>;
+ };
+ ap1-din@3 {
+ compatible = "mts-io-ap1-din";
+ spi-max-frequency = <1000000>;
+ reg = <3>;
+ };
}; /*overlay*/
}; /*fragment@0*/
};
diff --git a/mtcdt/ap2-003-0.0.dtso b/mtcdt/ap2-003-0.0.dtso
deleted file mode 100644
index 7aff7f3..0000000
--- a/mtcdt/ap2-003-0.0.dtso
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * DTS overlay for MTCDT 0.0 hardware version.
- */
-
-/dts-v1/;
-
-/*
- * Location(s):
- * Put: MTCDT/0.0/ap2-003.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,at91rm9200-spi";
- fragment@0 {
- target-path = "/ahb/apb/spi@f0004000";
- /*target = <0x76>; */
- __overlay__ {
- ap1-spi@0 {
- compatible = "mts,mtac";
- spi-max-frequency = <2000000>;
- reg = <0>;
- };/*ap1-spi0*/
- ap1-spi@1 {
- compatible = "mts,mtac";
- spi-max-frequency = <2000000>;
- reg = <1>;
- }; /*ap1-spi1*/
- }; /*overlay*/
- }; /*fragment@0*/
-};
diff --git a/mtcdt/ap2-gpiob-0.0.dtso b/mtcdt/ap2-gpiob-0.0.dtso
index 4bf8ad0..63cd435 100644
--- a/mtcdt/ap2-gpiob-0.0.dtso
+++ b/mtcdt/ap2-gpiob-0.0.dtso
@@ -1,5 +1,5 @@
/*
- * DTS overlay for MTCDT 0.0 hardware version.
+ * DTS overlay for MTCDT hardware version.
*/
/dts-v1/;
@@ -7,6 +7,7 @@
/*
* Location(s):
* Put: MTCDT/0.0/ap2-gpiob.dtbo
+ * Link: MTCDT/0.1/ap2-gpiob.dtbo
*/
#include <dt-bindings/dma/at91.h>
@@ -19,8 +20,9 @@
compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
fragment@0 {
target-path = "/ahb/apb/spi@f0004000";
- /* target = <0x76>; */
+ /* target = <0x76>; */
__overlay__ {
+ status = "okay";
ap2-adc@0 {
compatible = "mts-io-ap2-adc";
spi-max-frequency = <0x1312d00>;
diff --git a/mtcdt/ap2-lora-0.0.dtso b/mtcdt/ap2-lora-0.0.dtso
index 68a0c79..4cfe40b 100644
--- a/mtcdt/ap2-lora-0.0.dtso
+++ b/mtcdt/ap2-lora-0.0.dtso
@@ -1,5 +1,5 @@
/*
- * DTS overlay for MTCDT 0.0 hardware version.
+ * DTS overlay for MTCDT hardware version.
*/
/dts-v1/;
@@ -7,6 +7,7 @@
/*
* Location(s):
* Put: MTCDT/0.0/ap2-lora.dtbo
+ * Link: MTCDT/0.1/ap2-lora.dtbo
*/
#include <dt-bindings/dma/at91.h>
@@ -16,15 +17,32 @@
#include <dt-bindings/clock/at91.h>
/ {
- compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
+ compatible = "atmel,at91rm9200-spi";
fragment@0 {
target-path = "/ahb/apb/spi@f0004000";
+ /*target = <0x76>; */
__overlay__ {
+ status = "okay";
+ ap2-spi@0 {
+ compatible = "mts,mtac";
+ spi-max-frequency = <20000000>;
+ reg = <0>;
+ };
+ ap2-spi@1 {
+ compatible = "mts,mtac";
+ spi-max-frequency = <1000000>;
+ reg = <1>;
+ };
ap2-spi@2 {
compatible = "mts,mtac";
- spi-max-frequency = <0x1e8480>;
- reg = <0x2>;
- }; /*ap2-spi*/
+ spi-max-frequency = <2000000>;
+ reg = <2>;
+ };
+ ap2-din@3 {
+ compatible = "mts-io-ap2-din";
+ spi-max-frequency = <1000000>;
+ reg = <3>;
+ };
}; /*overlay*/
}; /*fragment@0*/
};