test-pwm: corrected individual pin dts files
[beagleboard-validation:scripts.git] / test-pwm / bone_pwm_P9_29-00A0.dts
1 /*
2  * Copyright (C) 2013 CircuitCo
3  * Copyright (C) 2013 Texas Instruments
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 as
7  * published by the Free Software Foundation.
8  */
9 /dts-v1/;
10 /plugin/;
11
12 / {
13         compatible = "ti,beaglebone";
14
15         /* identification */
16         part-number = "bone_pwm_P9_29";
17         version = "00A0";
18
19         fragment@0 {
20                 target = <&am33xx_pinmux>;
21                 __overlay__ {
22                         pwm_P9_29: pinmux_pwm_P9_29_pins {
23                                 pinctrl-single,pins = <0x194  0x1>; /* P9_29 (ZCZ ball B13) | MODE 1 */
24                         };
25                 };
26         };
27
28         fragment@1 {
29                 target = <&ocp>;
30                 __overlay__ {
31                         pwm_test_P9_29 {
32                                 compatible      = "pwm_test";
33                                 pwms            = <&ehrpwm0 1 500000 1>;
34                                 pwm-names       = "PWM_P9_29";
35                             pinctrl-names       = "default";
36                             pinctrl-0   = <&pwm_P9_29>;
37                                 enabled         = <1>;
38                                 duty            = <0>;
39                                 status          = "okay";
40                         };
41                 };
42         };
43 };