Advertisement
Guest User

Untitled

a guest
Jun 24th, 2013
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. /*
  2. * Copyright (C) 2013 CircuitCo
  3. *
  4. * Virtual cape for UART1 on connector pins P9.24 P9.26
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. /dts-v1/;
  11. /plugin/;
  12.  
  13. / {
  14. compatible = "ti,beaglebone", "ti,beaglebone-black";
  15.  
  16. /* identification */
  17. part-number = "BB-UART1";
  18. version = "00A0";
  19.  
  20. fragment@0 {
  21. target = <&am33xx_pinmux>;
  22. __overlay__ {
  23. bb_uart1_pins: pinmux_bb_uart1_pins {
  24. pinctrl-single,pins = <
  25. 0x184 0x00 /* P9.24 uart1_txd.uart1_txd OUTPUT */
  26. 0x180 0x20 /* P9.26 uart1_rxd.uart1_rxd INPUT */
  27. >;
  28. };
  29. };
  30. };
  31.  
  32. fragment@1 {
  33. target = <&uart2>; /* really uart1 */
  34. __overlay__ {
  35. status = "okay";
  36. pinctrl-names = "default";
  37. pinctrl-0 = <&bb_uart1_pins>;
  38. };
  39. };
  40. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement