1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2021 Fuzhou Rockchip Electronics Co., Ltd. 4 */ 5 6/dts-v1/; 7 8#include "rv1106.dtsi" 9#include "rv1106-u-boot.dtsi" 10#include <dt-bindings/input/input.h> 11 12/ { 13 model = "Rockchip RV1106 EVB Board"; 14 compatible = "rockchip,rv1106-evb", "rockchip,rv1106"; 15 16 adc-keys { 17 compatible = "adc-keys"; 18 io-channels = <&saradc 0>; 19 io-channel-names = "buttons"; 20 keyup-threshold-microvolt = <1800000>; 21 u-boot,dm-pre-reloc; 22 status = "okay"; 23 24 volumeup-key { 25 u-boot,dm-pre-reloc; 26 linux,code = <KEY_VOLUMEUP>; 27 label = "volume up"; 28 press-threshold-microvolt = <1750>; 29 }; 30 }; 31}; 32 33