 27c9d80f51
			
		
	
	27c9d80f51
	
	
		
			
	
		
	
	
		
			Some checks failed
		
		
	
	Build Kernel / Build all affected Kernels (push) Has been cancelled
				
			Build all core packages / Build all core packages for selected target (push) Has been cancelled
				
			Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
				
			Build Toolchains / Build Toolchains for each target (push) Has been cancelled
				
			Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
				
			Coverity scan build / Coverity x86/64 build (push) Has been cancelled
				
			
		
			
				
	
	
		
			54 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 | |
| 
 | |
| #include <dt-bindings/leds/common.h>
 | |
| 
 | |
| #include "ar9342_zyxel_nwa11xx.dtsi"
 | |
| 
 | |
| / {
 | |
| 	compatible = "zyxel,nwa1100-nh", "qca,ar9342";
 | |
| 	model = "Zyxel NWA1100-NH";
 | |
| 
 | |
| 	aliases {
 | |
| 		label-mac-device = ð0;
 | |
| 		led-boot = &led_status_green;
 | |
| 		led-failsafe = &led_status_red;
 | |
| 		led-running = &led_status_green;
 | |
| 		led-upgrade = &led_status_red;
 | |
| 	};
 | |
| 	leds {
 | |
| 		compatible = "gpio-leds";
 | |
| 
 | |
| 		led_status_green: status_green {
 | |
| 			function = LED_FUNCTION_STATUS;
 | |
| 			color = <LED_COLOR_ID_GREEN>;
 | |
| 			gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
 | |
| 			default-state = "on";
 | |
| 		};
 | |
| 
 | |
| 		led_status_red: status_red {
 | |
| 			function = LED_FUNCTION_STATUS;
 | |
| 			color = <LED_COLOR_ID_RED>;
 | |
| 			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
 | |
| 		};
 | |
| 
 | |
| 		led_wlan_green: wlan_green {
 | |
| 			function = LED_FUNCTION_WLAN;
 | |
| 			color = <LED_COLOR_ID_GREEN>;
 | |
| 			gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
 | |
| 			linux,default-trigger = "phy0tpt";
 | |
| 		};
 | |
| 
 | |
| 		led_lan_green: lan_green {
 | |
| 			function = LED_FUNCTION_LAN;
 | |
| 			color = <LED_COLOR_ID_GREEN>;
 | |
| 			gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
 | |
| 		};
 | |
| 
 | |
| 		led_lan_amber: lan_amber {
 | |
| 			function = LED_FUNCTION_LAN;
 | |
| 			color = <LED_COLOR_ID_AMBER>;
 | |
| 			gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
 | |
| 		};
 | |
| 	};
 | |
| };
 |