ramips: TP-Link TL-WR902AC v3: add missing wps button
Signed-off-by: Peter Lundkvist <peter.lundkvist@gmail.com>
This commit is contained in:
		 Peter Lundkvist
					Peter Lundkvist
				
			
				
					committed by
					
						 Mathias Kresin
						Mathias Kresin
					
				
			
			
				
	
			
			
			 Mathias Kresin
						Mathias Kresin
					
				
			
						parent
						
							36a4681b2b
						
					
				
				
					commit
					2f306873ef
				
			| @@ -32,6 +32,12 @@ | |||||||
| 			gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; | 			gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; | ||||||
| 			linux,code = <BTN_1>; | 			linux,code = <BTN_1>; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
|  | 		wps { | ||||||
|  | 			label = "wps"; | ||||||
|  | 			gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; | ||||||
|  | 			linux,code = <KEY_WPS_BUTTON>; | ||||||
|  | 		}; | ||||||
| 	}; | 	}; | ||||||
|  |  | ||||||
| 	gpio-leds { | 	gpio-leds { | ||||||
| @@ -72,7 +78,7 @@ | |||||||
| &pinctrl { | &pinctrl { | ||||||
| 	state_default: pinctrl0 { | 	state_default: pinctrl0 { | ||||||
| 		gpio { | 		gpio { | ||||||
| 			ralink,group = "i2c", "i2s", "p0led_an", "p4led_an", "uart1", "wdt", "wled_an"; | 			ralink,group = "i2c", "i2s", "p0led_an", "p2led_an", "p4led_an", "uart1", "wdt", "wled_an"; | ||||||
| 			ralink,function = "gpio"; | 			ralink,function = "gpio"; | ||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user