ath79: flag FritzBox 4020 buttons as active low
Buttons of AVM FritzBox 4020 are incorrectly flagged as active high. This was an oversight as RFKill button was working as expected even with incorrectly flagged GPIO. Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
		 David Bauer
					David Bauer
				
			
				
					committed by
					
						 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
						parent
						
							7849f74117
						
					
				
				
					commit
					c6ecb83db4
				
			| @@ -96,13 +96,13 @@ | |||||||
| 		wps_button { | 		wps_button { | ||||||
| 			label = "WPS button"; | 			label = "WPS button"; | ||||||
| 			linux,code = <KEY_WPS_BUTTON>; | 			linux,code = <KEY_WPS_BUTTON>; | ||||||
| 			gpios = <&gpio 2 GPIO_ACTIVE_HIGH>; | 			gpios = <&gpio 2 GPIO_ACTIVE_LOW>; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		wlan_button { | 		wlan_button { | ||||||
| 			label = "WLAN button"; | 			label = "WLAN button"; | ||||||
| 			linux,code = <KEY_RFKILL>; | 			linux,code = <KEY_RFKILL>; | ||||||
| 			gpios = <&gpio 21 GPIO_ACTIVE_HIGH>; | 			gpios = <&gpio 21 GPIO_ACTIVE_LOW>; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
| }; | }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user