xref: /rk3399_rockchip-uboot/arch/arm/dts/rv1126b-evb.dts (revision e15c98ee20b8dd02519a58e16b25e68be6e7b08a)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2025 Rockchip Electronics Co., Ltd.
4 */
5
6/dts-v1/;
7#include "rv1126b.dtsi"
8#include "rv1126b-u-boot.dtsi"
9#include <dt-bindings/input/input.h>
10
11/ {
12	model = "Rockchip RV1126B Evaluation board";
13	compatible = "rockchip,rv1126b-evb", "rockchip,rv1126b";
14
15	adc-keys {
16		compatible = "adc-keys";
17		io-channels = <&saradc0 0>;
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