xref: /rk3399_rockchip-uboot/arch/arm/dts/rk3308-evb.dts (revision b33ebddfc88565975ea3dfa5b425f2aa45f2da80)
1/*
2 * (C) Copyright 2018 Rockchip Electronics Co., Ltd
3 *
4 * SPDX-License-Identifier:     GPL-2.0+
5 */
6
7/dts-v1/;
8#include "rk3308.dtsi"
9#include <dt-bindings/input/input.h>
10
11/ {
12	model = "Rockchip RK3308 EVB";
13	compatible = "rockchip,rk3308-evb", "rockchip,rk3308";
14
15	chosen {
16		stdout-path = "serial2:1500000n8";
17	};
18
19	adc-keys {
20		compatible = "adc-keys";
21		io-channels = <&saradc 1>;
22		io-channel-names = "buttons";
23		poll-interval = <100>;
24		keyup-threshold-microvolt = <1800000>;
25
26		esc-key {
27			linux,code = <KEY_MUTE>;
28			label = "mute";
29			press-threshold-microvolt = <1130000>;
30		};
31
32		home-key {
33			linux,code = <KEY_MODE>;
34			label = "mode";
35			press-threshold-microvolt = <901000>;
36		};
37
38		menu-key {
39			linux,code = <KEY_PLAY>;
40			label = "play";
41			press-threshold-microvolt = <624000>;
42		};
43
44		vol-down-key {
45			linux,code = <KEY_VOLUMEDOWN>;
46			label = "volume down";
47			press-threshold-microvolt = <300000>;
48		};
49
50		vol-up-key {
51			linux,code = <KEY_VOLUMEUP>;
52			label = "volume up";
53			press-threshold-microvolt = <180000>;
54		};
55	};
56
57};
58
59&emmc {
60	cap-mmc-highspeed;
61	mmc-hs200-1_8v;
62	supports-emmc;
63	non-removable;
64	num-slots = <1>;
65	status = "okay";
66};
67
68&saradc {
69	status = "okay";
70};
71
72&uart2 {
73	clock-frequency = <24000000>;
74	status = "okay";
75};
76
77&u2phy {
78	status = "okay";
79};
80
81&u2phy_otg {
82	status = "okay";
83};
84
85&u2phy_host {
86	status = "okay";
87};
88
89&usb_host0_ehci {
90	status = "okay";
91};
92
93&usb_host0_ohci {
94	status = "okay";
95};
96
97&usb20_otg {
98	status = "okay";
99};
100