summaryrefslogtreecommitdiff
path: root/mtcdt/pins-0.0.dtso
blob: 0844052e971c9019790295f7edc08661b12c1605 (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
/*
 * DTS file for Multi-Tech Systems MTCDT 0.0 Hardware
 *
 * Copyright (C) 2021 by Multi-Tech Systems,
 *
 * Licensed under GPLv2 or later.
 */

/*
 * Location(s):
 * Put:  MTCDT/0.0/pins.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>
#include <dt-bindings/gpio/mt-at91.h>  // Explicit PHandles

/dts-v1/;

/ {
    model = "Multi-Tech Systems MTCDT-0.0";
    compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
    fragment@0 {
        target-path = "/mts-io";
        __overlay__ {
            status = "okay";
            WIFI_BT_LPWKUP-gpios = <GPIO0_PH 6 GPIO_ACTIVE_HIGH>;
            CD_LED-gpios = <GPIO0_PH 25 GPIO_ACTIVE_HIGH>;
            SIG1_LED-gpios = <GPIO0_PH 26 GPIO_ACTIVE_HIGH>;
            SIG2_LED-gpios = <GPIO0_PH 27 GPIO_ACTIVE_HIGH>;
            SIG3_LED-gpios = <GPIO0_PH 28 GPIO_ACTIVE_HIGH>;

            AP1_GPIO3-gpios = <GPIO2_PH 8 GPIO_ACTIVE_HIGH>;
            AP1_GPIO4-gpios = <GPIO2_PH 9 GPIO_ACTIVE_HIGH>;
            AP1_TBD1-gpios = <GPIO2_PH 10 GPIO_ACTIVE_HIGH>;
            AP1_TBD2-gpios = <GPIO2_PH 11 GPIO_ACTIVE_HIGH>;
            AP1_TBD3-gpios = <GPIO2_PH 12 GPIO_ACTIVE_HIGH>;
            AP1_TBD4-gpios = <GPIO2_PH 13 GPIO_ACTIVE_HIGH>;
            AP1_TBD5-gpios = <GPIO2_PH 14 GPIO_ACTIVE_HIGH>;
            AP2_GPIO3-gpios = <GPIO2_PH 22 GPIO_ACTIVE_HIGH>;
            AP2_GPIO4-gpios = <GPIO2_PH 23 GPIO_ACTIVE_HIGH>;
            AP2_TBD1-gpios = <GPIO2_PH 24 GPIO_ACTIVE_HIGH>;
            AP2_TBD2-gpios = <GPIO2_PH 25 GPIO_ACTIVE_HIGH>;
            AP2_TBD3-gpios = <GPIO2_PH 26 GPIO_ACTIVE_HIGH>;
            AP2_TBD4-gpios = <GPIO2_PH 27 GPIO_ACTIVE_HIGH>;
            AP2_TBD5-gpios = <GPIO2_PH 28 GPIO_ACTIVE_HIGH>;

        };
    }; /* fragment@0 */
};