48 lines
		
	
	
		
			860 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			860 B
		
	
	
	
		
			Plaintext
		
	
	
	
| // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
 | |
| /*
 | |
|  * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd.
 | |
|  */
 | |
| 
 | |
| /dts-v1/;
 | |
| #include "rv1126.dtsi"
 | |
| #include "rv1126-u-boot.dtsi"
 | |
| #include <dt-bindings/input/input.h>
 | |
| 
 | |
| / {
 | |
| 	model = "Rockchip RV1126 Evaluation Board";
 | |
| 	compatible = "rockchip,rv1126-evb", "rockchip,rv1126";
 | |
| 
 | |
| 	adc-keys {
 | |
| 		compatible = "adc-keys";
 | |
| 		io-channels = <&saradc 0>;
 | |
| 		io-channel-names = "buttons";
 | |
| 		keyup-threshold-microvolt = <1800000>;
 | |
| 		u-boot,dm-spl;
 | |
| 		status = "okay";
 | |
| 
 | |
| 		volumeup-key {
 | |
| 			u-boot,dm-spl;
 | |
| 			linux,code = <KEY_VOLUMEUP>;
 | |
| 			label = "volume up";
 | |
| 			press-threshold-microvolt = <0>;
 | |
| 		};
 | |
| 
 | |
| 		menu-key {
 | |
| 			u-boot,dm-spl;
 | |
| 			linux,code = <KEY_MENU>;
 | |
| 			label = "menu";
 | |
| 			press-threshold-microvolt = <1198828>;
 | |
| 		};
 | |
| 	};
 | |
| };
 | |
| 
 | |
| &uart2 {
 | |
| 	status = "okay";
 | |
| };
 | |
| 
 | |
| &emmc {
 | |
| 	bus-width = <8>;
 | |
| 	mmc-hs200-1_8v;
 | |
| 	status = "okay";
 | |
| };
 |