1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * (C) Copyright 2018 Rockchip Electronics Co., Ltd 4 * 5 */ 6 7/dts-v1/; 8#include "rk1808.dtsi" 9#include "rk1808-u-boot.dtsi" 10#include <dt-bindings/input/input.h> 11#include <linux/media-bus-format.h> 12 13/ { 14 model = "Rockchip RK1808 EVB"; 15 compatible = "rockchip,rk1808-evb", "rockchip,rk1808"; 16 17 adc-keys { 18 status = "okay"; 19 20 u-boot,dm-pre-reloc; 21 compatible = "adc-keys"; 22 io-channels = <&saradc 2>; 23 io-channel-names = "buttons"; 24 keyup-threshold-microvolt = <1800000>; 25 26 vol-up-key { 27 u-boot,dm-pre-reloc; 28 linux,code = <KEY_VOLUMEUP>; 29 label = "volume up"; 30 press-threshold-microvolt = <10000>; 31 }; 32 }; 33}; 34 35&emmc { 36 fifo-mode; 37 bus-width = <8>; 38 cap-mmc-highspeed; 39 supports-emmc; 40 disable-wp; 41 non-removable; 42 num-slots = <1>; 43 44 status = "okay"; 45}; 46 47&uart2 { 48 clock-frequency = <24000000>; 49 status = "okay"; 50}; 51