Advertisement
Guest User

Beaglebone Black P8_13 PWM dtsi (ehrpwm2)

a guest
Sep 6th, 2016
607
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. /*
  2. * Copyright (C) 2016 Thomas Fredriksen
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8.  
  9. &am33xx_pinmux {
  10. bbb_pwm_P8_13_pins: bbb_pwm_P8_13_pins {
  11. pinctrl-single,pins = <0x024 0x4>; /* P8_13 (ZCZ ball T10) | MODE 4 */
  12. };
  13. };
  14.  
  15. &ehrpwm2 {
  16. compatible = "bbb-pwm";
  17. pwms = <&ehrpwm2 1 0 1>;
  18. pwm-names = "PWM_P8_13";
  19.  
  20. pinctrl-names = "default";
  21. pinctrl-0 = <&bbb_pwm_P8_13_pins>;
  22.  
  23. enabled = <0>;
  24. duty = <0>;
  25. status = "okay";
  26. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement