mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-10-31 16:31:25 +01:00 
			
		
		
		
	Activate the led managed in stm32mp1 board for U-Boot indication in STM32MP13F-DK device tree. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
		
			
				
	
	
		
			41 lines
		
	
	
		
			605 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			605 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause
 | |
| /*
 | |
|  * Copyright (C) 2022, STMicroelectronics - All Rights Reserved
 | |
|  */
 | |
| 
 | |
| #include "stm32mp13-u-boot.dtsi"
 | |
| 
 | |
| / {
 | |
| 	aliases {
 | |
| 		mmc0 = &sdmmc1;
 | |
| 	};
 | |
| 
 | |
| 	config {
 | |
| 		u-boot,boot-led = "led-blue";
 | |
| 		u-boot,error-led = "led-red";
 | |
| 		u-boot,mmc-env-partition = "u-boot-env";
 | |
| 	};
 | |
| 
 | |
| 	leds {
 | |
| 		led-red {
 | |
| 			color = <LED_COLOR_ID_RED>;
 | |
| 			gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
 | |
| 			default-state = "off";
 | |
| 		};
 | |
| 	};
 | |
| };
 | |
| 
 | |
| &uart4 {
 | |
| 	u-boot,dm-pre-reloc;
 | |
| };
 | |
| 
 | |
| &uart4_pins_a {
 | |
| 	u-boot,dm-pre-reloc;
 | |
| 	pins1 {
 | |
| 		u-boot,dm-pre-reloc;
 | |
| 	};
 | |
| 	pins2 {
 | |
| 		u-boot,dm-pre-reloc;
 | |
| 	};
 | |
| };
 |