This patch enable UART for MT8127 moose board and MT8135 evalution board. Adding the dts, these two boards can show log and shell prompts. Signed-off-by: Eddie Huang <eddie.huang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
		
			
				
	
	
		
			30 lines
		
	
	
		
			750 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			750 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2014 MediaTek Inc.
 | |
|  * Author: Joe.C <yingjoe.chen@mediatek.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.
 | |
|  *
 | |
|  * This program is distributed in the hope that it will be useful,
 | |
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 | |
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | |
|  * GNU General Public License for more details.
 | |
|  */
 | |
| 
 | |
| /dts-v1/;
 | |
| #include "mt8127.dtsi"
 | |
| 
 | |
| / {
 | |
| 	model = "MediaTek MT8127 Moose Board";
 | |
| 	compatible = "mediatek,mt8127-moose", "mediatek,mt8127";
 | |
| 
 | |
| 	memory {
 | |
| 		reg = <0 0x80000000 0 0x40000000>;
 | |
| 	};
 | |
| };
 | |
| 
 | |
| &uart0 {
 | |
| 	status = "okay";
 | |
| };
 |