From 26b61db6c8a08da2ceaeea1a635c1651936adfd6 Mon Sep 17 00:00:00 2001 From: Patrick Murphy Date: Fri, 18 Jun 2021 01:47:30 -0500 Subject: added mtac-003 overlays for the mtcdt environment --- mtcdt/ap1-003-0.0.dtso | 36 ++++++++++++++++++++++++++++++++++++ mtcdt/ap2-003-0.0.dtso | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 mtcdt/ap1-003-0.0.dtso create mode 100644 mtcdt/ap2-003-0.0.dtso 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 +#include +#include +#include +#include + + +/ { + 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 +#include +#include +#include +#include + +/ { + 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*/ +}; -- cgit v1.2.3