forked from ProjectHexapod/bbbStuff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththigh_bone-00A0.dts
107 lines (95 loc) · 2.14 KB
/
thigh_bone-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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/*
* Copyright (C) 2014 Project Hexapod
*
* 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 = "thigh_bone";
version = "00A0";
/* state the resources this cape uses */
exclusive-use =
/* the pin header uses */
"P8.13", /* pwm: ehrpwm2B - */
"P8.14", /* gpio: M2 Status Flag - */
"P8.17", /* gpio: enable - */
"P8.19", /* pwm: ehrpwm2A - */
"P9.13", /* gpio: M1 Status Flag */
"P9.21", /* pwm: ehrpwm0B - knee out */
"P9.22", /* pwm: ehrpwm0A - knee in */
"P9.33", /* AIN4: strpot 1 */
"P9.35", /* AIN6: strpot 2 */
"P9.36", /* AIN5: compliant link */
"P9.37", /* AIN2: M1 feedback */
"P9.38", /* AIN3: M2 feedback */
"P9.39", /* AIN0 */
"P9.40", /* AIN1 */
/* the hardware IP uses */
"tscadc",
"gpio0_26",
"gpio0_27",
"gpio0_31",
"ehrpwm0A",
"ehrpwm0B",
"ehrpwm2A",
"ehrpwm2B";
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
pwm0_pins: pinmux_pwm0_pins {
pinctrl-single,pins = <
0x154 0x3
0x150 0x3
>;
};
pwm2_pins: pinmux_pwm2_pins {
pinctrl-single,pins = <
0x024 0x4
0x020 0x4
>;
};
};
};
fragment@1 {
target = <&tscadc>;
__overlay__ {
status = "okay";
adc {
ti,adc-channels = <0 1 2 3 4 5 6>;
};
};
};
fragment@2 {
target = <&epwmss0>;
__overlay__ {
status = "okay";
};
};
fragment@3 {
target = <&epwmss2>;
__overlay__ {
status = "okay";
};
};
fragment@4 {
target = <&ehrpwm0>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&pwm0_pins>;
status = "okay";
};
};
fragment@5 {
target = <&ehrpwm2>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&pwm2_pins>;
status = "okay";
};
};
};