diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2022-03-04 09:34:18 -0600 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2022-03-04 09:34:18 -0600 |
commit | 072727f53b19e2383998a33fb0f8adb97f4fe8b9 (patch) | |
tree | 20926dd9be7f4a0d1e7673555220f20aae865b6d /mtcdt/ap1-lora-0.0.dtso | |
parent | 84cd4767aef1306d835362c115697602ad82137a (diff) | |
parent | 01121a51ea3cbc92485cdba8f05b714effe6ac9e (diff) | |
download | mt-dt-overlay-072727f53b19e2383998a33fb0f8adb97f4fe8b9.tar.gz mt-dt-overlay-072727f53b19e2383998a33fb0f8adb97f4fe8b9.tar.bz2 mt-dt-overlay-072727f53b19e2383998a33fb0f8adb97f4fe8b9.zip |
Merge branch 'master' of gitlab.multitech.net:mirrors/mt-dt-overlay
Diffstat (limited to 'mtcdt/ap1-lora-0.0.dtso')
-rw-r--r-- | mtcdt/ap1-lora-0.0.dtso | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/mtcdt/ap1-lora-0.0.dtso b/mtcdt/ap1-lora-0.0.dtso new file mode 100644 index 0000000..c314fe2 --- /dev/null +++ b/mtcdt/ap1-lora-0.0.dtso @@ -0,0 +1,49 @@ +/* + * DTS overlay for MTCDT 0.0/0.1 hardware versions. + */ + +/dts-v1/; + +/* + * Location(s): + * Put: MTCDT/0.0/lora/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> +#include <dt-bindings/gpio/mt-at91.h> + +/ { + compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; + model = "Multi-Tech Systems MTCDT-0.0"; + fragment@0 { + target-path = "/ahb/apb/spi@f0000000"; + __overlay__ { + status = "okay"; + cs-gpios = <GPIO0_PH 4 0>, <GPIO0_PH 2 0>, <GPIO0_PH 3 0>, <GPIO0_PH 5 0>; + 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 = <2000000>; + reg = <2>; + }; + ap1-din@3 { + compatible = "mts-io-ap1-din"; + spi-max-frequency = <1000000>; + reg = <3>; + }; + }; /*overlay*/ + }; /*fragment@0*/ +}; |