xref: /rk3399_rockchip-uboot/arch/arm/dts/rv1126-evb.dts (revision 01b8c4d110abb0dcbe36dc5b6b10d93b2b8e2667)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd.
4 */
5
6/dts-v1/;
7#include "rv1126.dtsi"
8#include "rv1126-u-boot.dtsi"
9#include <dt-bindings/input/input.h>
10
11/ {
12	model = "Rockchip RV1126 Evaluation Board";
13	compatible = "rockchip,rv1126-evb", "rockchip,rv1126";
14
15	adc-keys {
16		compatible = "adc-keys";
17		io-channels = <&saradc 0>;
18		io-channel-names = "buttons";
19		keyup-threshold-microvolt = <1800000>;
20		u-boot,dm-spl;
21		status = "okay";
22
23		vol-up-key {
24			u-boot,dm-spl;
25			linux,code = <KEY_VOLUMEUP>;
26			label = "volume up";
27			press-threshold-microvolt = <0>;
28		};
29	};
30};
31
32&uart2 {
33	status = "okay";
34};
35
36&emmc {
37	bus-width = <8>;
38	mmc-hs200-1_8v;
39	status = "okay";
40};
41