xref: /OK3568_Linux_fs/u-boot/arch/arm/dts/rk3562-evb.dts (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1/*
2 * SPDX-License-Identifier:     GPL-2.0+
3 *
4 * (C) Copyright 2022 Rockchip Electronics Co., Ltd
5 */
6
7/dts-v1/;
8#include "rk3562.dtsi"
9#include "rk3562-u-boot.dtsi"
10#include <dt-bindings/input/input.h>
11
12/ {
13	model = "Rockchip RK3562 Evaluation Board";
14	compatible = "rockchip,rk3562-evb", "rockchip,rk3562";
15
16	adc-keys {
17		compatible = "adc-keys";
18		io-channels = <&saradc0 1>;
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 = <9>;
29		};
30	};
31};
32