Advertisement
Guest User

Untitled

a guest
May 24th, 2013
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. /*
  2. * Copyright (C) 2013 Matt Ranostay <mranostay@gmail.com>
  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. /dts-v1/;
  9. /plugin/;
  10.  
  11. / {
  12. compatible = "ti,beaglebone", "ti,beaglebone-black";
  13.  
  14. /* identification */
  15. part-number = "BB-BONE-PRU-01";
  16. version = "00A0";
  17.  
  18. /* state the resources this cape uses */
  19. exclusive-use =
  20. /* the pin header uses */
  21. "P9.27", /* pru0: pr1_pru0_pru_r30_5 */
  22. /* the hardware IP uses */
  23. "pru0";
  24.  
  25. fragment@0 {
  26. target = <&am33xx_pinmux>;
  27. __overlay__ {
  28.  
  29. pru_gpio_pins: pinmux_pru_gpio_pins {
  30. pinctrl-single,pins = <
  31. 0x1a4 0x0f /* P9 27 GPIO3_19: mcasp0_fsr.gpio3[19] | MODE7 | OUTPUT */
  32. >;
  33. };
  34.  
  35. pru_pru_pins: pinmux_pru_pru_pins {
  36. pinctrl-single,pins = <
  37. 0x1a4 0x25 /* mcasp0_fsr.pr1_pru0_pru_r30_5, MODE5 | OUTPUT | PRU */
  38. >;
  39. };
  40. };
  41. };
  42.  
  43. fragment@2 {
  44. target = <&pruss>;
  45. __overlay__ {
  46. status = "okay";
  47.  
  48. pinctrl-names = "default";
  49. pinctrl-0 = <&pru_pru_pins>;
  50. };
  51. };
  52. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement