From 37da698f503961a95ee0e09a5f4da371e7b81f46 Mon Sep 17 00:00:00 2001 From: Patrick Murphy Date: Thu, 17 Jun 2021 08:46:04 -0500 Subject: added 4 overlays to restore lora packet forwarder behavior --- mtcdt/ap2-lora-0.0.dtso | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 mtcdt/ap2-lora-0.0.dtso (limited to 'mtcdt/ap2-lora-0.0.dtso') diff --git a/mtcdt/ap2-lora-0.0.dtso b/mtcdt/ap2-lora-0.0.dtso new file mode 100644 index 0000000..68a0c79 --- /dev/null +++ b/mtcdt/ap2-lora-0.0.dtso @@ -0,0 +1,30 @@ +/* + * 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__ { + ap2-spi@2 { + compatible = "mts,mtac"; + spi-max-frequency = <0x1e8480>; + reg = <0x2>; + }; /*ap2-spi*/ + }; /*overlay*/ + }; /*fragment@0*/ +}; -- cgit v1.2.3 From 0a65565e960ed81404d0069bba1aa8f3419807a5 Mon Sep 17 00:00:00 2001 From: Patrick Murphy Date: Fri, 9 Jul 2021 08:36:45 -0500 Subject: switched targetting format to phandle from path on MTCDT images --- mtcdt/ap2-lora-0.0.dtso | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mtcdt/ap2-lora-0.0.dtso') diff --git a/mtcdt/ap2-lora-0.0.dtso b/mtcdt/ap2-lora-0.0.dtso index 68a0c79..0c04c97 100644 --- a/mtcdt/ap2-lora-0.0.dtso +++ b/mtcdt/ap2-lora-0.0.dtso @@ -18,7 +18,8 @@ / { compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; fragment@0 { - target-path = "/ahb/apb/spi@f0004000"; +/* target-path = "/ahb/apb/spi@f0004000";*/ + target = <0x76>; __overlay__ { ap2-spi@2 { compatible = "mts,mtac"; -- cgit v1.2.3 From 374fb36d15f2614e4af01f0b93559660d372a429 Mon Sep 17 00:00:00 2001 From: Patrick Murphy Date: Mon, 12 Jul 2021 06:45:01 -0500 Subject: removed floating whitespace in some layer paths for MTCDT --- mtcdt/ap2-lora-0.0.dtso | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mtcdt/ap2-lora-0.0.dtso') diff --git a/mtcdt/ap2-lora-0.0.dtso b/mtcdt/ap2-lora-0.0.dtso index 0c04c97..68a0c79 100644 --- a/mtcdt/ap2-lora-0.0.dtso +++ b/mtcdt/ap2-lora-0.0.dtso @@ -18,8 +18,7 @@ / { compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; fragment@0 { -/* target-path = "/ahb/apb/spi@f0004000";*/ - target = <0x76>; + target-path = "/ahb/apb/spi@f0004000"; __overlay__ { ap2-spi@2 { compatible = "mts,mtac"; -- cgit v1.2.3