1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2022 Rockchip Electronics Co., Ltd. 4 */ 5#include "rv1106-amp.dtsi" 6#include <dt-bindings/input/input.h> 7 8/ { 9 adc-keys { 10 compatible = "adc-keys"; 11 io-channels = <&saradc 0>; 12 io-channel-names = "buttons"; 13 poll-interval = <100>; 14 keyup-threshold-microvolt = <1800000>; 15 16 key_volumeup-key { 17 label = "key_volumeup"; 18 linux,code = <KEY_VOLUMEUP>; 19 press-threshold-microvolt = <0>; 20 }; 21 22 key_volumedown-key { 23 label = "key_volumedown"; 24 linux,code = <KEY_VOLUMEDOWN>; 25 press-threshold-microvolt = <400781>; 26 }; 27 }; 28 29 restart-poweroff { 30 compatible = "restart-poweroff"; 31 }; 32}; 33 34&fiq_debugger { 35 rockchip,irq-mode-enable = <1>; 36 status = "okay"; 37}; 38 39&gmac { 40 status = "okay"; 41}; 42 43&i2s0_8ch { 44 status = "okay"; 45}; 46 47&mpp_srv { 48 status = "okay"; 49}; 50 51&mpp_vcodec { 52 status = "okay"; 53}; 54 55&npu { 56 status = "okay"; 57}; 58 59&rga2 { 60 status = "okay"; 61}; 62 63&rkdvbm { 64 status = "okay"; 65}; 66 67&rkvenc { 68 status = "okay"; 69}; 70 71&rkvenc_pp { 72 status = "okay"; 73}; 74 75&rmii_phy { 76 bgs,increment = <0>; 77}; 78 79&rng { 80 status = "okay"; 81}; 82 83&rve { 84 status = "okay"; 85}; 86 87&tsadc { 88 status = "okay"; 89}; 90 91&u2phy { 92 status = "okay"; 93}; 94 95&u2phy_otg { 96 status = "okay"; 97}; 98 99&usbdrd { 100 status = "okay"; 101}; 102 103&usbdrd_dwc3 { 104 extcon = <&u2phy>; 105 status = "okay"; 106}; 107