1/* 2 * (C) Copyright 2017 Rockchip Electronics Co., Ltd 3 * 4 * SPDX-License-Identifier: GPL-2.0+ 5 */ 6 7/dts-v1/; 8#include "px30.dtsi" 9#include "px30-u-boot.dtsi" 10#include <dt-bindings/input/input.h> 11 12/ { 13 model = "Rockchip PX30 EVB"; 14 compatible = "rockchip,px30-evb", "rockchip,px30"; 15 16 chosen { 17 stdout-path = &uart2; 18 }; 19 20 dmc: dmc@20004000 { 21 u-boot,dm-pre-reloc; 22 compatible = "rockchip,px30-dmc", "syscon"; 23 reg = <0x0 0xff2a0000 0x0 0x1000>; 24 }; 25 26 adc-keys { 27 compatible = "adc-keys"; 28 io-channels = <&saradc 2>; 29 io-channel-names = "buttons"; 30 keyup-threshold-microvolt = <1800000>; 31 32 vol-up-key { 33 linux,code = <KEY_VOLUMEUP>; 34 label = "volume up"; 35 press-threshold-microvolt = <10000>; 36 }; 37 38 vol-down-key { 39 linux,code = <KEY_VOLUMEDOWN>; 40 label = "volume down"; 41 press-threshold-microvolt = <170000>; 42 }; 43 44 home-key { 45 linux,code = <KEY_HOME>; 46 label = "home"; 47 press-threshold-microvolt = <254000>; 48 }; 49 50 menu-key { 51 linux,code = <KEY_MENU>; 52 label = "menu"; 53 press-threshold-microvolt = <414000>; 54 }; 55 56 esc-key { 57 linux,code = <KEY_ESC>; 58 label = "esc"; 59 press-threshold-microvolt = <614000>; 60 }; 61 }; 62}; 63 64 65&emmc { 66 u-boot,dm-pre-reloc; 67 fifo-mode; 68 bus-width = <8>; 69 cap-mmc-highspeed; 70 supports-emmc; 71 disable-wp; 72 non-removable; 73 num-slots = <1>; 74 pinctrl-names = "default"; 75 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; 76 status = "okay"; 77}; 78 79&saradc { 80 status = "okay"; 81}; 82