-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMPPT3-00A0.dts
60 lines (54 loc) · 1.18 KB
/
MPPT3-00A0.dts
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
/*
* Hacked together using Bacon Cape as an example
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/dts-v1/;
/plugin/;
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black";
/* identification */
part-number = "MPPT3";
version = "00A0";
/* state the resources this cape uses */
exclusive-use =
/* the pin header uses */
// "P9.39", /* AIN0 */
// "P9.37", /* AIN2 */
// "P9.38", /* AIN3 */
// "P9.33", /* AIN4 */
// "P9.35", /* AIN6 */
"P9.31", /* pwm: ehrpwm0A */
"P9.29", /* pwm: ehrpwm0B */
/* the hardware IP uses */
/*"tscadc",*/
"ehrpwm0A",
"ehrpwm0B";
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
mppt3_ehrpwm0_pins: pinmux_mppt3_ehrpwm0_pins {
pinctrl-single,pins = <
0x194 0x1 /* P9_29 | MODE 1 */
0x190 0x1 /* P9_31 | MODE 1 */
>;
};
};
};
fragment@3 {
target = <&epwmss0>;
__overlay__ {
status = "okay";
};
};
fragment@6 {
target = <&ehrpwm0>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&mppt3_ehrpwm0_pins>;
status = "okay";
};
};
};