Skip to content

Instantly share code, notes, and snippets.

@wolfeidau
Last active December 17, 2015 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wolfeidau/5617929 to your computer and use it in GitHub Desktop.
Save wolfeidau/5617929 to your computer and use it in GitHub Desktop.
Beagle stuff
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/dts-v1/;
/plugin/;
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black";
/* identification */
part-number = "uart2pinmux";
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
uart2pinmux: uart2pinmux_pins {
pinctrl-single,pins = <
0x180 0x20 /* UART1_RXD muxRegOffset, INPUT | MODE0 */
0x184 0x00 /* UART1_TXD muxRegOffset, OUTPUT | MODE0 */
0x18 0x7 /* gpmc_ad6.gpio1_6, MODE7 */
>;
};
};
};
fragment@1 {
target = <&ocp>;
__overlay__ {
test_helper: helper {
compatible = "bone-pinmux-helper";
pinctrl-names = "default";
pinctrl-0 = <&uart2pinmux>;
status = "okay";
};
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment