Guest User

Untitled

a guest
May 11th, 2016
118
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /dts-v1/;
  2. /plugin/;
  3.  
  4. / {
  5. compatible = "ti,beaglebone", "ti,beaglebone-black";
  6.  
  7. part-number = "CB7S-LED-PRU1";
  8. version = "00A0";
  9.  
  10. /* This overlay uses the following resources */
  11. exclusive-use =
  12. "P8.27", "P8.28", "P8.29", "pru1";
  13.  
  14. fragment@0 {
  15. target = <&am33xx_pinmux>;
  16. __overlay__ {
  17.  
  18. pru_pru_pins: pinmux_pru_pru_pins { // The PRU pin modes
  19. pinctrl-single,pins = <
  20. 0x0e0 0x36 // LA P8_27 pr1_pru1_pru_r31_8, MODE6 | PULL-UP | OUTPUT | FAST 00110110=0x36
  21. 0x0e8 0x36 // LB P8_28 pr1_pru1_pru_r31_10, MODE6 | PULL-UP | OUTPUT | FAST 00110110=0x36
  22. 0x0e4 0x36 // LC P8_29 pr1_pru1_pru_r31_9, MODE6 | PULL-UP | OUTPUT | FAST 00110110=0x36
  23. >;
  24. };
  25. };
  26. };
  27.  
  28. fragment@1 { // Enable the PRUSS
  29. target = <&pruss>;
  30. __overlay__ {
  31. status = "okay";
  32. pinctrl-names = "default";
  33. pinctrl-0 = <&pru_pru_pins>;
  34. };
  35. };
  36.  
  37. };
RAW Paste Data