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 chosen { 18 stdout-path = &uart2; 19 }; 20 21 xin24m: xin24m { 22 compatible = "fixed-clock"; 23 #clock-cells = <0>; 24 clock-frequency = <24000000>; 25 clock-output-names = "xin24m"; 26 }; 27 28 adc-keys { 29 u-boot,dm-pre-reloc; 30 compatible = "adc-keys"; 31 io-channels = <&saradc 2>; 32 io-channel-names = "buttons"; 33 keyup-threshold-microvolt = <1800000>; 34 35 vol-up-key { 36 u-boot,dm-pre-reloc; 37 linux,code = <KEY_VOLUMEUP>; 38 label = "volume up"; 39 press-threshold-microvolt = <10000>; 40 }; 41 }; 42}; 43 44&emmc { 45 fifo-mode; 46 bus-width = <8>; 47 cap-mmc-highspeed; 48 supports-emmc; 49 disable-wp; 50 non-removable; 51 num-slots = <1>; 52 53 status = "okay"; 54}; 55 56&sdmmc { 57 supports-sd; 58 status = "disabled"; 59}; 60 61&uart2 { 62 clock-frequency = <24000000>; 63 clocks = <&xin24m>, <&xin24m>; 64 clock-names = "baudclk", "apb_pclk"; 65 66 status = "okay"; 67}; 68