blob: 24b1332b5890baf0fb26e583bd6cd21fa784958f (
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
|
/*
* DTS overlay for MTCDT 0.0 hardware version.
* Uses [name]-gpios from:
* https://www.kernel.org/doc/Documentation/devicetree/bindings/gpio/gpio.txt
*/
/dts-v1/;
/plugin/;
#include "at91sam9g25.dtsi"
#include "at91sam9x5ek.dtsi"
/ {
compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
fragment@0 {
target-path = "/";
__overlay__ {
mts-io {
compatible = "mts,mts-io";
radio-reset {
radio-reset-gpios = <&pioC 3 GPIO_ACTIVE_HIGH>;
gpiof_out_init_high;
line-name = "radio-reset";
alias = "radio-power";
}; /* radio */
reset {
reset-gpios = <&pioC 2 GPIO_ACTIVE_LOW>;
gpiof_in;
line-name = "reset";
};
eth-reset {
eth-reset-gpios = <&pioC 4 GPIO_ACTIVE_HIGH>;
gpiof_out_init_high;
line-name = "eth-reset";
}; /* eth */
ls-led {
ls-led-gpios = <&pioA 14 GPIO_ACTIVE_LOW>;
gpiof_out_init_high;
line-name = "led-ls";
};
status-led {
status-led-gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
gpiof_out_init_high;
line-name = "led-status";
};
led5 {
led5-gpios = <&pioA 25 GPIO_ACTIVE_LOW>;
gpiof_out_init_high;
line-name = "led-cd";
alias = "led-a";
};
led1 {
led1-gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
gpiof_out_init_high;
line-name = "led-sig1";
alias = "led-b";
};
}; /* mtsio */
}; /* overlay */
}; /* fragment@0 */
};
|