mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 10:26:10 +01:00 
			
		
		
		
	During the conversion of this board to DM_REGULATOR, usb-mass-storage
was broken and started failing with the following error:
        => ums 0 mmc 2
        UMS: LUN 0, dev 2, hwpart 0, sector 0x0, count 0xe90000
        Error enabling VBUS supply
        g_dnl_register: failed!, error: -38
        g_dnl_register failed
Fix this by adding the relevant GPIO to the regulator node.
Fixes: 4ca99fe81a ("ARM: imx: dh-imx6: Enable DM regulator")
Signed-off-by: Harald Seiler <hws@denx.de>
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			416 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			416 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: (GPL-2.0+)
 | |
| /*
 | |
|  * Copyright (C) 2020 Harald Seiler <hws@denx.de>
 | |
|  */
 | |
| 
 | |
| #include "imx6qdl-dhcom-u-boot.dtsi"
 | |
| 
 | |
| / {
 | |
| 	fec_vio: regulator-fec {
 | |
| 		compatible = "regulator-fixed";
 | |
| 
 | |
| 		regulator-name = "fec-vio";
 | |
| 		gpio = <&gpio1 7 GPIO_ACTIVE_LOW>;
 | |
| 	};
 | |
| };
 | |
| 
 | |
| &fec {
 | |
| 	phy-reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
 | |
| 	phy-reset-duration = <1>;
 | |
| 	phy-reset-post-delay = <10>;
 | |
| 
 | |
| 	phy-supply = <&fec_vio>;
 | |
| };
 |