diff options
author | Patrick Murphy <patrick.muprphy@multitech.com> | 2021-06-17 10:12:02 -0500 |
---|---|---|
committer | Patrick Murphy <patrick.muprphy@multitech.com> | 2021-06-17 10:12:02 -0500 |
commit | beec888d361e40124ab6d1a7d3f0009cf9d3a7e7 (patch) | |
tree | bdecbd7022479781db0c8f54b374452047e7b9df | |
parent | 37da698f503961a95ee0e09a5f4da371e7b81f46 (diff) | |
download | mt-dt-overlay-beec888d361e40124ab6d1a7d3f0009cf9d3a7e7.tar.gz mt-dt-overlay-beec888d361e40124ab6d1a7d3f0009cf9d3a7e7.tar.bz2 mt-dt-overlay-beec888d361e40124ab6d1a7d3f0009cf9d3a7e7.zip |
test code for mtac-003 overlay support
-rw-r--r-- | mtcpmhs/ap1-003-0.0.dtso | 34 | ||||
-rw-r--r-- | mtcpmhs/ap2-003-0.0.dtso | 34 |
2 files changed, 68 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..c4c8cbc --- /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/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*/ +}; |