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