Last active
December 17, 2015 13:29
-
-
Save wolfeidau/5617929 to your computer and use it in GitHub Desktop.
Beagle stuff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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