xref: /OK3568_Linux_fs/u-boot/arch/arm/dts/rv1126-evb.dts (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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		volumeup-key {
24			u-boot,dm-spl;
25			linux,code = <KEY_VOLUMEUP>;
26			label = "volume up";
27			press-threshold-microvolt = <0>;
28		};
29
30		menu-key {
31			u-boot,dm-spl;
32			linux,code = <KEY_MENU>;
33			label = "menu";
34			press-threshold-microvolt = <1198828>;
35		};
36	};
37};
38
39&uart2 {
40	status = "okay";
41};
42
43&emmc {
44	bus-width = <8>;
45	mmc-hs200-1_8v;
46	status = "okay";
47};
48