hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
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
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd.
 */
 
/dts-v1/;
#include "rv1126.dtsi"
#include "rv1126-u-boot.dtsi"
#include <dt-bindings/input/input.h>
 
/ {
   model = "Rockchip RV1126 Evaluation Board";
   compatible = "rockchip,rv1126-evb", "rockchip,rv1126";
 
   adc-keys {
       compatible = "adc-keys";
       io-channels = <&saradc 0>;
       io-channel-names = "buttons";
       keyup-threshold-microvolt = <1800000>;
       u-boot,dm-spl;
       status = "okay";
 
       volumeup-key {
           u-boot,dm-spl;
           linux,code = <KEY_VOLUMEUP>;
           label = "volume up";
           press-threshold-microvolt = <0>;
       };
 
       menu-key {
           u-boot,dm-spl;
           linux,code = <KEY_MENU>;
           label = "menu";
           press-threshold-microvolt = <1198828>;
       };
   };
};
 
&uart2 {
   status = "okay";
};
 
&emmc {
   bus-width = <8>;
   mmc-hs200-1_8v;
   status = "okay";
};