#!/bin/bash 

# Fire up the uarts
devmem2 0x40028124 w 0x00000004 # P0.2 mux set                
devmem2 0x40028050 w 0x00000004 # Set direction of P0.2 output
devmem2 0x40028044 w 0x00000004 # UART 1 (TX0) enable         
#devmem2 0x40028048 w 0x00000004 # UART 1 (TX0) disable  

devmem2 0x40028124 w 0x00000080 # P0.7 mux set                
devmem2 0x40028050 w 0x00000080 # Set direction of P0.7 output
devmem2 0x40028104 w 0x8000 # Set U7_TX from LCD              
devmem2 0x40028044 w 0x00000080 # UART 7 (TX2) enable         
#devmem2 0x40028048 w 0x00000080 # UART 7 (TX2) disable  

devmem2 0x40028044 w 0x00000010 # mux discrete enable
#devmem2 0x40028048 w 0x00000010 # mux discrete disable
