Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Copyright (C) 2020 Deepak Khatri <[email protected]>
- *
- * Virtual cape for BBAI UART5 on connector pins P9.13 (TX) P9.11 (RX)
- *
- * 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/;
- #include <dt-bindings/gpio/gpio.h>
- #include <dt-bindings/pinctrl/dra.h>
- #include <dt-bindings/interrupt-controller/irq.h>
- &{/chosen} {
- overlays {
- BBAI_BB-UART5-00A0 = __TIMESTAMP__;
- };
- };
- &dra7_pmx_core {
- bb_uart5_pins: pinmux_bb_uart5_pins {
- pinctrl-single,pins = <
- DRA7XX_CORE_IOPAD(BBAI_P9_13A, PIN_OUTPUT | MUX_MODE4) /* mcasp3_axr1.uart5_txd */
- DRA7XX_CORE_IOPAD(BBAI_P9_13B, MUX_MODE15)
- DRA7XX_CORE_IOPAD(BBAI_P9_11A, PIN_INPUT | MUX_MODE4) /* mcasp3_axr0.uart5_rxd */
- DRA7XX_CORE_IOPAD(BBAI_P9_11B, MUX_MODE15)
- // DRA7XX_CORE_IOPAD(BBAI_P8_06, PIN_OUTPUT | MUX_MODE2) /* mmc3_dat3.uart5_rtsn */
- // DRA7XX_CORE_IOPAD(BBAI_P8_05, PIN_INPUT | MUX_MODE2) /* mmc3_dat2.uart5_ctsn */
- >;
- };
- };
- &uart5 {
- status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&bb_uart5_pins>;
- symlink = "bone/uart/4";
- };
Add Comment
Please, Sign In to add comment