32 lines
		
	
	
		
			648 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			648 B
		
	
	
	
		
			Plaintext
		
	
	
	
| // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
 | |
| /*
 | |
|  * Copyright (c) 2021 Rockchip Electronics Co., Ltd
 | |
|  *
 | |
|  */
 | |
| 
 | |
| /dts-v1/;
 | |
| #include "rk3588.dtsi"
 | |
| #include "rk3588-u-boot.dtsi"
 | |
| #include <dt-bindings/input/input.h>
 | |
| 
 | |
| / {
 | |
| 	model = "Rockchip RK3588 Evaluation Board";
 | |
| 	compatible = "rockchip,rk3588-evb", "rockchip,rk3588";
 | |
| 
 | |
| 	adc-keys {
 | |
| 		compatible = "adc-keys";
 | |
| 		io-channels = <&saradc 1>;
 | |
| 		io-channel-names = "buttons";
 | |
| 		keyup-threshold-microvolt = <1800000>;
 | |
| 		u-boot,dm-pre-reloc;
 | |
| 		status = "okay";
 | |
| 
 | |
| 		volumeup-key {
 | |
| 			u-boot,dm-pre-reloc;
 | |
| 			linux,code = <KEY_VOLUMEUP>;
 | |
| 			label = "volume up";
 | |
| 			press-threshold-microvolt = <1750>;
 | |
| 		};
 | |
| 	};
 | |
| };
 |