xref: /OK3568_Linux_fs/u-boot/arch/arm/dts/rk3368-evb.dts (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1/*
2 * SPDX-License-Identifier:     GPL-2.0+
3 *
4 * (C) Copyright 2018 Rockchip Electronics Co., Ltd
5 */
6
7/dts-v1/;
8#include "rk3368.dtsi"
9#include "rk3368-u-boot.dtsi"
10#include <dt-bindings/input/input.h>
11
12/ {
13	model = "Rockchip RK3368 Evaluation Board";
14	compatible = "rockchip,rk3368-evb", "rockchip,rk3368";
15
16	adc-keys {
17		compatible = "adc-keys";
18		io-channels = <&saradc 1>;
19		io-channel-names = "buttons";
20		keyup-threshold-microvolt = <1024000>;
21		u-boot,dm-pre-reloc;
22		status = "okay";
23
24		volumeup-key {
25			label = "volume up";
26			u-boot,dm-pre-reloc;
27			linux,code = <KEY_VOLUMEUP>;
28			press-threshold-microvolt = <1000>;
29		};
30	};
31};
32
33&crypto {
34	status = "okay";
35};
36
37&emmc {
38	fifo-mode;
39	bus-width = <8>;
40	cap-mmc-highspeed;
41	supports-emmc;
42	disable-wp;
43	non-removable;
44	num-slots = <1>;
45	pinctrl-names = "default";
46	pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
47	status = "okay";
48};
49
50&uart2 {
51	status = "okay";
52};
53
54&u2phy {
55	status = "okay";
56};
57
58&usb_host0_ehci {
59	status = "okay";
60};
61
62&usb_host0_ohci {
63	status = "okay";
64};
65
66&u2phy_host {
67	status = "okay";
68};
69
70&u2phy_otg {
71	status = "okay";
72};
73
74&usb_otg {
75	status = "okay";
76};
77