Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Copyright (C) 2013 CircuitCo
- *
- * 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 = "BB-BONE-UART1";
- version = "00A0";
- fragment@0 {
- target = <&am33xx_pinmux>;
- __overlay__ {
- /* default state has all gpios released and mode set to uart1 */
- bone_uart1_pins: pinmux_bone_uart1_pins {
- pinctrl-single,pins = <
- /* the uart pins */
- 0x184 0x20 /* 24 UART1_TXD uart1_txd OUTPUT */
- 0x180 0x20 /* 26 UART1_RXD uart1_rxd INPUT */
- >;
- };
- };
- };
- fragment@1 {
- target = <&uart2>; /* really uart1 */
- __overlay__ {
- pinctrl-names = "default";
- pinctrl-0 = <&bone_uart1_pins>;
- /* please note that the pinconfig is done by the pinmux helper */
- status = "okay";
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement