forked from jadonk/cape-firmware
-
Notifications
You must be signed in to change notification settings - Fork 27
/
bone_pwm_P9_42-00A0.dts
50 lines (45 loc) · 1.08 KB
/
bone_pwm_P9_42-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
/*
* Copyright (C) 2013 CircuitCo
* Copyright (C) 2013 Texas Instruments
*
* 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 = "bone_pwm_P9_42";
version = "00A0";
/* state the resources this cape uses */
exclusive-use =
/* the pin header uses */
"P9.42", /* pwm: eCAP0_in_PWM0_out */
/* the hardware IP uses */
"eCAP0_in_PWM0_out";
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
pwm_P9_42: pinmux_pwm_P9_42_pins {
pinctrl-single,pins = <0x164 0x0>; /* P9_42 (ZCZ ball C18) | MODE 0 */
};
};
};
fragment@1 {
target = <&ocp>;
__overlay__ {
pwm_test_P9_42 {
compatible = "pwm_test";
pwms = <&ecap0 0 500000 1>;
pwm-names = "PWM_P9_42";
pinctrl-names = "default";
pinctrl-0 = <&pwm_P9_42>;
enabled = <1>;
duty = <0>;
status = "okay";
};
};
};
};