summaryrefslogtreecommitdiff
path: root/mtcdt/ap2-gpiob-0.0.dtso
diff options
context:
space:
mode:
Diffstat (limited to 'mtcdt/ap2-gpiob-0.0.dtso')
-rw-r--r--mtcdt/ap2-gpiob-0.0.dtso43
1 files changed, 43 insertions, 0 deletions
diff --git a/mtcdt/ap2-gpiob-0.0.dtso b/mtcdt/ap2-gpiob-0.0.dtso
new file mode 100644
index 0000000..57e2ef9
--- /dev/null
+++ b/mtcdt/ap2-gpiob-0.0.dtso
@@ -0,0 +1,43 @@
+/*
+ * DTS overlay for MTCDT 0.0 hardware version.
+ */
+
+/dts-v1/;
+
+/*
+ * Location(s):
+ * Put: MTCDT/0.0/ap2-gpiob.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>
+#define AT91_PINCTRL_OUT_INIT_0 (AT91_PINCTRL_OUTPUT|AT91_PINCTRL_OUTPUT_VAL(0))
+#define AT91_PINCTRL_OUT_INIT_1 (AT91_PINCTRL_OUTPUT|AT91_PINCTRL_OUTPUT_VAL(1))
+
+
+/ {
+ compatible = "ti,am437x-gp-evm", "ti,am4372", "ti,am43";
+ fragment@0 {
+ target-path = "/apb/spi@f0004000";
+ __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*/
+};