diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2021-09-22 15:41:49 -0500 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2021-09-22 15:41:49 -0500 |
commit | 9f0277daa4e21225fac8dcfb7156ca83bb637055 (patch) | |
tree | 43f6dded0c91ec6a595e289dedae48877adf2f50 /mtcpmhs | |
parent | a2a5a3dfa69c8e70ec155abf8a0971a689108ffd (diff) | |
parent | c7a4995d9b309ec2ffc630f05792f794845a6ccd (diff) | |
download | mt-dt-overlay-1.0.3.tar.gz mt-dt-overlay-1.0.3.tar.bz2 mt-dt-overlay-1.0.3.zip |
Merge branch 'mtac-003-overlay' into 'master'
1.0.3
Mtac 003 overlay
See merge request !1
Diffstat (limited to 'mtcpmhs')
-rw-r--r-- | mtcpmhs/ap1-003-0.0.dtso | 34 | ||||
-rw-r--r-- | mtcpmhs/ap1-gpiob-0.0.dtso | 44 | ||||
-rw-r--r-- | mtcpmhs/ap1-lora-0.0.dtso | 29 | ||||
-rw-r--r-- | mtcpmhs/ap2-003-0.0.dtso | 34 | ||||
-rw-r--r-- | mtcpmhs/ap2-gpiob-0.0.dtso | 44 | ||||
-rw-r--r-- | mtcpmhs/ap2-lora-0.0.dtso | 29 |
6 files changed, 214 insertions, 0 deletions
diff --git a/mtcpmhs/ap1-003-0.0.dtso b/mtcpmhs/ap1-003-0.0.dtso new file mode 100644 index 0000000..7ceb4ee --- /dev/null +++ b/mtcpmhs/ap1-003-0.0.dtso @@ -0,0 +1,34 @@ +/* + * DTS overlay for MTCPM 0.0 hardware version. + */ + +/dts-v1/; + +/* + * Location(s): + * Put: MTCDT3/0.0/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 new file mode 100644 index 0000000..aeea8c4 --- /dev/null +++ b/mtcpmhs/ap1-gpiob-0.0.dtso @@ -0,0 +1,44 @@ +/* + * DTS overlay for MTCPM 0.0 hardware version. + */ + +/dts-v1/; + +/* + * Location(s): + * Put: MTCDT3/0.0/ap1-gpiob.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-adc@0 { + compatible = "mts-io-ap1-adc"; + spi-max-frequency = <0x1312d00>; + reg = <0x0>; + }; /*ap1-adc*/ + ap1-dout@1 { + compatible = "mts-io-ap1-dout"; + spi-max-frequency = <0xf4240>; + reg = <0x1>; + }; /*ap1-dout*/ + ap1-spi@2 { + compatible = "mts,mtac"; + spi-max-frequency = <0x1e8480>; + reg = <0x2>; + }; /*ap1-spi*/ + ap1-din@3 { + compatible = "mts-io-ap1-din"; + spi-max-frequency = <0xf4240>; + reg = <0x3>; + }; /*ap1-din*/ + }; /*overlay*/ + }; /*fragment@0*/ +}; diff --git a/mtcpmhs/ap1-lora-0.0.dtso b/mtcpmhs/ap1-lora-0.0.dtso new file mode 100644 index 0000000..157e545 --- /dev/null +++ b/mtcpmhs/ap1-lora-0.0.dtso @@ -0,0 +1,29 @@ +/* + * DTS overlay for MTCPM 0.0 hardware version. + */ + +/dts-v1/; + +/* + * Location(s): + * Put: MTCDT3/0.0/ap1-lora.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@2 { + compatible = "mts,mtac"; + spi-max-frequency = <0x1e8480>; + reg = <0x2>; + }; /*ap1-spi*/ + }; /*overlay*/ + }; /*fragment@0*/ +}; diff --git a/mtcpmhs/ap2-003-0.0.dtso b/mtcpmhs/ap2-003-0.0.dtso new file mode 100644 index 0000000..93f7de4 --- /dev/null +++ b/mtcpmhs/ap2-003-0.0.dtso @@ -0,0 +1,34 @@ +/* + * DTS overlay for MTCPM 0.0 hardware version. + */ + +/dts-v1/; + +/* + * Location(s): + * Put: MTCDT3/0.0/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 new file mode 100644 index 0000000..47089af --- /dev/null +++ b/mtcpmhs/ap2-gpiob-0.0.dtso @@ -0,0 +1,44 @@ +/* + * DTS overlay for MTCPM 0.0 hardware version. + */ + +/dts-v1/; + +/* + * Location(s): + * Put: MTCDT3/0.0/ap2-gpiob.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-adc@0 { + compatible = "mts-io-ap2-adc"; + spi-max-frequency = <0x1312d00>; + reg = <0x0>; + }; /*ap1-adc*/ + ap2-dout@1 { + compatible = "mts-io-ap2-dout"; + spi-max-frequency = <0xf4240>; + reg = <0x1>; + }; /*ap1-dout*/ + ap2-spi@2 { + compatible = "mts,mtac"; + spi-max-frequency = <0x1e8480>; + reg = <0x2>; + }; /*ap2-spi*/ + ap2-din@3 { + compatible = "mts-io-ap2-din"; + spi-max-frequency = <0xf4240>; + reg = <0x3>; + }; + }; /*overlay*/ + }; /*fragment@0*/ +}; diff --git a/mtcpmhs/ap2-lora-0.0.dtso b/mtcpmhs/ap2-lora-0.0.dtso new file mode 100644 index 0000000..babae50 --- /dev/null +++ b/mtcpmhs/ap2-lora-0.0.dtso @@ -0,0 +1,29 @@ +/* + * DTS overlay for MTCPM 0.0 hardware version. + */ + +/dts-v1/; + +/* + * Location(s): + * Put: MTCDT3/0.0/ap2-lora.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@2 { + compatible = "mts,mtac"; + spi-max-frequency = <0x1e8480>; + reg = <0x2>; + }; /*ap2-spi*/ + }; /*overlay*/ + }; /*fragment@0*/ +}; |