mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
	
		
			642 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
	
		
			642 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #include "qcom-ipq4018-rutx-shiftreg.dtsi"
 | |
| 
 | |
| / {
 | |
| 	model = "RUTX10";
 | |
| 
 | |
| 	soc {
 | |
| 		gpio-export {
 | |
| 			compatible = "gpio-export";
 | |
| 			#size-cells = <0>;
 | |
| 
 | |
| 			gpio_out_1 {
 | |
| 				gpio-export,name = "gpio23";
 | |
| 				gpio-export,output = <0>;
 | |
| 				gpios = <&shift_io 0 GPIO_ACTIVE_HIGH>;
 | |
| 			};
 | |
| 
 | |
| 			gpio_in_1 {
 | |
| 				gpio-export,name = "gpio24";
 | |
| 				gpio-export,input = <0>;
 | |
| 				gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
 | |
| 			};
 | |
| 		};
 | |
| 
 | |
| 		leds {
 | |
| 			compatible = "gpio-leds";
 | |
| 
 | |
| 			led_wifi_24 {
 | |
| 				label = "wifi_gen_2";
 | |
| 				gpios = <&shift_io 5 GPIO_ACTIVE_HIGH>;
 | |
| 			};
 | |
| 
 | |
| 			led_wifi_50 {
 | |
| 				label = "wifi_gen_5";
 | |
| 				gpios = <&shift_io 6 GPIO_ACTIVE_HIGH>;
 | |
| 			};
 | |
| 		};
 | |
| 	};
 | |
| };
 |