summaryrefslogtreecommitdiff
path: root/mtcdt/ap2-xdot-0.0.dtso
blob: 908e6ad25f2c4c2fe620d52b07a406669bf7fece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 {
                ap2 {
                    reset {
                        atmel,pins = <AT91_PIOB 13 AT91_PERIPH_GPIO AT91_PINCTRL_OUT_INIT_1>;
                        label = "ap2-reset";
                    }; /* Reset */
                }; /* ap2 */
            }; /* mtac_xdot */
        }; /* overlay */
    }; /* fragment@0 */
};