summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2022-07-14 10:23:07 -0500
committerJohn Klug <john.klug@multitech.com>2022-07-14 10:23:07 -0500
commit73accd44281be45a1ff69828fd9e2c8ed370bdb5 (patch)
treecec2de1a51cca220094027c0304471b40358d354
parent7d1fc494c076b0e5e41359f286e53f43bc1493d0 (diff)
parentcc45d27ae2cd1cb73199aa175dc163a7a3950bcb (diff)
downloadmt-dt-overlay-73accd44281be45a1ff69828fd9e2c8ed370bdb5.tar.gz
mt-dt-overlay-73accd44281be45a1ff69828fd9e2c8ed370bdb5.tar.bz2
mt-dt-overlay-73accd44281be45a1ff69828fd9e2c8ed370bdb5.zip
Add mtcpmhs to mt-dt-overlay1.2.7
-rw-r--r--mtcpmhs/ap1-003-0.0.dtso34
-rw-r--r--mtcpmhs/ap1-gpiob-0.0.dtso5
-rw-r--r--mtcpmhs/ap1-lora-0.0.dtso17
-rw-r--r--mtcpmhs/ap2-003-0.0.dtso34
-rw-r--r--mtcpmhs/ap2-gpiob-0.0.dtso5
-rw-r--r--mtcpmhs/ap2-lora-0.0.dtso17
6 files changed, 34 insertions, 78 deletions
diff --git a/mtcpmhs/ap1-003-0.0.dtso b/mtcpmhs/ap1-003-0.0.dtso
deleted file mode 100644
index e0580dc..0000000
--- a/mtcpmhs/ap1-003-0.0.dtso
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * DTS overlay for MTCPM 0.0 hardware version.
- */
-
-/dts-v1/;
-
-/*
- * Location(s):
- * Put: MTCDT3/0.0/lora/ap1-003.dtbo
- */
-
-#include "am4372.dtsi"
-#include <dt-bindings/pinctrl/am43xx.h>
-#include <dt-bindings/pwm/pwm.h>
-#include <dt-bindings/gpio/gpio.h>
-
-/ {
- compatible = "ti,am437x-gp-evm", "ti,am4372", "ti,am43";
- fragment@0 {
- target-path = "/ocp@44000000/spi@48030000";
- __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/mtcpmhs/ap1-gpiob-0.0.dtso b/mtcpmhs/ap1-gpiob-0.0.dtso
index f6b1c4a..90c158d 100644
--- a/mtcpmhs/ap1-gpiob-0.0.dtso
+++ b/mtcpmhs/ap1-gpiob-0.0.dtso
@@ -6,7 +6,7 @@
/*
* Location(s):
- * Put: MTCDT3/0.0/gpiob/ap1-gpiob.dtbo
+ * Put: MTCPM/0.0/gpiob/ap1-gpiob.dtbo
*/
#include "am4372.dtsi"
@@ -17,8 +17,9 @@
/ {
compatible = "ti,am437x-gp-evm", "ti,am4372", "ti,am43";
fragment@0 {
- target-path = "/ocp@44000000/spi@48030000";
+ target-path = "/ocp@44000000/interconnect@48000000/segment@0/target-module@30000/spi@0";
__overlay__ {
+ status = "okay";
ap1-adc@0 {
compatible = "mts-io-ap1-adc";
spi-max-frequency = <0x1312d00>;
diff --git a/mtcpmhs/ap1-lora-0.0.dtso b/mtcpmhs/ap1-lora-0.0.dtso
index 7f7b839..16f03eb 100644
--- a/mtcpmhs/ap1-lora-0.0.dtso
+++ b/mtcpmhs/ap1-lora-0.0.dtso
@@ -6,7 +6,7 @@
/*
* Location(s):
- * Put: MTCDT3/0.0/lora/ap1-lora.dtbo
+ * Put: MTCPM/0.0/lora/ap1-lora.dtbo
*/
#include "am4372.dtsi"
@@ -17,13 +17,24 @@
/ {
compatible = "ti,am437x-gp-evm", "ti,am4372", "ti,am43";
fragment@0 {
- target-path = "/ocp@44000000/spi@48030000";
+ target-path = "/ocp@44000000/interconnect@48000000/segment@0/target-module@30000/spi@0";
__overlay__ {
+ status = "okay";
+ 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*/
ap1-spi@2 {
compatible = "mts,mtac";
spi-max-frequency = <0x1e8480>;
reg = <0x2>;
- }; /*ap1-spi*/
+ }; /*ap1-spi2*/
}; /*overlay*/
}; /*fragment@0*/
};
diff --git a/mtcpmhs/ap2-003-0.0.dtso b/mtcpmhs/ap2-003-0.0.dtso
deleted file mode 100644
index bb7652e..0000000
--- a/mtcpmhs/ap2-003-0.0.dtso
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * DTS overlay for MTCPM 0.0 hardware version.
- */
-
-/dts-v1/;
-
-/*
- * Location(s):
- * Put: MTCDT3/0.0/lora/ap2-003.dtbo
- */
-
-#include "am4372.dtsi"
-#include <dt-bindings/pinctrl/am43xx.h>
-#include <dt-bindings/pwm/pwm.h>
-#include <dt-bindings/gpio/gpio.h>
-
-/ {
- compatible = "ti,am437x-gp-evm", "ti,am4372", "ti,am43";
- fragment@0 {
- target-path = "/ocp@44000000/spi@481a2000";
- __overlay__ {
- ap2-spi@0 {
- compatible = "mts,mtac";
- spi-max-frequency = <0x1e8480>;
- reg = <0x0>;
- }; /*ap2-spi0*/
- ap2-spi@1 {
- compatible = "mts,mtac";
- spi-max-frequency = <0x1e8480>;
- reg = <0x1>;
- }; /*ap2-spi1*/
- }; /*overlay*/
- }; /*fragment@0*/
-};
diff --git a/mtcpmhs/ap2-gpiob-0.0.dtso b/mtcpmhs/ap2-gpiob-0.0.dtso
index 5950938..1bd6f16 100644
--- a/mtcpmhs/ap2-gpiob-0.0.dtso
+++ b/mtcpmhs/ap2-gpiob-0.0.dtso
@@ -6,7 +6,7 @@
/*
* Location(s):
- * Put: MTCDT3/0.0/gpiob/ap2-gpiob.dtbo
+ * Put: MTCPM/0.0/gpiob/ap2-gpiob.dtbo
*/
#include "am4372.dtsi"
@@ -17,8 +17,9 @@
/ {
compatible = "ti,am437x-gp-evm", "ti,am4372", "ti,am43";
fragment@0 {
- target-path = "/ocp@44000000/spi@481a2000";
+ target-path = "/ocp@44000000/interconnect@48000000/segment@100000/target-module@a2000/spi@0";
__overlay__ {
+ status = "okay";
ap2-adc@0 {
compatible = "mts-io-ap2-adc";
spi-max-frequency = <0x1312d00>;
diff --git a/mtcpmhs/ap2-lora-0.0.dtso b/mtcpmhs/ap2-lora-0.0.dtso
index f5a1157..e166acd 100644
--- a/mtcpmhs/ap2-lora-0.0.dtso
+++ b/mtcpmhs/ap2-lora-0.0.dtso
@@ -6,7 +6,7 @@
/*
* Location(s):
- * Put: MTCDT3/0.0/lora/ap2-lora.dtbo
+ * Put: MTCPM/0.0/lora/ap2-lora.dtbo
*/
#include "am4372.dtsi"
@@ -17,13 +17,24 @@
/ {
compatible = "ti,am437x-gp-evm", "ti,am4372", "ti,am43";
fragment@0 {
- target-path = "/ocp@44000000/spi@481a2000";
+ target-path = "/ocp@44000000/interconnect@48000000/segment@100000/target-module@a2000/spi@0";
__overlay__ {
+ status = "okay";
+ ap2-spi@0 {
+ compatible = "mts,mtac";
+ spi-max-frequency = <0x1e8480>;
+ reg = <0x0>;
+ }; /*ap2-spi0*/
+ ap2-spi@1 {
+ compatible = "mts,mtac";
+ spi-max-frequency = <0x1e8480>;
+ reg = <0x1>;
+ }; /*ap2-spi1*/
ap2-spi@2 {
compatible = "mts,mtac";
spi-max-frequency = <0x1e8480>;
reg = <0x2>;
- }; /*ap2-spi*/
+ }; /*ap2-spi2*/
}; /*overlay*/
}; /*fragment@0*/
};