blob: 030f2a6e33030430c5f0de4a67628acc55964341 (
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.2 Hardware
*
* Copyright (C) 2021 by Multi-Tech Systems,
*
* Licensed under GPLv2 or later.
*/
/*
* Location(s):
* Put: MTCDT/0.2/leds.dtbo
* Link: MTCDTIP/0.1/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.2";
compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
fragment@0 {
target-path = "/leds";
__overlay__ {
status = "okay";
led-a {
label = "led-a"; // LED5
gpios = <GPIO5_PCA9557_PH 0 GPIO_ACTIVE_LOW>;
};
led-b {
label = "led-b"; // LED1
gpios = <GPIO5_PCA9557_PH 1 GPIO_ACTIVE_LOW>;
};
led-c {
label = "led-c"; // LED4
gpios = <GPIO5_PCA9557_PH 2 GPIO_ACTIVE_LOW>;
};
led-d {
label = "led-d"; //LED3
gpios = <GPIO4_PCA9557_PH 0 GPIO_ACTIVE_LOW>;
};
};
}; /* fragment@0 */
};
|