ePAPR allows to reference the device used for console output by stdout-path property. With node labels for Kirkwood UART0, now reference it on all Kirkwood boards that already have ttyS0 in their bootargs property. While at it, fix some whitespace issues on mplcec4's chosen node (there are more, but we only fix the chosen node now) Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Acked-by: Andrew Lunn <andrew@lunn.ch> Link: https://lkml.kernel.org/r/1398862602-29595-4-git-send-email-sebastian.hesselbarth@gmail.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
		
			
				
	
	
		
			46 lines
		
	
	
		
			768 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			768 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /*
 | |
|  * Andrew Lunn <andrew@lunn.ch>
 | |
|  * Ben Peddell <klightspeed@killerwolves.net>
 | |
|  *
 | |
|  * This file is licensed under the terms of the GNU General Public
 | |
|  * License version 2.  This program is licensed "as is" without any
 | |
|  * warranty of any kind, whether express or implied.
 | |
|  */
 | |
| 
 | |
| /dts-v1/;
 | |
| 
 | |
| #include "kirkwood.dtsi"
 | |
| #include "kirkwood-6281.dtsi"
 | |
| #include "kirkwood-synology.dtsi"
 | |
| 
 | |
| / {
 | |
| 	model = "Synology RS409";
 | |
| 	compatible = "synology,rs409", "marvell,kirkwood";
 | |
| 
 | |
| 	memory {
 | |
| 		device_type = "memory";
 | |
| 		reg = <0x00000000 0x8000000>;
 | |
| 	};
 | |
| 
 | |
| 	chosen {
 | |
| 		bootargs = "console=ttyS0,115200n8";
 | |
| 		stdout-path = &uart0;
 | |
| 	};
 | |
| 
 | |
| 	gpio-fan-150-15-18 {
 | |
| 		status = "okay";
 | |
| 	};
 | |
| 
 | |
| 	gpio-leds-hdd-36 {
 | |
| 		status = "okay";
 | |
| 	};
 | |
| };
 | |
| 
 | |
| ð1 {
 | |
| 	status = "okay";
 | |
| };
 | |
| 
 | |
| &rs5c372 {
 | |
| 	status = "okay";
 | |
| };
 |