mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-30 21:44:27 -04:00 
			
		
		
		
	Instead of using a fixed commandline, allow one per device. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
		
			
				
	
	
		
			35 lines
		
	
	
		
			606 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			606 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /dts-v1/;
 | |
| 
 | |
| #include "bcm63268.dtsi"
 | |
| 
 | |
| #include <dt-bindings/input/input.h>
 | |
| 
 | |
| / {
 | |
| 	model = "Inteno VG50";
 | |
| 	compatible = "inteno,vg50", "brcm,bcm63268";
 | |
| 
 | |
| 	chosen {
 | |
| 		bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
 | |
| 	};
 | |
| 
 | |
| 	gpio-keys-polled {
 | |
| 		compatible = "gpio-keys-polled";
 | |
| 		#address-cells = <1>;
 | |
| 		#size-cells = <0>;
 | |
| 		poll-interval = <20>;
 | |
| 		debounce-interval = <60>;
 | |
| 
 | |
| 		reset {
 | |
| 			label = "reset";
 | |
| 			gpios = <&gpio1 0 0>;
 | |
| 			linux,code = <KEY_RESTART>;
 | |
| 		};
 | |
| 
 | |
| 		wps {
 | |
| 			label = "wps";
 | |
| 			gpios = <&gpio1 2 0>;
 | |
| 			linux,code = <KEY_WPS_BUTTON>;
 | |
| 		};
 | |
|         };
 | |
| };
 |