File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44#include "rk3128.dtsi"
55#include <dt-bindings/display/drm_mipi_dsi.h>
6+ #include <dt-bindings/input/input.h>
67
78/ {
89 model = "Rockchip PX3SE Evaluation Board";
1213 bootargs = "loglevel=7 root=PARTUUID=614e0000-0000-4b53-8000-1d28000054a9 rootwait";
1314 };
1415
16+ adc-keys {
17+ compatible = "adc-keys";
18+ io-channels = <&saradc 1>;
19+ io-channel-names = "buttons";
20+ poll-interval = <100>;
21+ keyup-threshold-microvolt = <1800000>;
22+
23+ reserved-key {
24+ linux,code = <KEY_RESERVED>;
25+ label = "reserved";
26+ press-threshold-microvolt = <1549000>;
27+ };
28+
29+ home-key {
30+ linux,code = <KEY_HOME>;
31+ label = "home";
32+ press-threshold-microvolt = <1314000>;
33+ };
34+
35+ esc-key {
36+ linux,code = <KEY_ESC>;
37+ label = "esc";
38+ press-threshold-microvolt = <985000>;
39+ };
40+
41+ menu-key {
42+ linux,code = <KEY_MENU>;
43+ label = "menu";
44+ press-threshold-microvolt = <623000>;
45+ };
46+
47+ vol-down-key {
48+ linux,code = <KEY_VOLUMEDOWN>;
49+ label = "volume down";
50+ press-threshold-microvolt = <300000>;
51+ };
52+
53+ vol-up-key {
54+ linux,code = <KEY_VOLUMEUP>;
55+ label = "volume up";
56+ press-threshold-microvolt = <18000>;
57+ };
58+ };
59+
1560 backlight: backlight {
1661 compatible = "pwm-backlight";
1762
418463 status = "okay";
419464};
420465
466+ &saradc {
467+ status = "okay";
468+ vref-supply = <&vcc_io>;
469+ };
470+
421471&sdio {
422472 cap-mmc-highspeed;
423473 cap-sd-highspeed;
You can’t perform that action at this time.
0 commit comments