ramips: mt7621: fix Telco X1 GPIO switches
The GPIO base of MT7621 GPIO 0~31 is 480 on kernel 5.4 Fix the GPIO numbering. Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
This commit is contained in:
		 DENG Qingfang
					DENG Qingfang
				
			
				
					committed by
					
						 Adrian Schmutzler
						Adrian Schmutzler
					
				
			
			
				
	
			
			
			 Adrian Schmutzler
						Adrian Schmutzler
					
				
			
						parent
						
							0f7a3288e1
						
					
				
				
					commit
					fe1f11ce32
				
			| @@ -11,7 +11,7 @@ mikrotik,routerboard-760igs) | |||||||
| 	ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "497" | 	ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "497" | ||||||
| 	;; | 	;; | ||||||
| telco-electronics,x1) | telco-electronics,x1) | ||||||
| 	ucidef_add_gpio_switch "modem_reset" "Modem Reset" "16" | 	ucidef_add_gpio_switch "modem_reset" "Modem Reset" "496" | ||||||
| 	;; | 	;; | ||||||
| ubnt,edgerouter-x) | ubnt,edgerouter-x) | ||||||
| 	ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "480" | 	ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "480" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user