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