1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2021 Fuzhou Rockchip Electronics Co., Ltd. 4 */ 5 6/dts-v1/; 7#include "rv1126.dtsi" 8#include "rv1126-u-boot.dtsi" 9#include <dt-bindings/input/input.h> 10 11/ { 12 model = "Rockchip RV1126 Battery Evaluation Board"; 13 compatible = "rockchip,rv1126-bat-evb", "rockchip,rv1126"; 14 15 chosen { 16 stdout-path = &uart2; 17 u-boot,spl-boot-order = &spi_nor, &emmc; 18 }; 19 20 adc-keys { 21 compatible = "adc-keys"; 22 io-channels = <&saradc 0>; 23 io-channel-names = "buttons"; 24 keyup-threshold-microvolt = <1800000>; 25 u-boot,dm-spl; 26 status = "okay"; 27 28 volumeup-key { 29 u-boot,dm-spl; 30 linux,code = <KEY_VOLUMEUP>; 31 label = "volume up"; 32 press-threshold-microvolt = <60000>; 33 }; 34 }; 35}; 36 37&clk_out_ethernetm1_pins { 38 status = "disabled"; 39}; 40 41&emmc { 42 bus-width = <8>; 43 mmc-hs200-1_8v; 44 status = "okay"; 45}; 46 47&gpio1 { 48 status = "disabled"; 49}; 50 51&gpio3 { 52 status = "disabled"; 53}; 54 55&gmac { 56 status = "disabled"; 57}; 58 59&gmac_clkin_m0 { 60 status = "disabled"; 61}; 62 63&gmac_clkini_m1 { 64 status = "disabled"; 65}; 66 67&i2c0 { 68 status = "disabled"; 69}; 70 71&mdio { 72 status = "disabled"; 73}; 74 75&mtl_rx_setup { 76 status = "disabled"; 77}; 78 79&mtl_tx_setup { 80 status = "disabled"; 81}; 82 83&nandc { 84 status = "disabled"; 85}; 86 87&sdmmc { 88 status = "disabled"; 89}; 90 91&spi_nor { 92 spi-max-frequency = <148500000>; 93}; 94 95&stmmac_axi_setup { 96 status = "disabled"; 97}; 98 99&rgmiim1_pins { 100 status = "disabled"; 101}; 102 103&rng { 104 status = "disabled"; 105}; 106 107&uart2 { 108 status = "okay"; 109}; 110