mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 18:35:42 +01:00 
			
		
		
		
	This commit enables support for CONFIG_WDT in the U-Boot proper. Moreover, the SYSRESET_WATCHDOG driver is used to support 'reset' command. As SPL is not yet ready for DM conversion, the CONFIG_HW_WATCHDOG is enabled for it. This allows the legacy SPL code to work properly. Signed-off-by: Lukasz Majewski <lukma@denx.de>
		
			
				
	
	
		
			50 lines
		
	
	
		
			729 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			729 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| /*
 | |
|  * Copyright 2019
 | |
|  * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
 | |
|  *
 | |
|  * SPDX-License-Identifier:     GPL-2.0+ or X11
 | |
|  */
 | |
| 
 | |
| /*
 | |
|  * The minimal augmentation DTS U-Boot file to allow UART5
 | |
|  * configuration in the pre-relocation stage of U-Boot
 | |
|  * proper.
 | |
|  *
 | |
|  * As the same UART is already configured in SPL, we don't need
 | |
|  * setup pinmux for it again.
 | |
|  */
 | |
| 
 | |
| / {
 | |
| 	aliases {
 | |
| 		mmc0 = &usdhc4;
 | |
| 	};
 | |
| 
 | |
| 	soc {
 | |
| 		u-boot,dm-pre-reloc;
 | |
| 
 | |
| 		aips-bus@2100000 {
 | |
| 			u-boot,dm-pre-reloc;
 | |
| 		};
 | |
| 	};
 | |
| 
 | |
| 	chosen {
 | |
| 		stdout-path = &uart5;
 | |
| 	};
 | |
| 
 | |
| 	wdt-reboot {
 | |
| 		compatible = "wdt-reboot";
 | |
| 		wdt = <&wdog1>;
 | |
| 	};
 | |
| };
 | |
| 
 | |
| &i2c3 {
 | |
| 	at24@50 {
 | |
| 		u-boot,i2c-offset-len = <2>;
 | |
| 	};
 | |
| };
 | |
| 
 | |
| &uart5 {
 | |
| 	u-boot,dm-pre-reloc;
 | |
| };
 |