summaryrefslogtreecommitdiff
path: root/mtcdt/leds-0.0.dtso
blob: 3277d1d16d12c8c5f226aefc3cb24c19a19d7039 (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
/*
 * 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/leds.dtbo
 * Link:  MTCDTIP/0.0/leds.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 = "/leds";
        __overlay__ {
            status = "okay";
            led-a {
                label = "led-a"; // LED5
                gpios = <GPIO0_PH 25 GPIO_ACTIVE_LOW>;
            };
            led-b {
                label = "led-b"; // LED1
                gpios = <GPIO0_PH 26 GPIO_ACTIVE_LOW>;
            };
            led-c {
                label = "led-c"; // LED4
                gpios = <GPIO0_PH 27 GPIO_ACTIVE_LOW>;
            };
            led-d {
                label = "led-d"; //LED3
                gpios = <GPIO0_PH 28 GPIO_ACTIVE_LOW>;
            };

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