/* * (C) Copyright 2018 Rockchip Electronics Co., Ltd * * SPDX-License-Identifier: GPL-2.0+ */ /dts-v1/; #include "rk3308.dtsi" #include / { model = "Rockchip RK3308 EVB"; compatible = "rockchip,rk3308-evb", "rockchip,rk3308"; chosen { stdout-path = "serial2:1500000n8"; }; adc-keys0 { compatible = "adc-keys"; io-channels = <&saradc 0>; io-channel-names = "buttons"; poll-interval = <100>; keyup-threshold-microvolt = <1800000>; vol-up-key { linux,code = ; label = "volume up"; press-threshold-microvolt = <18000>; }; }; adc-keys1 { compatible = "adc-keys"; io-channels = <&saradc 1>; io-channel-names = "buttons"; poll-interval = <100>; keyup-threshold-microvolt = <1800000>; esc-key { linux,code = ; label = "mute"; press-threshold-microvolt = <1130000>; }; home-key { linux,code = ; label = "mode"; press-threshold-microvolt = <901000>; }; menu-key { linux,code = ; label = "play"; press-threshold-microvolt = <624000>; }; vol-down-key { linux,code = ; label = "volume down"; press-threshold-microvolt = <300000>; }; vol-up-key { linux,code = ; label = "volume up"; press-threshold-microvolt = <18000>; }; }; vdd_log: vdd_core: vdd-core { compatible = "pwm-regulator"; pwms = <&pwm0 0 5000 1>; regulator-name = "vdd_core"; regulator-min-microvolt = <847000>; regulator-max-microvolt = <1366000>; regulator-init-microvolt = <1044000>; regulator-always-on; regulator-boot-on; status = "okay"; }; }; &emmc { cap-mmc-highspeed; mmc-hs200-1_8v; supports-emmc; non-removable; num-slots = <1>; status = "okay"; }; &pwm0 { status = "okay"; }; &saradc { status = "okay"; }; &u2phy { status = "okay"; }; &u2phy_otg { status = "okay"; }; &u2phy_host { status = "okay"; }; &usb_host0_ehci { status = "okay"; }; &usb_host0_ohci { status = "okay"; }; &usb20_otg { status = "okay"; };