summaryrefslogtreecommitdiff
path: root/mtcdt/mtcdt-0.0.dtso
blob: e88d0d262e44b85772059b82f36643b72467f3df (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*
 * DTS overlay for MTCDT 0.0 hardware version.
 */

/*
 * Location(s):
 * Put:  MTCDT/0.0/mtcdt.dtbo
 */

/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__ {
            mts_io {
                radio_reset {
                    atmel,pins = <AT91_PIOC 3 AT91_PERIPH_GPIO AT91_PINCTRL_OUT_INIT_1>;
                    label = "radio-reset";
                    alias = "radio-power";
                }; /* radio */
                device_reset {
                    atmel,pins = <AT91_PIOC 2 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
                    label = "reset";
                    active-low;
                };
                eth_reset {
                    atmel,pins = <AT91_PIOC 4 AT91_PERIPH_GPIO AT91_PINCTRL_OUT_INIT_1>;
                    label = "eth-reset";
                }; /* eth */
                ls_led {
                    atmel,pins = <AT91_PIOA 14 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
                    label = "led-ls";
                    active_low;
                };
                status_led {
                    atmel,pins = <AT91_PIOA 24 AT91_PERIPH_GPIO AT91_PINCTRL_OUT_INIT_0>;
                    label = "led-status";
                    active_low;
                };
                led5 {
                    atmel,pins = <AT91_PIOA 25 AT91_PERIPH_GPIO AT91_PINCTRL_OUT_INIT_1>;
                    label = "led-cd";
                    alias = "led-a";
                    active_low;
                };
                led1 {
                    atmel,pins = <AT91_PIOA 26 AT91_PERIPH_GPIO AT91_PINCTRL_OUT_INIT_1>;
                    label = "led-sig1";
                    alias = "led-b";
                    active_low;
                };
            }; /* mtsio */
        }; /* overlay */
    }; /* fragment@0 */
};