* Prepare to support the AR7240 variant of ubiquiti bullet m, by reorganizing the related dtsi files. * Distribute SOC variable across ubnt-xm devices. Signed-off-by: Russell Senior <russell@personaltelco.net>
		
			
				
	
	
		
			41 lines
		
	
	
		
			653 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			653 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 | 
						|
/dts-v1/;
 | 
						|
 | 
						|
#include "ar7241.dtsi"
 | 
						|
#include "ar724x_ubnt_xm.dtsi"
 | 
						|
 | 
						|
/ {
 | 
						|
	compatible = "ubnt,airrouter", "ubnt,xm", "qca,ar7241";
 | 
						|
	model = "Ubiquiti AirRouter";
 | 
						|
 | 
						|
	aliases {
 | 
						|
		led-boot = &led_globe;
 | 
						|
		led-failsafe = &led_globe;
 | 
						|
		led-running = &led_globe;
 | 
						|
		led-upgrade = &led_globe;
 | 
						|
		label-mac-device = &wifi;
 | 
						|
	};
 | 
						|
 | 
						|
	leds {
 | 
						|
		compatible = "gpio-leds";
 | 
						|
 | 
						|
		led_globe: globe {
 | 
						|
			label = "ubnt:green:globe";
 | 
						|
			gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
 | 
						|
		};
 | 
						|
 | 
						|
		power {
 | 
						|
			label = "ubnt:green:power";
 | 
						|
			gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
 | 
						|
		};
 | 
						|
	};
 | 
						|
};
 | 
						|
 | 
						|
&usb_phy {
 | 
						|
	status = "okay";
 | 
						|
};
 | 
						|
 | 
						|
&usb {
 | 
						|
	status = "okay";
 | 
						|
};
 |