diff options
author | Patrick Murphy <patrick.muprphy@multitech.com> | 2021-05-13 02:22:54 -0500 |
---|---|---|
committer | Patrick Murphy <patrick.muprphy@multitech.com> | 2021-05-13 02:22:54 -0500 |
commit | 547f4b3b06a2d312ae4c4916ed511d19f16f6b67 (patch) | |
tree | aa190ba3a0f6c567e1260557d3aab11de13aaf10 /mtcpmhs | |
parent | a2a5a3dfa69c8e70ec155abf8a0971a689108ffd (diff) | |
download | mt-dt-overlay-547f4b3b06a2d312ae4c4916ed511d19f16f6b67.tar.gz mt-dt-overlay-547f4b3b06a2d312ae4c4916ed511d19f16f6b67.tar.bz2 mt-dt-overlay-547f4b3b06a2d312ae4c4916ed511d19f16f6b67.zip |
added mtac-003 overlay support for mtcdt and mtcdt3ac platforms
Diffstat (limited to 'mtcpmhs')
-rw-r--r-- | mtcpmhs/ap1-gpiob-0.0.dtso | 39 | ||||
-rw-r--r-- | mtcpmhs/ap2-gpiob-0.0.dtso | 39 |
2 files changed, 78 insertions, 0 deletions
diff --git a/mtcpmhs/ap1-gpiob-0.0.dtso b/mtcpmhs/ap1-gpiob-0.0.dtso new file mode 100644 index 0000000..faf9f09 --- /dev/null +++ b/mtcpmhs/ap1-gpiob-0.0.dtso @@ -0,0 +1,39 @@ +/* + * 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*/ + }; /*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..e1fdef2 --- /dev/null +++ b/mtcpmhs/ap2-gpiob-0.0.dtso @@ -0,0 +1,39 @@ +/* + * 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*/ + }; /*overlay*/ + }; /*fragment@0*/ +}; |