mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 14:04:26 -04:00 
			
		
		
		
	Use diag.sh version used for other targets supporting different leds for the different boot states. The existing led sequences should be the same as before. Signed-off-by: Mathias Kresin <dev@kresin.me>
		
			
				
	
	
		
			34 lines
		
	
	
		
			579 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			579 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /dts-v1/;
 | |
| 
 | |
| #include "WRTNODE2.dtsi"
 | |
| 
 | |
| / {
 | |
| 	compatible = "wrtnode,wrtnode2r", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
 | |
| 	model = "WRTnode2R";
 | |
| 
 | |
| 	aliases {
 | |
| 		led-boot = &led_indicator;
 | |
| 		led-failsafe = &led_indicator;
 | |
| 		led-running = &led_indicator;
 | |
| 		led-upgrade = &led_indicator;
 | |
| 	};
 | |
| 
 | |
| 	gpio-leds {
 | |
| 		compatible = "gpio-leds";
 | |
| 
 | |
| 		led_indicator: indicator {
 | |
| 			label = "wrtnode:blue:indicator";
 | |
| 			gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
 | |
| 		};
 | |
| 	};
 | |
| };
 | |
| 
 | |
| &pinctrl {
 | |
| 	state_default: pinctrl0 {
 | |
| 		gpio {
 | |
| 			ralink,group = "i2c", "gpio", "wled_an";
 | |
| 			ralink,function = "gpio";
 | |
| 		};
 | |
| 	};
 | |
| };
 |