mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-30 21:44:27 -04:00 
			
		
		
		
	Fix BPi-R2 GPIO LEDs to indicate boot into production or recovery firmware in DTS and define them in default environment. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
		
			
				
	
	
		
			26 lines
		
	
	
		
			596 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			596 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/arch/arm/dts/mt7623n-bananapi-bpi-r2.dts
 | |
| +++ b/arch/arm/dts/mt7623n-bananapi-bpi-r2.dts
 | |
| @@ -50,19 +50,19 @@
 | |
|  
 | |
|  		blue {
 | |
|  			label = "bpi-r2:pio:blue";
 | |
| -			gpios = <&gpio 241 GPIO_ACTIVE_HIGH>;
 | |
| +			gpios = <&gpio 240 GPIO_ACTIVE_LOW>;
 | |
|  			default-state = "off";
 | |
|  		};
 | |
|  
 | |
|  		green {
 | |
|  			label = "bpi-r2:pio:green";
 | |
| -			gpios = <&gpio 240 GPIO_ACTIVE_HIGH>;
 | |
| +			gpios = <&gpio 241 GPIO_ACTIVE_LOW>;
 | |
|  			default-state = "off";
 | |
|  		};
 | |
|  
 | |
|  		red {
 | |
|  			label = "bpi-r2:pio:red";
 | |
| -			gpios = <&gpio 239 GPIO_ACTIVE_HIGH>;
 | |
| +			gpios = <&gpio 239 GPIO_ACTIVE_LOW>;
 | |
|  			default-state = "off";
 | |
|  		};
 | |
|  	};
 |