summaryrefslogtreecommitdiff
path: root/mtcdt/ap1-xdot-0.0.dtso
diff options
context:
space:
mode:
Diffstat (limited to 'mtcdt/ap1-xdot-0.0.dtso')
-rw-r--r--mtcdt/ap1-xdot-0.0.dtso30
1 files changed, 30 insertions, 0 deletions
diff --git a/mtcdt/ap1-xdot-0.0.dtso b/mtcdt/ap1-xdot-0.0.dtso
new file mode 100644
index 0000000..969f8b1
--- /dev/null
+++ b/mtcdt/ap1-xdot-0.0.dtso
@@ -0,0 +1,30 @@
+/*
+ * DTS overlay for MTCDT 0.0 hardware version.
+ */
+/dts-v1/;
+/plugin/;
+
+#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 = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
+ fragment@0 {
+ target-path = "/ahb/apb/pinctrl@fffff400";
+ __overlay__ {
+ mtac_xdot {
+ ap1 {
+ reset {
+ atmel,pins = <AT91_PIOB 12 AT91_PERIPH_GPIO AT91_PINCTRL_OUT_INIT_1>;
+ label = "ap1-reset";
+ }; /* Reset */
+ }; /* ap1 */
+ }; /* mtac_xdot */
+ }; /* overlay */
+ }; /* fragment@0 */
+};