 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
				
			
		
			
				
	
	
		
			75 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			75 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 | |
| 
 | |
| #include "ar9331.dtsi"
 | |
| 
 | |
| #include <dt-bindings/gpio/gpio.h>
 | |
| #include <dt-bindings/input/input.h>
 | |
| 
 | |
| / {
 | |
| 	aliases {
 | |
| 		led-boot = &led_system;
 | |
| 		led-failsafe = &led_system;
 | |
| 		led-running = &led_system;
 | |
| 		led-upgrade = &led_system;
 | |
| 	};
 | |
| 
 | |
| 	keys {
 | |
| 		compatible = "gpio-keys";
 | |
| 
 | |
| 		reset {
 | |
| 			label = "reset";
 | |
| 			linux,code = <KEY_RESTART>;
 | |
| 			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
 | |
| 			debounce-interval = <60>;
 | |
| 		};
 | |
| 	};
 | |
| 
 | |
| 	leds {
 | |
| 		compatible = "gpio-leds";
 | |
| 
 | |
| 		led_system: system {
 | |
| 			label = "green:system";
 | |
| 			gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
 | |
| 		};
 | |
| 	};
 | |
| 
 | |
| 	reg_usb_vbus: regulator {
 | |
| 		compatible = "regulator-fixed";
 | |
| 		regulator-name = "usb_vbus";
 | |
| 		regulator-min-microvolt = <5000000>;
 | |
| 		regulator-max-microvolt = <5000000>;
 | |
| 		gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
 | |
| 		enable-active-high;
 | |
| 	};
 | |
| };
 | |
| 
 | |
| ð0 {
 | |
| 	status = "okay";
 | |
| 
 | |
| 	gmac-config {
 | |
| 		device = <&gmac>;
 | |
| 
 | |
| 		switch-phy-addr-swap = <0>;
 | |
| 		switch-phy-swap = <0>;
 | |
| 	};
 | |
| };
 | |
| 
 | |
| ð1 {
 | |
| 	status = "okay";
 | |
| };
 | |
| 
 | |
| &usb {
 | |
| 	status = "okay";
 | |
| 
 | |
| 	dr_mode = "host";
 | |
| 	vbus-supply = <®_usb_vbus>;
 | |
| };
 | |
| 
 | |
| &usb_phy {
 | |
| 	status = "okay";
 | |
| };
 | |
| 
 | |
| &wmac {
 | |
| 	status = "okay";
 | |
| };
 |